Support » Plugin: Jetpack by WordPress.com » which Javascript collects stats?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Jeremy Herve

    (@jeherve)

    Jetpack Mechanic

    If you check your site’s source code while being logged out of your account, you will find a few lines of Javascript right before the closing </body> tag, starting with <script src="$http://stats.wordpress.com/

    That’s the Javascript code you should add to your page. However, this code also includes references to the page or post ID, so you will have to be careful when adding that code to page that doesn’t have an ID (because it’s outside of your WordPress installation, if I understand correctly).

    But of course! I had looked at the code for a page but I dind’t think I should be logged out to se the script. I thought it would appear but not count me. But this makes more sense.

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘which Javascript collects stats?’ is closed to new replies.