Thursday, February 6, 2025
HomeAnalyticsURL Parser - Custom Variable Template

URL Parser – Custom Variable Template


The URL Parser custom variable template is a Server Container variable template for Google Tag Manager’s community template gallery.

Description

The URL Parser template takes any URL string as the input, and return whichever component type you like. It is modelled after the built-in URL variable type in web containers.

The template works by default with the page_location field in the event data object, but can be configured to use any URL string instead.

Read the blog post for more details.

Release notes

Date Changeset
2 April 2021 Initial release.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments

Skip to toolbar