Traffic Source / Medium

Community tag by taneli-salonen1

What is Traffic Source / Medium?

Returns Google Analytics like source / medium information on the source of traffic. Includes referral exclusions as well as mapping of common search engines and social referrers.

Traffic Source / Medium variable is created by taneli-salonen1. Once you set up server side tagging with MetricsGate, you can use this variable with Google Tag Manager to enhance your data analytics.

This variable template is part of an open-source community, with its source code accessible on Github, and its documentation can also be found online.

You can check its version history below:

  1. return fallback
  2. First version

More tags and variables supported

Tags

Variables