StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-04-2012, 09:58 AM
LonGlazner LonGlazner is offline
Registered User
Genesis Member
 
Join Date: Feb 2012
Location: Chico
Posts: 24
Default Google Analytics error message

Good morning,

I have installed Google Analytics code in the footer of my web site www.solutions-cubed.com using Genesis Simple Edits. I'm using Enterprise Theme and Synthesis hosting.

I have verified that the script code is present in the source code of the web site (with IE9 and Chrome). Below are the changes I made to the footer with our GA account number removed.

Code:
<div class="gototop"><p>[footer_backtotop]</p></div><div class="creds"><p>Copyright Solutions Cubed, LLC 2012</p></div>

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', '#account number#']);
  _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>
When using In-Page Analytics I sometimes get the following error message.


There does seem to be some tracking going on. I had origninally put the script in a text widget associated with one of the Enterprise Theme widgets, but also got this error, so moved it.

Has anyone else seen this message? Is there a better way to incorporate the GA code into my footer?

Thanks for the help.
 

Tags
google analytics tracking code

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fatal error in google analytics Christ General Discussion 5 10-10-2011 12:19 PM
Google Analyticator vs. Google Analytics Plugin? seth17 General Discussion 3 07-23-2010 03:35 PM


All times are GMT -5. The time now is 09:31 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.