Forum search & shortcuts

Google analytics qu...
 

[Closed] Google analytics query

Posts: 2481
Free Member
Topic starter
 
[#3934303]

I have a hosting package set up with 123reg and I have a couple of sites under the 'Domain Mapping' option.

My question is...that I am trying to add google analytics to one of the sites, but the google interface/control panel is showing...

Tracking Status Tracking Not Installed Last checked: May 2, 2012 1:49:20 AM PDT
The Google Analytics tracking code has not been detected on your website's home page. For Analytics to function, you or your web administrator must add the code to each page of your website.

Any help please?


 
Posted : 02/05/2012 9:49 am
Posts: 5300
Full Member
 

You need to embed the code from Google Analytics into the website itself.


 
Posted : 02/05/2012 9:51 am
Posts: 2481
Free Member
Topic starter
 

You need to embed the code from Google Analytics into the website itself.

The code has been added to all the pages.


 
Posted : 02/05/2012 9:53 am
Posts: 251
Full Member
 

can you see the code in the pages as they are delivered?

ie. do a view source on a page and see it in there?


 
Posted : 02/05/2012 9:55 am
Posts: 2481
Free Member
Topic starter
 

Yes its in the source code.


 
Posted : 02/05/2012 9:58 am
Posts: 5300
Full Member
 

You should have < script > tags around your code (can't remember if Google provide these)? Opening and closing.

As wwas says, view source on a page, make sure the code is there and live.

It does take about 24 hours to get any results back.


 
Posted : 02/05/2012 10:01 am
Posts: 2481
Free Member
Topic starter
 

The script tags are in place, checked source code.

Under 'Website Tracking' it displays date and time of last check which is....

'Tracking Not Installed Last checked: May 2, 2012 2:05:32 AM PDT'

I understand there would be no results for a while, but there wont be any results if the website tracking is not detected, correct? 🙂


 
Posted : 02/05/2012 10:09 am
Posts: 251
Full Member
 

are you prepared to share the url?


 
Posted : 02/05/2012 10:10 am
Posts: 2481
Free Member
Topic starter
 

Just double checking the code goes inside the </head> tags, correct?


 
Posted : 02/05/2012 10:10 am
Posts: 0
Free Member
 

No, put it before the </body> tag. Except in a few cases.


 
Posted : 02/05/2012 10:17 am
Posts: 2481
Free Member
Topic starter
 

No, put it before the </body> tag. Except in a few cases.

Google states head tags?

2. Paste this code on your site
Copy the following code, then paste it onto every page you want to track immediately before the closing </head> tag.


 
Posted : 02/05/2012 10:17 am
Posts: 5300
Full Member
 

Should be fine in your head tag. It used to be common practice to put it before the end of the body but Google will see it the same either way.

The actual code is in there? You haven't got XXXXXXXXXXX.


 
Posted : 02/05/2012 10:21 am
Posts: 0
Free Member
 

If you're not using frames or javascript that will interfere then before the </body> tag is fine.

Also from Google...

Implementing the code
Once you find the code snippet, copy and paste it into the bottom of your content, immediately before the </body> tag of each page you are planning to track

Either way, if Analytics can't find it then it's copy and pasted wrong, in the wrong place or the wrong code for the type of page.


 
Posted : 02/05/2012 10:22 am
Posts: 2481
Free Member
Topic starter
 

That's how I remember it....putting it in by the body tag...

I just wanted to double check...I'm going square eyed 😕


 
Posted : 02/05/2012 10:25 am