Mobile app version of vmapp.org
Login or Join
Candy875

: Measuring Google Analytics traffic to files on server which don't have tracking code Hi I'm wondering how Google Analytics (GA) knows whether people land on some file on my server. I have my

@Candy875

Posted in: #GoogleAnalytics #Tracking

Hi I'm wondering how Google Analytics (GA) knows whether people land on some file on my server. I have my GA tracking javascript code on our base url, example.com. I'm wondering how GA knows whether someone visits a file on my server, for example:

example.com/files/some.pdf

Does the default GA configuration, the javascript code you copy paste onto your index.html, register that people are looking at this PDF?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Candy875

1 Comments

Sorted by latest first Latest Oldest Best

 

@Bryan171

You need to add custom event tracking to your pages.
Look at this link hope it helps.

Put your files behind a PHP,ASPX,CFG application page add the event tracking to the page your url should look something like page.php?file=name_of_file.pdf

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme