Analytics
4.9K members online now
4.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
star_border
Reply

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.

 

Thanks

Ravindra

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. https://analytics.google.com/analytics/web/#management/Settings/