AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

2.9K members online now
2.9K 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

Unable to track HTML pages

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi Team,


In our ASP.NET application, we can see all aspx pages but when we call the Google Analytics in HTML pages, they are not ebeing tracked. Please advise.




Re: Unable to track HTML pages

Explorer ✭ ✭ ☆
# 2
Explorer ✭ ✭ ☆
I am going to wager a guess here, but Google Analytics is probably configured to execute as part of a script for the ASP.NET pages, which usually are based on PHP. If I am right, then your plan HTML pages don't have the script in the head of the code since they are not generated dynamically like the ASP.NET ones.

Go to you Google Analytics Admin and in the center column Tracking Info > Tracking Code, copy and paste this into the head of the HTML pages and it should work.