How to track direct file downloads in goole analytics






















 · bltadwin.runt('load', function() { if(pageTracker) { $$('.download').addEvent('click',function() { pageTracker._trackPageview('/downloads/' + bltadwin.ru('href').replace('http://','')); }); } }); Just like tracking AJAX clicks and outbound links, we direct Google Analytics to record the event. Now you get download counts and it gets lumped in with the .  · How To Track File Downloads Via Google Analytics. The first step to tracking downloads or views on your PDFs or other files is to modify your links that point to the files/PDF’s to include the tracking code required for your google analytics to pickup the data. By default there is no code on a PDF file or other file format when viewing the file in a bltadwin.ruted Reading Time: 7 mins.  · Using this you can add a click event handler on the link. $(".download-link").on('click', function() {ga('send', 'event', 'File', 'download', 'Sample ZIP');}); Thats it. Only a line of Javascript code will send data to Google Analytics. Accessing the Data in Google Analytics Dashboard.


A WordPress file download manager can help you easily manage downloads, track analytics, and control permissions on file downloads. With the right tools, you can even sell file downloads and make money. In this article, we will show you how to easily manage, track, and control file downloads in WordPress. Track file downloads on your page using Google Analytics. An enhancement to Google Analytics is its ability to catch events fired from the site page. Google Analytics makes use of client-side scripting to record user events or interactions such as File Downloads or External Links click. By default, MonsterInsights lets you track downloads of the following file extensions: doc, pdf, ppt, zip, xls, docx, pptx, and xlsx. But you can add more extensions that you want to track. In Google Analytics, events tracking are used to measure user interactions with content like downloads, mobile ad clicks, video plays, etc.


Use event tracking on the onclick event: Download. Look in the documentation here: bltadwin.ru to see what the parameters mean. Of course you could also use a virtual pageview (bltadwin.ru#VirtualPageviews) with your zip Files url (which would. bltadwin.runt('load', function() { if(pageTracker) { $$('.download').addEvent('click',function() { pageTracker._trackPageview('/downloads/' + bltadwin.ru('href').replace('http://','')); }); } }); Just like tracking AJAX clicks and outbound links, we direct Google Analytics to record the event. Now you get download counts and it gets lumped in with the rest of your Google Analytics stats. Since Google Analytics doesn’t track your offline campaigns by default, an easier way is by using ExactMetrics. The WordPress plugin automatically tracks your file downloads and displays them in an easy to read the report. It sets up events in Google Analytics, so you can track the source/medium of your traffic.

0コメント

  • 1000 / 1000