By Timur Kuchushev, 21 June 2016

Simple Tracking Virtual Pageviews with Google Tag Manager

Readymade recipe automatically tracks events on your site's virtual pages and fire events to Google Analytics.
1 Tag

1 Trigger

3 Variables

  1. Insert your UA ID and download container JSON file.
  2. Log into your own Google Tag Manager container and head to the Admin section of the site. Under Container options, select Import Container.
1
Download Container File
Insert your UA ID and download container JSON file.
2
Import File to GTM
Log into your own Google Tag Manager, go to Admin section of the site. Under Container options, select Import Container. Select container file and pick "Merge" option.

3
Preview, Publish
Use Preview mode to test container on your site, make sure they're working properly. If everything works good — publish!

Back to the list