Search code examples
phpanalyticstrackingqr-code

Google Analytics URL parameters


I need to make a single page (videos.php) to download a .MP4 video file based on an URL parameter. That page is to be used in conjunction with a QR code in a printed magazine.

i.e

?file=videofiles/video1.mp4 

or

?file=videofiles/video2.mp4 

What I am unsure of is if Google Analytics will track that page with separate parameters or just as a single page where a hit on both videos will count as hit on videos.php without regard to the video itself.

I want to be able to view the hits on both videos separately. Will Analytics take care of the parameter or is there a better / other solution?


Solution

  • You can also use Google's Custom Campaign Tracking Tool

    http://support.google.com/analytics/bin/answer.py?hl=en&answer=1033863 and http://support.google.com/analytics/bin/answer.py?hl=en&answer=1033867&topic=1032998&ctx=topic