Firestore ReStore Variable

The Firestore reStore variable allows you to create a custom variable within GTM that connects to a Firestore database and retrieves specific documents or collections. It’s useful for dynamically fetching data stored in Firestore and using it in various GTM tags, triggers, and variables.

The variable searches for the record inside the Firestore based on the list of identifiers and restores parameters specified in the section’s list of data that needs to be restored. 

firestore restore variable

Benefits of Firestore reStore variable:Copy link to this section

  • Easy integration of Firestore with server GTM.
  • Suitable for both small and large datasets.
  • Fetch and display dynamic content based on user attributes or preferences, which can improve user experience.
  • Pull user-specific data from Firestore to personalize user interactions.

Host your GTM server at Stape