I’ve installed the Google Analytics for WordPress (by Yoast) plugin to my blog so I can track visitor stats. But I couldn’t get it to work because it needs to authenticate with Google to track the correct profile, and every time I click the button to authenticate with Google, the Google page tells me ‘Invalid token’. Not sure, but my guess it’s due to a https issue.
I tried the workaround to enter my UA code manually but there was no box to enter the code in until i find out that Adblock Plus was blocking the box.
Confirm that tracking is working
After entering the code you can do some simple checks to confirm that tracking on your blog is working as it should.
1) Check your site page source, you should find following code, make sure you haven’t ignored Administrator in Google Analytics for WordPress Advanced settings.
Show Google Analytics script
3) Ask a friend to visit your site and check Real-Time report in Google Analytics.