mmoonneeyy.info Environment TRACK PDF S GOOGLE TAG MANAGER

Track pdf s google tag manager

Monday, August 12, 2019 admin Comments(0)

A recent development project required a solution to tracking, within Google Tag Manager, users viewing PDF documents - which called for some exploring. On the surface, Google Analytics doesn't support file downloads in the form of tracking. Now, with the help of Google Tag Manager, marketers. Learn how to track file downloads as Events in Google Universal Analytics (UA) by using Google Tag Manager (GTM) and Auto Event Tracking. Let's say we want to track file downloads of PDF files across the website.


Author: CLASSIE STOTESBURY
Language: English, Spanish, Indonesian
Country: Bahrain
Genre: Business & Career
Pages: 492
Published (Last): 05.04.2016
ISBN: 736-7-43428-520-4
ePub File Size: 18.71 MB
PDF File Size: 14.69 MB
Distribution: Free* [*Regsitration Required]
Downloads: 35842
Uploaded by: ELADIA

Tracking a PDF download works a bit differently since a PDF file cannot Luckily , with the help of Google Tag Manager there is an easy way to. There are a few ways to track PDF Downloads in Google Tag Manager. However, for Click the link the below to see how a PDF is displayed the browser. TEST. Do you need to track downloads, like PDFs, Ebook, or whitepapers on your Automated download tracking; Google Tag Manager downloads.

Google Analytics was not the only piece of JavaScript tracking we needed to take care of; we also have other tracking scripts on the site which are just as important to the client, and unfortunately these do not support a server-side solution. This is called: Instead, video views, shares, downloads and leaving a comment are just some examples of events that would be good indicators. Google Tag Managers Variables, previously called Macros, are a powerful feature that can capture all sorts of events and information from a page. So, why did we change?

Well you mask why we track PDF as pageview and not downloads or events, well the answer is simple, most of us nowadays are not really downloading pdf files on a website but rather we read the pdf file from the website using the native pdf reader that our browsers have.

See image below. Since we want to track pdf clicks only and not only clicks we must create some filters and rules to our triggers. As an overview please see image below:.

Pdf manager google track s tag

Then, Choose Event as Click this is because we want this trigger to fire if someone is clicking on your website.

On Configure Trigger select Link Click — of course because we only want to track link clicks and not all clicks.

Tracking PDFs with Google Tag Manager

To make it more straightforward I will provide the screenshot again of the output:. Now set the More Settings and Field to Set. We have explored several solutions to this problem, which are covered in this blog post along with their individual merits and limitations. Which of these is best for your requirements, however, might not be what was best for us, and in fact might be something else entirely.

Track File Downloads in Google Analytics using Google Tag Manager

The main problem with tracking PDFs is that the tracking codes used by the client rely on JavaScript, and when requesting the PDF file from the website there is no JavaScript, just the file which is to be downloaded. This satisfied all the tracking requirements, as the tracking code snippets were brought in on this page as they are on every other page, and most users would not notice any difference in the experience when reading documents.

S tag pdf manager google track

However, it would present a problem if users tried to save or print using the browser menu. For security reasons, developers cannot override the browser's functionality when users use these features.

S track tag manager google pdf

Another route we explored was pdf. However, its browser compatibility was unacceptable for our needs, and pdf.

Track PDF Downloads in Google Tag Manager - AbsentData

The pros and cons otherwise are the same as the embedded PDF solution. The measurement protocol for Google Analytics allows us to send data to Google Analytics server-side, without the need to use JavaScript.

Pdf manager google tag track s

Using this we were able to send all the data to Google Analytics with a small amount of server-side code, before returning the PDF file to the user. This meant that the PDF could be viewed natively by any device which accesses it, and we were able to track all we needed. While this was great, and seemed to solve all the issues, there was a problem.

Google Analytics was not the only piece of JavaScript tracking we needed to take care of; we also have other tracking scripts on the site which are just as important to the client, and unfortunately these do not support a server-side solution.

This ruled out the Analytics Measurement Protocol. Finally, we created an interstitial page, which would always appear before accessing the PDF file.

Other books: GOOGLE ADWORDS PDF

This is commonly used for advertising space or, as in our case, to take care of some JavaScript business! June 19, by seeWorks Team.

Sometimes you want to track file downloads and show many times users download particular files like newsletters and application forms as these act as micro conversions or steps along the path to your major conversions and business goals. If you are an SEO Company looking to set this up for a client, this is particularly helpful because you can avoid having to wait for developers and get this setup fairly quickly.

In the past, you had to create Auto Event Variables to capture the information we need from the page as User Defined Variables. In this post we have shown you how to track file downloads in Google Analytics from anywhere on the site, and dynamically capture the name of the document using GTM V2 and Auto Event Tracking.

Hopefully you can see that if you have a large number of downloads, this is a quick way to setup tracking for them. Google Tag Managers Variables, previously called Macros, are a powerful feature that can capture all sorts of events and information from a page.

The new GTM V2 interface has made the most common ones built in and even easier to use. And at least once a week we heard from a potential client that had a bad experience with an SEO company and either asked us to clean up after the mess, or they were genuinely relieved when we showed them how straight forward and transparent we were in providing our services. In fact, many said we were the best SEO company that they had come across, even before they became a client.

Well, we are honest, transparent and we documented everything that we promised to do, ticking off what was done, on site and off site. And we delivered results that were measurable, quantifiable and tangible.