The Stape Store reStore Variable for Google Tag Manager Server-Side allows you to look up, restore, and update user profiles in Stape Store using a set of identifiers (e.g., user_id, client_id, email).
The variable looks up a user profile using the provided identifiers, restores stored data, and updates the profile with any new information. This is useful for:
- Cookieless and cross-domain tracking
- Cross-device user stitching
- Enriching event data with persistent user attributes
How to use
- Add the Stape Store reStore Variable to your server container from the GTM Template Gallery.
- Add the identifiers you want to use for lookup (e.g.,
user_id,email). - Specify the data points to manage.
- (Optional) Enable Only restore data to prevent writing updates to Stape Store.
- (Optional) Specify a Stape Store Collection Name. Defaults to
default. - Use this variable in your sGTM tags, triggers and variables to access the restored data object.
Useful Resources
Open Source
The Stape Store reStore Variable for GTM Server Side is developed and maintained by Stape Team under the Apache 2.0 license.