Firestore reStore Variable for Google Tag Manager Server Container

The Firestore reStore Variable for Google Tag Manager Server Container allows you to connect to a Firestore database and dynamically fetch specific documents or collections based on user identifiers. It is ideal for use cases where you need to restore data values in GTM tags, triggers, and variables, particularly in cookieless, cross-device, and cross-site tracking scenarios.

This variable retrieves data from Firestore based on a list of identifiers (such as user_id or client_id) and restores the parameters specified in the list of the data to be restored.

Useful Links

Open Source

The Firestore reStore Variable for GTM Server is developed and maintained by the Stape Team under the Apache 2.0 license.

GTM Gallery Status

:green_circle: Listed

stape-io/firestore-restore-variable — updated: view commit

  • Removed Logs Settings group and all related logging functionality and dependencies
  • Refactored Firestore restore logic to remove logging and simplify promise handling
  • Streamlined mergeIdentifiers and getObjectLength helper functions
  • Updated template parameters to exclude logging, access, and header whitelist configurations
  • Cleaned up unused imports and code related to logging and container version checks

GTM Gallery Status

:green_circle: Listed