Exclude or Whitelist Query String Parameters

Community variable by gtm-templates-knowit-experience

What is Exclude or Whitelist Query String Parameters?

Exclude or Whitelist Query String Parameters from page_location or any Variable with a valid URL-parameter. Parameters can be Removed or Redacted. Output can be with or without URL/Path.

Exclude or Whitelist Query String Parameters variable is created by gtm-templates-knowit-experience. 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. Parameters can be added using either text field (new method) or table.
  2. Added functionality for redacting email adresses.
  3. Small code change. No changes in functionality.
  4. Added support for returning "Page URL without Parameters" (e.g. https://domain.com/path). Bug fix of question mark returned.
  5. 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