Event Tracking for PDF Download

Event tracking is needed to identify what people are doing when they visit your website. Events like form fills, button clicks, link clicks to external websites or even PDF downloads help you identify what triggers certain user behavior and brings about more conversions. Every user action can be tracked using Google Tag Manager.

With Google Tag Manager, tracking events has never been easier. Development time is cut down drastically and you don’t need a developer every time you need to install a code as Google Tag Manager takes care of this. Once the setup is done (by placing the code on all pages of website) then no more code needs to be added.

PDF DOWNLOAD

Here we will go through a fairly simple method that can be adopted to track PDF downloads. Google Analytics tracks page views on the website with the help of a tracking pixel on HTML pages. But this is not the case when it comes to PDF downloads.

With the help of Google Tag Manager, we can easily track this information.

STEP BY STEP GUIDE TO TRACK EVENTS USING GOOGLE TAG MANAGER 

  1. The first step will be to install Google Tag Manager on your website. It is a fairly simple process. You will need to first create an account and container. You will also have to paste the Google Tag Manager code on every page of your website. Ensure that the first piece of code is placed as close to the opening <head> tag as possible and the second piece in the <body> tag.

2.The next step will be to create variables. Choose Variables from the left panel.

3.Click ‘Configure’ under the ‘Built-In Variables’ section

4.Ensure that all the ‘built in variables’ of the types; pages, clicks and forms are checked. With these checkboxes, you can easily enable the most used variables.

5.Click on ‘Tags’ in the left panel navigation to create a Tag

6.Click on ‘NEW’ and name the tag appropriately. Naming the tag using words like ‘Download PDF’, ‘Button Click’, etc. will help identify the tag easily later.

7.Configure your tag by clicking the edit pencil icon in the ‘Tag Configuration’ section

Choose

  1. Tag Type as Universal Google Analytics
  2. Track Type as Event
  3. Category (Refers to the name/category you would like your action to be organized under) – Downloads
  4. Action (Refers to the actual action of the event) – PDF Download
  5. Label (Refers to additional information for events that you want to track) – {{Click Text}}
  6. Non – Interaction Hit as True
  7. Google Analytics Settings
  8. Select -> New Variable – Add Google analytics tracking UA code
  9. Tracking Code as Google UA Code
  10. Tag configuration will resemble this

8.Create the trigger by clicking the edit pencil icon in the ‘Triggers’ section

9.Click ‘+’ (New) to create your trigger and name appropriately

10.Configure the trigger by clicking the edit pencil icon in the ‘Trigger Configuration’ section

Choose

  1. ‘Click – All Elements ’ as your trigger type under the ‘Click’ section
  2. This trigger fires on: Some Clicks
  3. Setup your rule with the drop downs and text fields: ‘click URL’ ‘contains’ ‘.pdf’
  4. Save the trigger.
  5. Trigger configuration will resemble this

Now you can publish the tag.

To check if the tags are firing correctly click on the PDF download link on your live site to trigger the event.

You can view Google Tag Manager in ‘Preview Mode’ so you can debug and test with real-time tracking in Google Analytics.

Navigate to the Google Analytics window and click on ‘Real time events’. Here you will see the event tracking analytics.

If the event has been setup correctly then the event category and event action will be displayed in Google Analytics as seen below.

If the events are firing correctly in the Preview environment, then you can publish your tag.

And now you are all set.

CASE STUDIES

What We Do For You

We’ve had the pleasure of working with some of most successful companies over the past few years and our clients have achieved incredible, revenue-generating results. See the results for yourself!

More Case Studies

How a three-phase strategy helped improve AdWords performance

A 3-Phase Strategy for a customer service software company….

LEARN MORE...

Bidding on non-branded keywords that you already rank for

Effective use of Search Engine Optimization and PPC together for lead generation and as a visibility strategy for a Software products/services company

LEARN MORE...

Acute targeting on Facebook using custom audiences

How Optimizing lead generation on Facebook using B2B custom audience lists helped increase conversion rates by 83 points

LEARN MORE...

Customized SEO Audit for a prospective client of a creative agency

How a customized, comprehensive SEO audit helped a creative agency win the pitch to a B2B company

LEARN MORE...

Happy Users

Artbees is humbled and proud to be showcased in many criti allyacclaimed blogs and online magazines,

Read More

Web Development

Artbees is humbled and proud to be showcased in many criti allyacclaimed blogs and online magazines,

Read More

TESTIMONIALS

“Blue Caffeine’s customer-first attitude is a direct reflection of its expertise and the founders’ successful history as big-time consultants for major global players. They understand requirements well and execute even better”

ARNOLD HUFFMAN

CEO, Digital Yalo, Atlanta, GA

“For an early stage startup like us, Blue Caffeine has been a trusted partner for user acquistion and a cost effective launch strategy. Blue Caffeine played a key role in our growth with their quick turn around times, transparent processes and consistent communication”

RAVI KOKA

CEO, Stocksnips, Pittsburgh, PA

“Blue Caffeine started off as our SEM agency and quickly enhanced our Paid Search efforts and SEO. They took over our Social Media advertising, list building & database management, helping us streamline contact acquisition efforts. They are responsive, knowledgeable and a valued extension of our marketing team.”

JASON KAPLER

VP, Marketing, LiveWorld Inc., San Jose, CA

ABOUT US

Blue Caffeine is a global, data and results-driven marketing agency enablding clients to achieve their business goals with brand awareness, demand generation and audience engagement. At BlueCaffeine,we help businesses launch and grow fast.We identify, build and nurture a highly targeted, relevant customer base using a metric-driven approach to create awareness, inspire interest, drive footfalls and nurture loyalty. Our location-aware and mobile optimized campaign strategies ensure your spend on digital channels drives business goals and not vanity metrics.

We are a team of dedicated and experienced professionals and our mission in life is to help small businesses complete against their bigger and established competitors by empowering them with enterprise-class digital marketing capabilities, tools and technologies.

Caffeine drives everyone, but want to know how Blue Caffeine can drive your business? Find out more about our unique brewing methods.

CONTACT US

    GET IN TOUCH

    Head office

    • 8B, Purva Parkridge, Mahadevpura Ghoshala Road, Off Outer Ring Road Bangalore Bangalore KA 560048