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 am using Google Analytics app from cloudflare which is awesome and they manage it to cover everything even the error pages and I like that but there is one page and one page only that I don't want it to be covered. How can i stop the Google Analytics from monitoring it?

share|improve this question
    
Please proper punctuation and capitalization. This isn't texting or chat. –  John Conde Oct 20 '13 at 17:01
    
so sorry Mr. John but English isn't my first language that's why i'm not that good at it and thank you so much for stopping by –  Tarek Ezzat Oct 20 '13 at 17:30

2 Answers 2

up vote 2 down vote accepted

Login to Google Analytics and select the view in question.

Top right click admin > filters > new filter > custom filter

You could use page title if it's a unique title - just enter the title in the filter text box.

Or you could filter the URL by typing in all or part of the URL.

Screen shot attached.

enter image description here

share|improve this answer
    
thank you so much for your help and time have a nice day –  Tarek Ezzat Oct 20 '13 at 18:21
    
you're welcome! –  Doug Firr Oct 21 '13 at 1:38

You can also wrap your Google analytics code in a conditional statement pseudo php code using a page ID from a dynamic website. You may also use the current URL path in place of a page ID for static pages. This will prevent tracking code from firing on the page you do not want to track

<?php

$dt = 123; // The page ID if available of the page to NOT track

if($current_page_id != $dt){
...show analytics code
}
?>
share|improve this answer
    
This does not answer the question, as Cloudflare adds the Google Analytics code independent of the server side. @Doug Firr is the way to go –  mastergalen Oct 26 '13 at 22:46

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.