Zero Bounce Rate – Google Analytics loaded twice
-
I recently inherited a website using ocean-extra. I noticed they had a nearly zero bounce rate in Google Analytics and traced it to the GA code being called twice. It only occurs when the Ocean-Extra plugin is activated, and it happens regardless of the method I use to load the GA code. I’ve tried using a GA plug-in and putting it directly in a file on the site. It appears Ocean-Extra is trying to minify JS code and put it in the footer. See line 266+/- of ocean-exrta.php When it does this, it includes my GA code in the footer but also leaves it the original place… so it’s loaded twice. I commented out line 266 of ocean-exrta.php and it solved the issue, but this obviously isn’t a permanent fix. Any suggestions on how to fix this would be appreciated. <?php // echo Ocean_Extra_JSMin::minify( $output ); ?>
The page I need help with: [log in to see the link]
- The topic ‘Zero Bounce Rate – Google Analytics loaded twice’ is closed to new replies.