Now you can start analyzing the newly collected data in the Events reports from your Google Analytics account or you could use a tool like KPIBees to import the data in Google Spreadsheet for a more granular analysis.
If you have any question regarding this tracking, ask us it in the comments below. Google Tag Manager is an excellent resource. Thanks for sharing. This really simplifies things and allows those who are unfamiliar with Tag Manager to really benefit from this valuable resource. Indeed, GTM can seem complicated at first, but with time and some practice it gets easier and easier to deploy tags and tracking using it. If you are referring to embedding the PDF document in a dedicated landing page, then yes, this should be good.
And since each time a user goes to that landing page, the PDF file is displayed, you could count pageviews to that landing page as views of the PDF document. I created a new GA4 property, added it via Tag Manager to a couple of small WordPress sites, and it appears to be working in general. I need to see the file titles and number of downloads for each title, not just an aggregate number of downloads across the entire site.
My ultimate goal, really, is to upgrade to GA4 across our various sites in order to track file downloads PDFs mainly without having to resort to using Tag Manager. Is this possible with the new GA4 by just upgrading to this newer version? We simply want to see if files we spend time creating for the citizens are being accessed and are useful to people.
We use cookies to ensure that we give you the best experience on our website. Find out more in our Privacy Statement. This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings. If you disable this cookie, we will not be able to save your preferences.
Any idea how to track direct links to a PDF file? Everything above makes sense from a link click perspective, but how would you handle someone taking your PDF link and posting it online and then as a website owner, knowing how many people not only see the PDF from link clicks, but also from direct traffic?
Super helpful. I'm applying for jobs and have a resume link on my website-now I can see how often it has been clicked. Thank you so much for this really clear explanation!
I've not used GTM before and was quite confused about how to go about tracking downloads and getting it hooked up properly with Google Analytics.
With your super clear step-by-step guide I've now got it up and running in no time. I really appreciate the effort you've put into this. I was wondering. Why did you choose page url as a label and not the click label?
Also what is the use of the delay and page path condition? Just curious :. If you click a link and then the user is redirected, GA might not have enough time to send the data if PDF is opened in the same window.
If you want to give it more time to send the data, you can use Wait for tags. This applies not only to GA tags but to all tags. Yes I saw, I think you misunderstoond me. Why would you use page path and not the 'click text'? The page path can always be found since it's recorded when the event is triggered. The click text most times has a better name to recognize what has been clicked :.
Thanks for the answer. Would you say: no harm, no foul? This is up to you. I just showed an example. If I wanted to create a goal based on a click of particular URL just on the particular page, then Page Path would be useful.
To sum up: your naming convention depends on your needs. Imagine delaying every link click for up to 2 seconds. That impacts the UX. I feel totally inadequate. Full disclosure, I'm a novice that goes to the Google school of how do I do this for all my instruction.
Great set of instructions really clear, unfortunately I just cannot get either a simple ahref link, or button link to a pdf doc download to trigger at all. Can you think why this may be the case? Other tracking tags work ok. On my site, all my PDFs open in new windows, so I'm not seeing my tags trigger properly. Any suggestions to fix that? However,after creating the event I'm just not seeing any activity in GTM preview mode that indicates that the event I'm watching for is firing.
How i do? How do i do to track a specific page on my website or landing page? Click, scroll etc. Your email address will not be published.
Save my name, email, and website in this browser for the next time I comment. Notify me when new comments are added. Using Google Analytics 4? Track other files too! Ask for a dataLayer. Julius Jul 10 Reply You're welcome! Rick Jul 27 Reply I was afraid of that. Thank you for confirming Julius. Gaby Sep 16 Reply Super helpful. Tim Taylor Oct 1 Reply Thank you so much for this really clear explanation!
Wilco Oct 8 Reply I was wondering. Julius Fedorovicius Oct 8 Reply 1. Wilco Oct 8 Reply Hi Julias, 1. The click text most times has a better name to recognize what has been clicked : 2.
Robert Sylvester Nov 27 Reply I feel totally inadequate. Rob B Dec 8 Reply Great set of instructions really clear, unfortunately Julius Dec 8 Reply It can be anything.
More information is needed. Bob Jan 23 Reply Great guide. I love the detail. What could be going wrong? Vess Feb 7 Reply Very helpful, thank you sir! Rich Mar 3 Reply Hey, You've turned me into a complete novice to a beginner! Had results from your instruction within minutes. Website bookmarked. Thank you. Julius Fedorovicius Oct 12 Reply 1. You cannot track how people use your PDF files e.
You use a variable Page URL in the trigger e. Page URL contains xxxxx. Leave a comment Cancel reply Your email address will not be published.
0コメント