Google Analytics - Tacking PDF,AVI, WMV Files In Download Section

Tracking PDF,AVI, WMV etc.. is very important in this regards. That is major point to the website money making efforts. Mostly those files are located in your website's download section.
Lets see how we doing this task.

Your Google Analytics Master provides an easy way to track clicks on links that lead to file downloads. Because these links do not lead to a page on your site containing the tracking code, you'll need to tag the link itself with the _trackPageview() JavaScript if you would like to track these downloads.

This piece of JavaScript assigns a pageview to any click on a link - the pageview is attributed to the filename you specify.

For example
To log every click on a particular link to www.yoursite.com/files/map.pdf as a pageview for /downloads/map you would add the following attribute to the link's <> tag:
< href=" http://www.example.com/files/map.pdf " onclick= "javascript: pageTracker._trackPageview ( ' /downloads/map ' ); ">

Important:
1. Please remove the all spaces in codes before you use.
2. If your pages include a call to _trackPageview, _setAllowLinker _trackTrans(), your Analytics tracking code must be placed in your HTML code above any of these calls. In these cases the tracking code can be placed anywhere between the opening <> tag and the JavaScript call.
To verify that _trackPageviewis being called correctly, you can check your Top Content report 24-48 hours after the updated tracking code has been executed. You should be able to see the assigned PageName in your report.

ADSENSE HOME UPDATE

Online Clients

6AND6Designs seo,search engine optimization,headquarters videos,no porn news,online magazine,online marketing,money making

SEARCH