Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I have a webpage like

www.site.com/myaccount/foo/index.htm

I have complete control over the HTML on this page (e.g., I can insert a script). However, I have no control over the rest of the site. update: Note that I only want to have information on traffic to the page under my control. I have no interest in the traffic for the rest of the site. I'd particularly like to get an idea of referring URLs to the page under my control.

  • Will Google Analytics work on a single page under my control?
  • If not, are there other tools suited to monitoring traffic to a single page?

Note I saw this question but it did not seem to answer my question. Also, I'm not tied to using Google Analytics if another online system would work.

Specifically, I have added the google analytics tracking code to the page, but am still getting the error

Status: Tracking Not Installed 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.

This made me think that I might need to have access to www.site.com/index.htm

Update: After waiting another day, Google Analytics appears to have registered the tracking code. I presumably just had to wait a little longer.

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

You won't be able to monitor rest of the website if you have got access to just one section of the website. Analytics can log visits/activities only if the script is triggered and from what you have mentioned I am gathering you won't be able to insert your script to rest of the pages.

To answer your questions:

Will Google Analytics work on a single page under my control?

Yes, it will work for one page you have control over.

For rest of the domain:

There are a number of external websites though which are going to provide you with some information on the domain you want to monitor (nowhere near as extensive as google analytics though).

alexa.com (will let you see how much traffic entire domain gets and what are the incoming search terms)

share|improve this answer
    
Thanks. I only want to monitor my single page. I'm still getting "tracking not installed" in Google Analytics. and the message "The Google Analytics tracking code has not been detected on your website's home page." I've added a little info to my question –  Jeromy Anglim Jul 29 '13 at 4:49
    
Can you please 'view source' in your browser and see if the code you inserted is actually present there? –  vDog Jul 29 '13 at 5:00
    
Hmm. Yes. it is there. But interestingly, I just noticed that there is also another google analytics script just above it. As a side note, I have edited a default page that presumably already contained an existing google analytics script. Perhaps that is the problem. –  Jeromy Anglim Jul 29 '13 at 5:03
    
Yeah, sounds like your site administrator has already got a script running and perhaps disabled what you are trying to achieve. –  vDog Jul 29 '13 at 5:08
    
@JeromyAnglim Tracking code can be added by web servers too, like here with IIS. But if you have access to the other script, you might be able to add your account to it - see here –  dan Jul 29 '13 at 5:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.