URL Parser

Community variable by gtm-templates-simo-ahava

What is URL Parser?

Parse any URL string for its constituent parts.

URL Parser variable is created by gtm-templates-simo-ahava. 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. Fix Query Key to return undefined if no match is made.
  2. Add reference check for query parameter.
  3. Fix the default value to page_location in the URL Source dropdown.
  4. Initial release.

More tags and variables supported

Tags

Variables

Join early adopters globally and leverage server-side tagging, GA4 custom events, and cookieless tracking to gain deeper insights and enhanced analytics data about your visitors!

Get Started now