Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Where to post code snippet for Google Analytics with this theme?


  #1  
Old Aug 27, 2010, 09:55 AM
sjolyjuly
 
70 posts · Mar 2010
Where to post code snippet for Google Analytics with this theme?

Could find no clear, unambiguous description on GA, Wordpress or anywhere else. Lots of fog and contradictions. Where does the GA code go? In the theme? On the posts? Where on the page? Header? Footer? I am using version 3.4.6. Thanks.

  #2  
Old Aug 27, 2010, 11:13 AM
studioelle's Avatar
studioelle
 
40 posts · Mar 2010
Alabama, USA
There is a Google Analytics plug-in. I use it on my site and it works great. (Wordpress 3 and Atahualpa 3.5.3) This way you don't have to edit any theme files.
  #3  
Old Aug 27, 2010, 03:08 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
check out the 'Add HTML/CSS Inserts' options
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Aug 28, 2010, 10:02 AM
sjolyjuly
 
70 posts · Mar 2010
Quote:
Originally Posted by studioelle
There is a Google Analytics plug-in. I use it on my site and it works great. (Wordpress 3 and Atahualpa 3.5.3) This way you don't have to edit any theme files.
Thanks JD and studioelle. Much appreciated.

Another question: I have a GA account and I had installed the WP-GA plugin. I got strange GA numbers that didn't match WP stats. I'd like to uninstall GA and re-install WP-GA plugin. Is there any secret to uninstalling GA? Do I need to uninstall it or should I do something else to make the results of both plugins match?
  #5  
Old Sep 6, 2010, 12:36 PM
goonygoogoo
 
10 posts · Sep 2010
I put the code in the footer.php and that seems to be working for me.
  #6  
Old Sep 6, 2010, 01:06 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You can edit footer.php and add things there, but when you update the theme, you will lose the change and have to do it over. Adding it using the theme option will keep it around over theme upgrades.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by lmilesw; Sep 8, 2010 at 03:01 PM.
  #7  
Old Sep 8, 2010, 03:50 AM
unadoyle
 
4 posts · Sep 2010
Manchester, UK
Hi there

I'd like to add a widget for GA yet there's loads of them - which would you recommend and why please?

Also, if you install one widget and later install a different one will you lose the date that had been collected or will it all still be in the google analytics account?

Thanks very much.

Last edited by lmilesw; Sep 8, 2010 at 03:01 PM.

Bookmarks

Tags
google analytics



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add Google Analytics code TheSurvivalMom Forum How-To 3 Apr 15, 2011 02:58 AM
Does it matter if Google Analytics code is in the footer? seventhyearfalling Web Hosting for WordPress 4 Dec 20, 2009 12:05 AM
Aweber Autoresponder - how to add snippet code to wordpress theme racingprofits Sidebars & Widgets 0 Aug 24, 2009 12:02 PM
cant get rid of google analytics code since i updated to Atahualpa theme? 123davelee Sidebars & Widgets 8 Aug 15, 2009 10:49 AM
Google Analytics plug-in rendering error code. acemaker Plugins & Atahualpa 2 Jun 28, 2009 06:07 AM


All times are GMT -6. The time now is 04:32 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.