Stape Integration
Create a Stape sGTM Container
- In your Stape dashboard, click sGTM.
-
Click Create sGTM container.

-
Enter a Container name (this does not need to match your GTM container name).
- Paste the Container Config string copied from GTM.
- Select the server location closest to your target audience.
-
Click Create Container.

-
Choose a Stape plan (a free tier is available to start).
-
Click Continue.

Server Container URL
Configure Stape Power-Ups
It is essential to set up at least the GEO Headers
Info
Custom Loader is not available for GTAG script deployments.
GEO Headers
GEO Headers
The GEO Headers power-up sends the visitor's geographic location directly to your server-side container. This feature enhances data accuracy for localized tracking and marketing compliance without relying on third-party browser scripts.
- In your Stape dashboard, click sGTM
- Select your GTM container.
- Click the Power-Ups tab.
-
In the GEO Headers panel, click Use.

-
Enable the feature.
-
Click Save Changes.

Configure Headers in GTM Server Container
To use these headers, you must map them inside your GTM Server Container as variables.
- Open your GTM Server Container.
- Navigate to the Variables section.
- Locate the pre-configured variables of type Request Header listed in the table below.
- Edit each variable and set the Header Name field to match its corresponding value from the table.
- Save the changes.
- Click Submit in the top-right corner of the GTM dashboard, then click Publish to deploy the configuration changes to your live container.
| Variable Name | Header Name |
|---|---|
| HEADER - User / Address / Country Code | X-GEO-Country |
| HEADER - User / Address / State Code | X-GEO-Region |
| HEADER - User / Address / City | X-GEO-City |
| HEADER - User / Address / Postal Code | X-GEO-PostalCode |