homepage Welcome to WebmasterWorld Guest from 54.197.110.151
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
Forum Library, Charter, Moderators: Receptional & mademetop

Website Analytics - Tracking and Logging Forum

    
Need Ideas Troubleshooting GA Code In Wordpress
Planet13

WebmasterWorld Senior Member planet13 us a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



 
Msg#: 4444531 posted 6:11 am on Apr 24, 2012 (gmt 0)

Hi there, Everyone:

i was so happy to see my bounce rate drop significantly after moving lots of static pages over to wordpress.

My bounce rate on those bogs pages is low - I mean, real low... I mean, like 0%

Now, I love to fantasize that I have created the perfect content and that no one who comes across my material would ever want to bounce out of my site.

But alas, I believe it is much more likely to be some problem with the way GA is installed in my wordpress blog.

Does anybody have any ideas on how to troubleshoot GA when it appears to be tracing most metrics EXCEPT bounce rate?

Thanks in advance.

 

Planet13

WebmasterWorld Senior Member planet13 us a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



 
Msg#: 4444531 posted 2:15 pm on Apr 24, 2012 (gmt 0)

And of course I forgot to post the code. It is between the opening and closing head tags.

<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-1234567-8']);
_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.parentNode.insertBefore(ga, s);
})();

</script>

Planet13

WebmasterWorld Senior Member planet13 us a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



 
Msg#: 4444531 posted 7:22 pm on Apr 27, 2012 (gmt 0)

Got it figured out.

My theme was displaying the GA code TWICE.

had to edit the header.php file of my theme and change it there.

netmeg

WebmasterWorld Senior Member netmeg us a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



 
Msg#: 4444531 posted 12:40 pm on Apr 28, 2012 (gmt 0)

Save yourself the trouble and use the Yoast Google Analytics plugin. It does everything, and does it right.

Planet13

WebmasterWorld Senior Member planet13 us a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



 
Msg#: 4444531 posted 1:49 pm on Apr 28, 2012 (gmt 0)

Thanks for the tip!

there are SO MANY SEO plugins it was kind of difficult to know which one to use...

netmeg

WebmasterWorld Senior Member netmeg us a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



 
Msg#: 4444531 posted 3:15 pm on Apr 29, 2012 (gmt 0)

Anything with the name Yoast on it is more than a safe bet.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved