Trim Query

Community variable by Ayudante

What is Trim Query?

Returns a string obtained by deleting an arbitrary query from the specified variable.

Trim Query variable is created by Ayudante. 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. Select to delete has been added to implement a whitelist with the query delete method.
  2. Supported the URL pattern that the query is included in the hashtag.
  3. 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