Virtual Pageviews and Dynamic URLs

Contact Us or call 1-877-932-8228
Virtual Pageviews and Dynamic URLs

Virtual Pageviews and Dynamic URLs

If you have a website that dynamically generates pages based on certain query parameters then you can use virtual pageviews to help clean up your Content Report. Virtual pageviews will help make your reports easier to read and understand.

For example, if your original link looks like the following example, then it will be difficult to interpret the same in your Google Analytics reports.

http://www.example.com/s/ref=amb_link_85318851_3?ie=UTF8&node=565108&field-availability=-1&brand=acer&emi=ATVPDKIKX0DER&pf_rd_m=ATVPDKIKX0DER&pf_rd_s=center-5&pf_rd_r=0YMSR93FFWM4QZ1Y9ZVF&pf_rd_t=101&pf_rd_p=1243829422&pf_rd_i=565108

To resolve this, add the following line of code in addition to the GATC:

gaq.push(['_trackPageview','/products/electronics/computers/netbooks/accer']);

By doing so you will generate a virtual pageview with a meaningful name, and thus you can categorize all such dynamic pages into groups within your contentreport.

Next