Tracking pdf s in google analytics

  1. How to Track PDF Views in Google Analytics – Astuteo™
  2. How to Track and View File Downloads in Google Analytics
  3. Additional kinds of measurement
  4. How to Track PDF Views in Google Analytics

Do you need to track downloads, like PDFs, Ebook, or whitepapers on your website? Google Analytics does not track downloads automatically. how to track PDFs in Google Analytics. When a visitor comes to your website, they leave behind their trail of online behavior through data which. Clicks on links to downloadable files (e.g. PDF, AVI, WMV) can be measured as Events or virtual pageviews. When you set up an Event to capture clicks on a link .

Language:English, Spanish, Arabic
Genre:Academic & Education
Published (Last):07.05.2016
Distribution:Free* [*Registration Required]
Uploaded by: ALISA

73200 downloads 141155 Views 39.52MB PDF Size Report

Tracking Pdf S In Google Analytics

4 days ago By default, Google Analytics doesn't support file downloads tracking. PDFs on external domains (such as site S3) will be seen by the. Pairing Google Tag Manager with Google Analytics allows you to measure PDF since PDFs contain loads of valuable technical/implementation However, Google Analytics does not track PDF views like a typical page. How to Track PDF Traffic and Links in Google Analytics and Open Site Explorer. Analytics A) How many page views the PDFs were getting.

If you do, you probably want to track how often your visitors download this content. Tracking downloads on your website can help you figure what motivates your visitors. It can also help you determine which kind of content upgrades your audience really wants. Google Analytics loves to track pageviews. Because web pages execute JavaScript when they load in your browser. So the standard Google Analytics tracking code does not record file downloads. The same applies to user activity on a web page.

I suppose you have your Google Tag Manager installation ready. However, if you are not sure how to do it, please refer to Google Tag Manager Documentation.

How to Track PDF Views in Google Analytics – Astuteo™

Google Tag Manager will soon be available in version 2 only, so it's a perfect time to revise these steps and to show you how easy it is to track PDF files as pageviews in Google Tag Manager v2. The main difference between GTM version 1 and 2 is that in version 2 you don't need to activate Link Click Listeners any more Step 1 , since they are now a part of basic 'Variables' used to be called 'Macros' , but we still need to activate them.

This way we enabled the pre-built variable that captures our visitors' clicks URL. It looks like this: Step 2: One simple trigger If we want to include clicks to PDF files only, we should set up some rules, which are now called 'Triggers'. Here we'll choose a type of event — 'Click', because we want this trigger to activate upon somebody clicking onto some webpage element. Then we configure the trigger type — 'Link Click', because we don't want to capture all clicks but just clicks on links.

If you wish, you can also select 'Wait for Tags' and 'Check Validation', although that is not necessary with this trigger.

How to Track and View File Downloads in Google Analytics

If you select either of those options, you should also tell this trigger which pages should it be active on, by putting 'Page URL matches RegEx. That should look like this: Now save your trigger and go to the next step. Step 3: Virtual pageview Remember how we said at the beginning that we will use virtual Pageviews for PDF downloads and not events?

OK, let's configure a new Tag that will send some virtual Pageview information to Google Analytics, but only when we click to PDF document anywhere within your website. Here we should put the PDF document file name to be shown together with all other Pageviews in your Google Analytics reports.

Under 'Fire On' choose 'Click' and in the popup window put a checkmark by the rule we created before: 'PDF links only'. We have a Pageview tag that will send its information to Google Analytics only when a user clicks on a PDF document anywhere on our website! Isn't that great? Plus, once you edit all website codes, someone will probably add another PDF in a day or two without telling you that, and you will have incomplete data! By using these few simple steps you saved yourself a lot of time and effort!

Step 4: Publish!

You can now create a new Tag Manager container version, publish it and your website will immediately start sending the proper PDF download information to Google Analytics. You will be able to see the full URL of that document under the 'Behaviour'' section, among other Pageviews. Save the document and view it in a browser. Wait 24 to 48 hours and then visit your Google Analytics account page.

Additional kinds of measurement

View your Top Content report to verify that it contains a record of your page click and the name of the PDF you clicked. After majoring in physics, Kevin Lee began writing professionally in when, as a software developer, he also created technical articles for the Johnson Space Center.


Today this urban Texas cowboy continues to crank out high-quality software as well as non-technical articles covering a multitude of diverse topics ranging from gaming to current affairs. Skip to main content.

Create Google Analytics Account 1. Add PDF Tracking 1. Add the following HTML code to the document's body section: Click to view This creates a link statement that links to a PDF.

How to Track PDF Views in Google Analytics

Tip If your document contains other scripts, Google suggests placing them before the Analytics code in the head section or after the link statement that calls the pageTracker function. References 2 Google Analytics Help: Google Analytics Help: Set Up the Tracking Code. Resources 1 Google Analytics: Official Website. About the Author After majoring in physics, Kevin Lee began writing professionally in when, as a software developer, he also created technical articles for the Johnson Space Center.

TOP Related

Copyright © 2019 All rights reserved.