Analytics
1.7K members online now
1.7K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

Find out Where The Google Analytics Script Is Located on a Website

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I would like to change the Google analytics script on a PHP website, but don't know how to find where it is located and/or what file from which it has been inserted. Is there a tool or tools available to help me find that file?

1 Expert replyverified_user

Re: Find out Where The Google Analytics Script Is Located on a Website

Top Contributor
# 2
Top Contributor
Hi Gregg,

usually you get into the source code of your web pages, localize the Analytics tracking (by searching for ga.js, dc.js or analytics.js), figure out which CMS/blog template contains that tracking code, and go for editing that template.

Christoph