General Question

gambitking's avatar

What's the best way to exclude a page from my Google Analytics?

Asked by gambitking (4201points) December 9th, 2010

My google analytics is running sitewide using the header file, and PHP include on the header. Now I have a page that I don’t want Analytics to track, what’s the best way to exclude the page?

Observing members: 0 Composing members: 0

3 Answers

grumpyfish's avatar

1. You could use an if statement in the header to check what page it’s being loaded through, and not present analytics in the header

2. You could have that page load a different header

anartist's avatar

Easiest way is to remove the tracking info from the page footer.

marcrapp's avatar

<meta name=“robots” content=“noindex,nofollow,noimageindex”>

<meta name=“robots” content=“noarchive”>

Put these in your head tags.

This will help you remove a URL all together:
URL removal tool

You can also create a funnel within your analytics to exclude the page itself.
You should be running to analytics services parallel to each other, as no service is 100% accurate.

Just a thought!

Answer this question




to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
Knowledge Networking @ Fluther