Analytics mini-tip: How to measure dowloaded files.

With Google Analytics, it is possible to measure the amount of clicks in contact forms and file downloads through the implementation of Events. For example let us assume we have the following link:

<a href="" >Descargar</a>

We have to assing a code line that goes like this:

onClick="_gaq.push(['_trackEvent', 'archivo', 'categoria', 'descarga']);"

So the end result looks as follows.

<a href="" onClick="_gaq.push(['_trackEvent', 'archivo', 'categoria', 'descarga']);" >Descargar</a>

This way, we will be able to know how many users have downloaded our file, where does visits are coming from and all the information that we might find necessary at the Google Analytics panels.

Leave a Reply

Your email address will not be published. Required fields are marked *