Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

[SOLVED] Google Analytics Placement


  #1  
Old Apr 23, 2014, 09:02 AM
RHCdG
 
162 posts · Nov 2009
Netherlands
Hi,

I placed the Google Analytics code in the appropriate box under ATO>Add HTML/CSS Inserts>HTML Inserts: Header, but no data is being recorded even though the GA Overview page states that data is being received.

I don't know if there is any relation but when I check the Javascript console in Chrome, an error is reported: "Uncaught SyntaxError: Unexpected token" for line 1152 in the Index, which I think might be the location of the script?

My site is http://www.cornetsdegroot.com/

Any help is much appreciated.

Thanks,
Rutger

Last edited by RHCdG; Apr 23, 2014 at 09:07 AM. Reason: Specifying error message
  #2  
Old Apr 23, 2014, 10:19 AM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
I see you are using version 3.5.3 of Atahualpa which is about 4 years old. I'm not sure if that is the issue but I would want to get that current.

What version of WordPress are you running? Are all the plugins up to date?

Double check the syntax of the analytics code and perhaps try deactivating the plugins to see if there is a conflict.

To upgrade I would.
  • Take a backup of the site
  • Download the atahualpa353/images folder so you can transfer the images into the new locations after upgrading.
  • Just install atahualpa (don't do an update) This will put the new version in the atahualpa folder. Once you set your relative paths for images in the theme options you will now be able to upgrade without saving images.
After that is all done see if analytics is working properly. If not you at least know it is not a needed update.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Apr 24, 2014, 07:33 PM
RHCdG
 
162 posts · Nov 2009
Netherlands
Hi Miles,

Thanks for your response. I finally got round tonight to upgrade from Atahualpa 3.5.3 to version 3.7.15. I don't know if GA is working yet but the trasfer seems to have worked out alright, except for one thing: in the backend it says that I am running version 3.7.9 instead of 3.7.15. Do you know about this?

I'll check back tomorrow to see if GA has kicked in. Thanks for now.

Rutger
  #4  
Old Apr 24, 2014, 07:58 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
I'm not sure why it would say version 3.7.9. I will check into it.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #5  
Old Apr 25, 2014, 08:35 AM
RHCdG
 
162 posts · Nov 2009
Netherlands
Hi again Miles,

I have both Atahualpa versions (3.5.3 and 3.7.15) in the themes folder as well as the twentyfourteen theme. Upon deleting the 3.5.3 folder, the website goes blank. Like I said, however, under ATO it says it's running 3.7.9 where it always used to say 3.5.3. I am at a loss why this would be.

Thanks,
Rutger
  #6  
Old Apr 25, 2014, 08:40 AM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
Atahualpa 3.7.15 should be in a folder just named atahualpa so that future updates can occur without having to move images. If you just install (not update) as I mentioned that is where it should go. Read through my instructions on the previous message to see what I mean.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #7  
Old Apr 25, 2014, 08:49 AM
RHCdG
 
162 posts · Nov 2009
Netherlands
I did not use the update utility but manually installed 3.7.15. However, are you saying I should rename the current "atahualpa3.7.15" folder to simply "atahualpa"? Let me try that.
  #8  
Old Apr 25, 2014, 09:10 AM
RHCdG
 
162 posts · Nov 2009
Netherlands
Just to make sure, Miles, is this the correct path for the header images in atahualpa 3.7.15?

../wp-content/themes/atahualpa/atahualpa/images/header/
  #9  
Old Apr 25, 2014, 10:54 AM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
Quote:
Originally Posted by RHCdG
Just to make sure, Miles, is this the correct path for the header images in atahualpa 3.7.15?

../wp-content/themes/atahualpa/atahualpa/images/header/
The correct path depends on your settings but the suggested settings would mean the header is in the wp-content/ata-images/header folder all the other images would be in the wp-content/ata-images folder. This is if you set "Relative location of images?" to wp-content and "Images Directory" to ata-images. Your theme should not be in an atahualpa folder that is within another atahualpa folder. It should just reside in the themes folder.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Last edited by juggledad; Apr 25, 2014 at 11:27 AM.
  #10  
Old Apr 25, 2014, 04:26 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
I wasn't aware you had a multisite setup. I'm not very familiar with multisite setups and how the interplay with Atahualpa would work as I have never played with that type of setup.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #11  
Old Apr 25, 2014, 04:32 PM
RHCdG
 
162 posts · Nov 2009
Netherlands
Oops, sorry Miles, I just deleted my previous message as I just figured the favicon bit out by myself (by playing around a little). Thanks for all your help so far!

Now for the bad news... Google Analytics, which is why we started all this, still is not showing any updates. I do run the latest version of Wordpress and of all my plugins, fourteen in total. How can I diagnose this thing?
  #12  
Old Apr 25, 2014, 05:08 PM
RHCdG
 
162 posts · Nov 2009
Netherlands
I won't delete any more posts but I think I got GA working now as well, albeit not through ATO but using the Tiny Google Analytics plugin.
Thanks a lot for your time and support!

Bookmarks

Tags
google analytics, uncaught syntaxerror, unexpected token

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google Analytics trescuatrotres Montezuma Theme 5 Apr 3, 2013 04:32 AM
Where do I put google analytics? daniel jones Header configuration & styling 17 Feb 1, 2012 08:51 PM
Another Google Analytics Question.. dilly Plugins & Atahualpa 2 May 27, 2009 09:50 AM
Google Analytics fratelli78 Atahualpa 3 Wordpress theme 1 May 21, 2009 07:12 PM


All times are GMT -6. The time now is 11:25 AM.


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