Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Google-analytics in the doc
QtWS25 Last Chance

Google-analytics in the doc

Scheduled Pinned Locked Moved Qt Creator and other tools
6 Posts 4 Posters 3.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MichelS
    wrote on last edited by
    #1

    Hi there,

    Im using the fine qt integration into Visual Studio. Every time I open the
    help (which is really helpfull!) pushing F1 or opening an other topic in the documentation
    a nasty warning message pops up to tell me theres an syntax error on this page.

    I've some [1] screen shots [2] for you to illustrate this issue.
    I don't think it's necessary to have google analytics in the local docs.
    Call me paranoid but I think google already knows enough.

    Two questions:
    One for the trolls: Why is google analytics in the docs?
    And one for all of you: Any ideas how to get rid of this annoying warning message?

    [1] http://tinypic.com/r/5pr38k/7
    [2] http://tinypic.com/r/11si6gw/7

    btw: I'm not sure if this is the right sub forum. So please move me if you feel so.

    1 Reply Last reply
    0
    • X Offline
      X Offline
      xsacha
      wrote on last edited by
      #2

      From what I understand, these are the offline docs and don't include any Google Analytics scripts (from a quick search). For instance, you should be able to load those without having an internet connection.

      Do any other ms-help:// links give this error? Such as pressing F1 when you are on the Windows Desktop.

      It could be related to Visual Studio..

      • Sacha
      1 Reply Last reply
      0
      • M Offline
        M Offline
        MarPan
        wrote on last edited by
        #3

        As far as i know, vs always tries to load online documentation first, unless configured otherwise. If it does so, and if there are some google analytics scripts on qt docs page, they may crash because they are not prepared to be run in vs help tool.

        This is only my guess, but check if you are really opening local documentation and not the online one.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          MichelS
          wrote on last edited by
          #4

          Thank you for your anwers and ideas.

          I can't reproduce it anymore. Very strange.
          But to answer your questions:
          It was only inside the qt docs, when exploring them with the MS Document Explorer.
          I don't know what the selection of 'online first', 'local than online' or 'only local' was.
          I guess it was 'first local than online'

          How ever, if you select 'show source code' from the context menu and scroll to the bottom of any QT related document you'll find this piece of code bellow (I didn't find it in the other parts of the documentation from MS):

          @
          < script type="text/javascript">
          var _gaq = _gaq || [];
          _gaq.push(['_setAccount', 'UA-4457116-5']);
          _gaq.push(['_trackPageview']);
          (function() {
          var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
          ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
          var s = document.getElementsByTagName('script')[0]; s[removed].insertBefore(ga, s);
          })();
          < /script >
          </body>
          </html>
          @

          1 Reply Last reply
          0
          • M Offline
            M Offline
            MichelS
            wrote on last edited by
            #5

            I've googled for that account number. It's somehow related to QT

            "google: UA-4457116-5":www.google.de/search?q=UA-4457116-5&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:de:official&client=firefox-a

            1 Reply Last reply
            0
            • M Offline
              M Offline
              mgran
              wrote on last edited by
              #6

              [quote author="MichelS" date="1291281951"]One for the trolls: Why is google analytics in the docs?
              [/quote]

              They shouldn't be in the offline doc, but the Google Analytics code was included in a beta/snapshot of Qt Creator offline documentation earlier. I have to segment some data out of my web statistics due to the "fake" pings it generates. I was told it got fixed for Qt Creator - but you are using the VS integration - I'll have to check.

              As to why we collect stats on our websites? In the end it's to make better Qt websites for everyone. Not a day goes by without someone wondering if their page got a better bounce/exit rate after some changes, how much the traffic from China went up the last week, is IE6 dead yet, what are people searching for etc. If you want to know more please consult our "privacy policy":http://qt.nokia.com/about/privacy-policy.

              [quote author="MichelS" date="1291289752"]I've googled for that account number. It's somehow related to QT

              google: UA-4457116-5[/quote]

              Yep, it belongs to Qt.

              Project Manager - Qt Development Frameworks

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved