Stape
Contact salesTry for free
FreeGTM variables

Lookup Table variable

Using the Advanced Lookup Table variable for server Google Tag Manager, you can return values depending on the specified conditions. The main advantage is that you can set conditions using different parameters like equals, start with, contain, RegEx, etc. 

You can use either constant or variable. Advanced lookup table variable (internally, we also call it If/Else variable) can be helpful, for example, when setting up server-side tracking for multidomain, when you need to fire pixel or transport URL depending on the hostname. Or maybe you want to send custom parameters for your FB events depending on the product name.

Another widespread use case is creating ecomm_pagetype type for Google ads remarking tags. You can set page type depending on page URL, event type, etc. 

Advanced lookup table variable
Advanced lookup table variable

Related to this solution

Server-side GTM with multiple domains
May 19, 2022

Blog

Server-side GTM with multiple domains

Set up server-side GTM for multiple domains with Stape. Learn single sGTM container use, custom domain mapping, and handling multiple tagging server URLs.

Facebook offline conversion using server GTM
Aug 16, 2022

Blog

Facebook offline conversion using server GTM

Set up Facebook offline conversions using server-side GTM in simple steps. Improve attribution and campaign results with first-party data.

HTTP Lookup Variable for server Google Tag Manager
Aug 15, 2024

Blog

HTTP Lookup Variable for server Google Tag Manager

Stape has created an HTTP Lookup Variable for server GTM to customize and enrich the data you get. Check out our end-to-end guide for setting it up.

We have more than 100 000 happy clients

Try Stape for all things server-sideright now!