OK, so I've created a lovely new shop in Wordpress using the Crafty Cart theme. I have created a report for it in Google Analytics, and pasted my Google Adsense ID using Adsense Optimizer.
Any help would be greatly appreciated.
There is an excellent Analytics plug-in for Wordpress that automates the process. This way you won't have to enter code at all - just for your information.
Yeah, there's several plug-ins that will do it for you.
Just in case you decide to do it manually instead, go to the Theme Editor and find the file named something like footer.php, then paste the code right above the /body html tag.
Hey there, well there are two ways that you could add analytics to your wordpress manually or with a plug-in:
Doing it the manual way
1. Well first Login wordpress admin panel
2. Then go toGoto Appearance > Editor (theme editor)
3. Now Select the footer.php or index.php
4. Look for and find the </body> html tag
5. Copy and page the Google Analytics code before the </body> tag. Make sure its before that tag
6. Now click Update File to save all the changes you made.
But if you swap wordpress themes you will loose your Google Analytics tracking. That is why the plugin is the better option.
Adding Google Analytics with the Header or Footer plugin
1. Download and install the Header-Footer plugin
2. Goto Settings > Header-Footer
3. Cut and paste the google tracking code in the bottom footer textbox.
Hope it was helpful
Ah, so it's the footer where it goes! Thanks Kerry and Hroger.
by Eileen Gamboa4 years ago
I just opened a Google Analytics account and posted all the necessary information for my HubPages; however a screen came up that says "This is your tracking code. Copy and paste it into the code of every page you...
by Mubin1238 years ago
My adsense impressions are fine, my analytics impressions are fine.The problem is that my adsense impressions are not showing up in my analytics account so I have no idea which pages generate which revenue.any idea on...
by Sondra Rochelle5 weeks ago
I got an email from Google tonight wanting me to set my tracking retention options. I got as far as "tracking info" but see no place that says tracking retention. Can someone help me with...
by Ben Guinter5 years ago
HubPages is a Ning site? Look at the bottom right in the footer...It looks like someone deleted some of the code that hid the fact that this has been a Ning site all along.I thought HubPages was its own platform,...
by JS Matthew6 years ago
Can you use the same Google Analytics ID (tracking code) for multiple websites?Do you need to create a new ID for each website/domain you have or can you use the same ID on all your sites?
by haroldi8 years ago
Copyright © 2018 HubPages Inc. and respective owners.
Other product and company names shown may be trademarks of their respective owners.
HubPages® is a registered Service Mark of HubPages, Inc.
HubPages and Hubbers (authors) may earn revenue on this page based on affiliate relationships and advertisements with partners including Amazon, Google, and others.