How to track link of downloaded file






















You can put some additional code on your website. Or you can use a plugin that puts the event tracking code in place for you. Event tracking is critical to understand because it's a fundamental part of Google analytics. Event tracking is how you tell Google Analytics to record user behavior that doesn't automatically trigger your tracking code.

Usually, events are actions on the pages of your website. Common examples of events include video views, page scrolling, or file downloads. The event code sends a hit to Google with the category of the event.

It also tells Google the action that occurred and gives that action a label. In the event code, you can also tell Google to assign a value to the event.

An interaction event is a true or false type of command that exists within the event code. It tells Google that something did, or did not happen based on the user interacting with your webpage. Interaction events can be used to track bounce rate more precisely.

Non-interaction events don't affect your bounce rate at all. But if you don't want to add code to your files manually, there are automated alternatives. Automation is also a better solution if you need to track many downloadable files. There are several automated solutions for tracking downloads on your website. If you have GTM on your website, all you need to do to track your downloads is create an event trigger.

The trigger will record an event in Google Analytics every time a visitor clicks your download link. Within the trigger, you can use a regular expression to fire an event based on your file extensions.

This expression tells the trigger to fire if any of these extensions are present in your URLs. So, if someone clicks a link on your site that contains. And that action will record a download event in Google analytics. Tracking downloads using GTM is a very straightforward process. And it's the industry standard for measuring this type of event. The MonsterInsights interface allows you to track file downloads automatically.

And they give you the option to use events or virtual page views. Tracking your downloads in MonsterInsights extremely easy to configure, and it's a comparable option to GTM. My client wishes to track PDF download. 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. Marco can't use GTM for his client's website. 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. Autotrack is a javascript library built on top of the analytics tracking code analytics.

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. We have already discussed some relevant SEO tools and recommended Google Analytics as one of the ways to track web visitor traffic, goal conversions and get insightful analytics related to search engine optimization and digital marketing.

In this article, I will lay out a very useful technique that allows you to track file downloads be it a pdf, doc, xls, etc.

The technique below uses a simple global JavaScript that tracks all the clicks and displays the results in your Google Analytics statistics. Tracking file downloads or clicks on external links behavior is very important to analyze if people are interacting with the website the way intended. For example, businesses that have their brochures or product catalogs downloadable as PDFs can see if their publications are in demand and what the best way is to position the file links on the website to increase the clickthrough rate.

The official Google Analytics tutorial says that any link can be tracked if the script below is added in each link that you'd like to track:. If you already have lots of pdfs, docs or other files that need to be tracked, adding the aforementioned script to every download link on your website can be a very tedious task.



0コメント

  • 1000 / 1000