Business Google Analytics Pdf Count


Monday, December 2, 2019

Clicks on links to downloadable files (e.g. PDF, AVI, WMV) can be measured as When you set up an Event to capture clicks on a link, Analytics counts the. Do you need to track downloads, like PDFs, Ebook, or whitepapers on your website? Google Analytics does not track downloads automatically. This tactic was actually shown to me by Jeremiah Smith (my brother) over at SimpleTiger. The need for this came about when one of our.

Google Analytics Pdf Count

Language:English, Spanish, Japanese
Genre:Politics & Laws
Published (Last):23.03.2016
ePub File Size:17.65 MB
PDF File Size:10.86 MB
Distribution:Free* [*Regsitration Required]
Uploaded by: MARTINE

4 days ago By default, Google Analytics doesn't support file downloads tracking. The domain of the PDF link need to be the same as the domain the user. Pairing Google Tag Manager with Google Analytics allows you to measure PDF views as a goal. Learn ways to properly track downloads in Google Analytics. Your link will look something like: pdfs/” Since the visitor took some action on the site, they should not be counted as a bounce anyways, so.

And where exactly would developers place it? You can manually add code to each PDF you want to track Manually adding code sounds complicated, but there is a tool that can help you create event tracking links.

How to Track PDF Views in Google Analytics

Raven Tools has a form that allows you to build event tracking code for your download links. Their form will create two sets of tracking code. You can choose to use either line of code in your download URL.

You can copy either of these lines of code and embed them in the link for your downloadable file. This code will trigger a download event in Google Analytics anytime someone clicks your file link.

Use Google Analytics Autotrack Autotrack is a javascript library built on top of the analytics tracking code analytics. You can use Autotrack to track outbound link clicks on your website automatically.

Autotrack will allow you to declare the link click event you want to track. So if your PDF or other download is accessible via a button, you can track it using Autotrack. In the event tracking code, you adjust the data-event-category to register based on your button click.

And you make the data-event-action equal your download. For this to work, you need to have Autotrack installed. These tracking options might be starting to sound pretty advanced, but not every analytics solution is easy.

In general, the more difficult solutions provide more control. But they take more time to implement. Write code to find any link ending in.

It involves writing your own code. Then you have run tests using your own systems to make sure your code executes correctly. This is not the actual code for this operation. This example is written using a computer science technique known as pseudocode. If you wish, you can also select 'Wait for Tags' and 'Check Validation', although that is not necessary with this trigger.

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'.

Free Audits

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. Step 5: One extra tip with one extra macro But — wait! Those other pages also have titles in reports, while PDFs don't! Can we somehow fix that? Well, today is your lucky day and you can get extra tips for the regular price!

Google Tag Manager knows how to fix that and help us, so let's make it work. We should start by creating one variable that returns only the portion of the URL after the domain name. Save that variable. We should replace the existing 'page' value with the variable we just created: Our Pageviews will no longer contain domain names and will be consistent with other website Pageviews! But what about the Document Title? Well, if you know SEO or know basic principles of good web writing , your PDF document link will probably look like this: Google Tag Manager will get that text via built-in variable called 'Click Text' that we first need to enable under 'Variables — Clicks' section.

Therefore, your tag configuration should at the end look like the example below:. As easy as one-two-three, right? Just one more thing before we finish! But we sincerely hope you will soon figure out how to solve this problem using your own CMS.

How to Track PDF Views in Google Analytics

Feel free to comment on this solution or to send even better examples, I would be glad to analyze or comment them. And if you find this solution useful, let me know that too, so that I can prepare more posts like this! For all of you who made it to the end of this post, I have an even better solution!

You're welcome ;. First name. Last name. Email address.

Phone number. Subscribe to our newsletter. Currently the oldest but hardly the most serious member of the team. Likes to play with gadgets, numbers and applications and loves music, travelling and spending time with his family.

May 22nd, Have you ever had the task to measure how many people actually read those lovely PDF files that were too heavy to convert into HTML while developing your website's first version? But, let's go from the start:Please keep in mind that all comments are moderated according to our privacy policy , and all links are nofollow. The trigger will record an event in Google Analytics every time a visitor clicks your download link.

So if your PDF or other download is accessible via a button, you can track it using Autotrack. When you set up a virtual pageview to measure clicks on a link, Analytics counts the clicks as page hits.

Also, did you know that some latest Google Tag Manager updates enable you to track all PDF files within your website by using a rather simple procedure? Don't forget to fire this tag on PDF links only! Please leave a comment to start the discussion. If you can recommend a third-party tool for event tracking, please leave a comment below.