Posted on 1/2/2018 in Digital Marketing

This post was updated Jan. 2018 to reflect the most up-to-date information

Many websites contain important PDF assets, such as white papers or product manuals. Marketers can learn valuable information from knowing how many times these documents have been downloaded, but amazingly, on most websites, the clicks to these assets are not being tracked. When you don’t track clicks to downloads, it makes tracking the success of your collateral, and your conversions from said collateral extremely difficult.

If you don’t currently have PDF click tracking set up, do not worry, it is simple and easy to accomplish with two free tools: Google Tag Manager and Google Analytics.

Follow these three steps to start recording this key performance indicator for your regular reports. If you already have Google Tag Manager installed, skip to Step Two.

Step One:

Create a Google Tag Manager account After you have created the account find your “container” code and place it on every page.

Google Tag Manager Container Code

Step Two:

After placing the Container tag code on your pages, you can create a trigger. To do that, in tag manager, go to the menu and click on “Triggers”,  select “New”, then “Choose trigger type”, select "Just Links" and add the regular expression shown in the screen capture below:

tag manager screen shot

Step Three:

Once you have created a trigger, you need to create a tag to fire the trigger. Go to the main menu, click on “Tags”  and create a Tag to fire on the above trigger by entering Choose Product = Google Analytics, choose tag type = Universal Analytics, and then you are ready to configure the tag.

To configure the tag, choose tag type = Universal Analytics, then add your Tracking ID or UA code. Then choose track-type = Event, name your category so you can identify it easily in the reports, then choose the “Action” needed – in our case we want to name the action "Download". We will also add the label "{{Click URL}}" so that we can view the PDF path that users hit.

Finally, we have to tell our new Tag to fire on the trigger we created above. Thus, in the "Triggering" section we add the trigger "PDF Download". Save your tag, and publish.

google tag manager screen shot

And that is it! In a few easy steps, we can now track all clicks on PDF files present on the website via Events.

To check the validity of the trigger you can use Google Analytics reporting.  Just go to “Real-Time”, then “Events” and, if someone is clicking on your files you will see the Event Category/Action/Label you just created (note: if your IP Address is blocked in Google Analytics, you will not be able to see any Real-Time Analytics).

With the above event, you can start accumulating data in Google Analytics to create nice reports on the activity of your PDF files. PDF file downloads are a hugely important metric on how your target audience is engaging with your unique files and it shows how good your campaigns are and how strong your brand is.

Need Help Getting Started?

If you are facing some challenges with PDF reporting, or overall analytics solutions, contact us today. Our SEO experts can assist you with everything from planning to implementation.

Related Blogs

Universal Analytics Is Going Away And GA4 Is Here To Stay

Universal Analytics Is Going Away And GA4 Is Here To Stay

Since 2012 Universal Analytics (UA) has been the gold standard website performance tracker. Most of you that use Google Analytics are probably [...]

A website upgrade can drive success in transportation

A website upgrade can drive success in transportation

When people think of long-haul trucking, heavy shipping, or other sectors of the transportation industry, “cutting-edge online experience” may not be [...]

6 Ideas for Creating a Successful Healthcare Website

6 Ideas for Creating a Successful Healthcare Website

Healthcare websites face a unique balancing act of simultaneously conveying patient comfort and clinical prestige. If it’s done right, a website [...]