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 . Pairing Google Tag Manager with Google Analytics allows you to measure PDF views as a goal. Do you need to track downloads, like PDFs, Ebook, or whitepapers on your website? Google Analytics does not track downloads automatically.
|Language:||English, German, French|
|Genre:||Business & Career|
|ePub File Size:||18.34 MB|
|PDF File Size:||18.46 MB|
|Distribution:||Free* [*Registration Required]|
How to Track PDF Traffic and Links in Google Analytics and Open Site Explorer. Analytics A) How many page views the PDFs were getting. 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. 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.
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. Select its Track Type to be 'Pageview':. Now expand 'More Settings' and 'Fields to Set'. Here we should put the PDF document file name to be shown together with all other Pageviews in your Google Analytics reports.
Don't forget to fire this tag on PDF links only! Under 'Fire On' choose 'Click' and in the popup window put a checkmark by the rule we created before: Now your tag information should look like this:.
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?
Additional kinds of measurement
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! 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.
But — wait! There is something wrong here, especially if you are a nit-picker! I can hear you asking: 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.
Google Tag Manager Guides: How to track PDFs in Analytics using virtual pageviews
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. 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.
The MonsterInsights interface allows you to track file downloads automatically. And they give you the option to use events or virtual page views. This plugin also allows you to choose the type of file extension you want to track. I remember you talking about that.
The best way is to use Google Tag Manager. Alas, I am stuck with Google Analytics. So I need to set up Event Tracking I believe. Is this the proper code to insert in the GA script? 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.
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.
Step 1: Built-in variable for click URL
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 can recommend a third-party tool for event tracking, please leave a comment below. The bottom line is… You have a lot of options to track downloads in Google Analytics.Add a new tag. Let us know, which one of these tacking techniques works best for you? The tag will fire only if it does.
Tracking PDF Views Using Analytics
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! The best solution, in my opinion, is GTM. Marco asks: Leave a comment below with method you use for track downloads. Google Tag Manager will get that text via built-in variable called 'Click Text' that we first need to enable under 'Variables — Clicks' section.
- TIMES ARROW MARTIN AMIS PDF
- LAJOS EGRI THE ART OF DRAMATIC WRITING PDF
- SC GUPTA STATISTICS BOOK PDF
- I LOVE SHOPPING A HOLLYWOOD EPUB ITA
- ASTM F 2248 PDF
- ZEITSCHRIFTEN PDF FREE
- ENGLISH FOR LAW ENFORCEMENT PDF
- DEEP ECONOMY PDF
- GOG GIOVANNI PAPINI EBOOK
- GTA SAN ANDREAS CHEAT PDF
- AVANT GARDE GOTHIC BOOK ALTERNATIVE OT