Analytics
1.5K members online now
1.5K members online now
Learn how to set up goals and Ecommerce tracking, verify accuracy of attribution traffic sources, and discuss funnel visualization, Multi-Channel Funnels, the Goal Flow Report, and Enhanced Ecommerce
 
Guide Me
star_border
Reply

Google cannot track my download clicks because my CMS is appending an ID to the file name

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

We are using Liferay Portal as our Content Management System.  I am trying to track the number of clicks of PDF file.  Liferay is attaching an ID, for example b0e35dbd-f2dc-445d-be0a-2530681d1a67 after the file type “..../portal-web/documents/WhoReadsInfographs.pdf/40d9fe08-02cb-4739-8621-d0ff0810230b 

so Google Analytics is not recognizing the download or click.  I understand that Google tracks downloads by the common file extensions such as .pdf, .ppt, .mp3, mp4, etc..   Question: Is there a way to exclude or eliminate the appended ID from the file name so we can only see the metrics from the PDF using the actual file name?

1 Expert replyverified_user

Google cannot track my download clicks because my CMS is appending an ID to the file name

Participant ✭ ☆ ☆
# 2
Participant ✭ ☆ ☆

Hi Dave,

 

Google analytics does not track downloads by default. I advice you to Google Analytics events to track your downloads. You can read more about google analytics events through following link.

 

About the appended ID on URL, this totally depends on implementation of your CMS.

 

I hope this helps.

Regards,

Güney

Google cannot track my download clicks because my CMS is appending an ID to the file name

Rising Star
# 3
Rising Star

Hey Dave,

 

Actually, GA does not, by default, track any downloads.  if you already have the tracking enabled (and it sounds like you do) then the only way to handle this is to either change the value of the page path prior to sending the hit (GTM would solve this easily), handle it with filters as the hit is processed, or perhaps, just use the page title dimension instead (if that's passed as a virtual pageview for download tracking).

 

More on filters:

 

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

 

Best,

 

Theo Bennett

Analytics Evangelist at MoreVisibility | Contact Me
Connect on LinkedIn