Turning off a section of code in html with something like an if statement

Doomie

I have a live site and I have to keep working on it on a live site, which means I am viewing the page a lot.

I am wondering if there is a way of using like an if statement in HTML that I can turn off the google analytic's code so it doesn't mess up our reports? So I can simply change a value on the page (like a TRUE/FALSE) so I can work on it to my hearts content and I don't ruin the analytics.

Xavier J

The better approach is to have Google analytics filter out your IP address.

https://support.google.com/analytics/answer/1034840?hl=en

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related