The Stape Store Lookup Variable for Google Tag Manager Server-Side allows you to retrieve data from Stape Store. You can look up a specific document by its ID or query a collection to find a document that matches certain criteria.
This is useful for retrieving user data, product information, or any other data you've previously stored.
- Add the Stape Store Lookup Variable to your server container from the GTM Template Gallery.
- Select a Lookup Type:
- Document ID: Provide the unique key of the document you want to retrieve.
- Query: Specify conditions to search for a document. The first match is returned.
- (Optional) Provide a Key Path (e.g.,
user.address.city) to retrieve a specific nested value from the document. If left empty, the entire document data is returned. - (Optional) Enable Store the result in cache to improve performance by caching the response.
- (Optional) Specify a Stape Store Collection Name. Defaults to
default. - Use the variable in your tags, triggers, or other variables.
The Stape Store Lookup Variable for Google Tag Manager Server Container is developed and maintained by Stape Team under the Apache 2.0 license.