Stape Store is Stape’s internal JSON-based database for server-side Google Tag Manager. Think of it like a lightweight Firebase built right into your Stape account.
You can store structured data in documents (up to 1 MB per document), organize them in collections, and easily read or modify them during your sGTM processes.
Stape Store unlocks powerful capabilities such as:
- Caching API responses
- Storing user or session data
- Managing configuration variables
- Enriching requests
- Sharing data between tags
- Interacting with external tools via API

- And all of it happens inside your existing sGTM hosting environment.
Tools for Working With Stape Store
Stape Store integrates directly with sGTM using three built-in templates:
1. Write Data: Stape Store Writer Tag
Write or update JSON documents with any information you want to store—user details, product metadata, temporary cache data, and more.
2. Read Data: Stape Lookup Variable
Fetch stored values when processing an event or building logic inside your sGTM container.
3. Enrich Requests: Stape reStore Variable
Automatically merge stored data into incoming sGTM requests to enrich them.
Stape Store API: Integrate Directly With Your Own Systems
Want to read or write data without touching the Stape UI or sGTM templates?
Stape Store also includes a complete REST API that lets your developers:
- Insert and update documents
- Fetch stored data
- Delete records
- Manage collections
- Sync with external CRMs, backends, or analytics platforms
You can access the full documentation by clicking Stape Store API in the Stape Store menu inside your account.


Why Use Stape Store?
✔️ Simple Setup
No external credentials, no complicated integrations.Stape Store is active instantly within your account.
✔️ Centralized Data Management
Store everything in one place:
- API keys
- Product lists
- User attributes
- Campaign parameters
- Tracking configurations
✔️ Advanced Features
Stape Store is lightweight but surprisingly powerful. You can:
- Organize data in collections
- Filter and search your database
- Edit or delete entries in bulk
- Apply TTL (time-to-live) to auto-remove temporary data
✔️ Built-in & Cost-Efficient
Stape Store is included in all plans—no need for third-party databases or hosting. You only pay for requests, exactly like other Stape features.
Popular Use Cases
Here’s how teams commonly use Stape Store in real-world setups:
1. Save User Data
Store user IDs, emails, phone numbers, or preferences to improve tracking accuracy and persist data across sessions.
2. Cache API Responses
Reduce external API calls and speed up workflows by caching:
- Product data
- Currency rates
- Inventory information
3. Manage Setup Parameters
Keep campaign settings, tracking configurations, or custom business logic directly in the Store.
4. Handle Temporary Information
Automatically delete short-lived data using TTL for:
- Consent states
- Promo codes
- Session data
- Temporary flags
5. Share Data Between Tags
Write data with one tag and retrieve it with another to keep your sGTM container consistent and streamlined.
6. Connect With External Systems
Use the Stape Store API to integrate with:
- CRMs
- Backends
- Analytics platforms
- Custom marketing systems
Practical Use Case: How to Track 3rd-Party Checkout Conversions with Server-Side Tagging (Stape.io)
Stape Store brings the flexibility of a lightweight database directly into your server-side GTM environment—no external tools, no friction, no complexity. Whether you’re caching API responses, storing user info, or building advanced tracking logic, Stape Store gives you everything you need to keep your setup optimized and future-proof.
