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

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

Adding analytics tracking in CMS templates

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

We use a CMS to house and edit our HTML pages. The HTML pages are built from templates and use a CSS for the site. How and where do I add code to track the pageviews and documents that are linked within the pages?

 

The documents on our site are also input using a document template but are de-identified through a blob server once on production. We need to track the documents but dont know how. When hovering over the link it shows that the URL is "javascript:loadDocument(url_assetID#). 

 

PLEASE HELP!

1 Expert replyverified_user

Adding analytics tracking in CMS templates

Top Contributor
# 2
Top Contributor

Hi,

 

Please check the document below about setting up Google Analytics on a website:

 

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

 

Basically you need to add the tracking code to your template so it will appear on all of your pages.

If you can share more details about your setup or if you can post your site URL I'll be able to be of more help.

 


Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital