Google Analytics Appears to be showing twice as much

Viewed 17530

I just launched a website powered by Wordpress. I put the Google Analytics tracking code in my header, but for some reason it appears as if each visit might be double firing. I am getting things like a 0% bounce rate, and twice as many "pageviews" as "unique visitors."

http://www.super-average.com

Has anyone had experience with this and know what might be the problem? I've dug through the site and can't see why there might be a double instance. I also have webmaster tools installed, but that shouldn't cause a problem I would think.

Any help would be greatly appreciated, I'd be happy to paste any code that would be useful as well.

UPDATE: Sorry, header code is here. Though I just copied this from the GA site:

<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-33137300-1']);
_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);
})();

7 Answers

I had a similar problem with gtags.js. I was making a single page application and I followed the documentation : Single page application devguide

But, after a few try, I saw that the page_view event was duplicated. After some search, I found that the page_view event was fired when the history is modified or, in some case, I modifiy the history to "virtually" change the url of the current page. So, when I change the current page, a first event was sent when I fired it (manually like in the doc) and a second when the history was modified.

To disable this options, you can go in the parameters of your flux (Sorry, in french) :

option

Related