Location: Report a Bug

Discussion: Google Analytics code won't takeReported This is a featured thread

Showing 6 posts

lazespud
Google Analytics code won't take
Dec 21 2007, 5:21 AM EST | Post edited: Dec 21 2007, 5:21 AM EST
I've followed the instructions exactly, gotten my code from google analytics, posted in the proper spot on wetpaint, but it doesn't "take" when I upload it. I've confirmed this by examing my source codes for the page. What's going on here? Am I doing something wrong?

Thanks
Do you find this valuable?    

Jason_wetpaint
1. RE: Google Analytics code won't take
Dec 21 2007, 12:31 PM EST | Post edited: Dec 21 2007, 12:31 PM EST
Do you get an error message? I've just confirmed with a new wiki and a new google analytics account that everything is working. Do you find this valuable?    

Posted Anonymously
2. RE: Google Analytics code won't take
Dec 21 2007, 1:06 PM EST | Post edited: Dec 21 2007, 1:06 PM EST
Nope, I i didn't get an error message. I'll do it again and see exactly what it's doing, but it's my impression that gave me a confirmation page that it took... but I can't remember. I'm taking off for a bit, but I'll check it and reply... thanks! Do you find this valuable?    

Posted Anonymously
3. RE: Google Analytics code won't take
Dec 21 2007, 5:14 PM EST | Post edited: Dec 21 2007, 5:14 PM EST
OK I'm back and just tried it again. This time (and possibly the previous time) it says that "my code does not appear to be valid."

Here's code taken straight from google analytics:

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-92584-2");
pageTracker._initData();
pageTracker._trackPageview();
</script>


Thoughts?
Do you find this valuable?    

Jason_wetpaint
5. RE: Google Analytics code won't take
Dec 21 2007, 6:08 PM EST | Post edited: Dec 21 2007, 6:08 PM EST
I see. Use the Legacy Tracking Code instead of the New Tracking Code. Do you find this valuable?    

Posted Anonymously
6. RE: Google Analytics code won't take
Dec 22 2007, 1:11 AM EST | Post edited: Dec 22 2007, 1:11 AM EST
Great, that took. Thank you very much.

If your newer implementations allow the inclusion of the new ga.js code, it would be great...

Thanks for solving this,,,
Do you find this valuable?    

Related Content

  (what's this?Related ContentThanks to keyword tags, links to related pages and threads are added to the bottom of your pages. Up to 15 links are shown, determined by matching tags and by how recently the content was updated; keeping the most current at the top. Share your feedback on Wetpaint Central.)