Tagged: Google Analytics Tracking Code
I am using the latest version of Genesis and the Copyblogger child theme.
I am trying to run an experiment in Google Analytics and it tells me to put my Google Analytics tracking code AFTER the experiment code, so I tried to delete the Google Analytics tracking code from the wp_head() box in the Genesis Theme head script box to the wp_footer() box but the code is still in the header of my pages.
How can I fix this problem so that I can run my experiment in Google Analytics?
You can use the scripts box on all edit screens running Genesis 2.0 or hook in the script using PHP code:
The Genesis > Theme Settings > Footer Scripts should load the script in the footer.
Volunteer who’s written 1814 tutorials & 3000+ Code Snippets
It looks fine to me. I wonder if your Super Cache just needed to clear.
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
I guess I just need to clear my cache - I see it is working now.
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!