I've had a site online for a few weeks, and Google Analytics is working fine. Except Goals, which are not registering for some strange reason.

To be clear: visits to the site are being registered, but no goals are being registered. This is not correct, as people are visiting the goal pages.

I've set up two pages specifically to test this, Funnel Page and Goal Page. (You can visit these, but please do not visit any other pages on the site, as I am performing an experiment and SO referrals would taint results).

Below is a screenshot of Profiles > Goals on Analytics.

What I have set up

Can you see any obvious mistakes I have made? I think I must have missed something really obvious, as this is my first time using Analytics, but I must get this fixed ASAP. It's driving me crazy.

1 Answer 1


Is step 1 required? Or can people click thru to the Goal URL from another area of your site?

Your Analytics tracking script is outside your <body> tag, it's even outside your <html> tag

  • As shown on the screenshot, the 'Required step' checkbox is un checked. So I think that the answer to your question is no, step 1 is not required.
    – Adjam
    Commented Mar 14, 2012 at 10:26
  • I updated my answer fix your js
    – Anagio
    Commented Mar 14, 2012 at 10:33
  • Thank you for your updated answer. Visits to the site are registering despite this, however maybe this could stop goals from registering. I have now moved the analytics tracking code to be inside the <body>. I will update the question tomorrow to report if any goals have/ have not registered.
    – Adjam
    Commented Mar 14, 2012 at 10:44
  • It worked! I knew I just missed something dumb like that. So if your analytics javascript is outside the <html> tags the hits count but the goals don't register. Thank you so much!
    – Adjam
    Commented Mar 15, 2012 at 11:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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