Open Tracked/Guides/Top cloud databases for server GTM explained

Top cloud databases for server GTM explained

A server container can read and write data. Pick the store by the job: lookups, event logs or profiles.

4 min read · Updated October 26, 2026

Key-value lookupsEvent warehouseRelational dataBuilt-in memory
In this guide
Key takeaways
  • Use a key-value store (Firestore, Redis-style) for fast lookups, a warehouse (BigQuery) for event logs and analysis, and SQL for relational data.
  • Open Tracked's Data Store is a built-in key-value memory for identifiers, on every plan.
  • Each outside database adds latency, cost and privacy questions.

A server container can look up data and write data, which opens many uses: remember visitors, price products, log events, enrich requests. Which database you use depends on the job. This page compares the common choices and says when the built-in store is enough. See the Data Store, use cases for the Data Store and a lightweight customer data layer.

The options

OptionTypeGood forWatch out for
Open Tracked Data StoreBuilt-in key-valueRemembering hashed identifiers, restoring cookies, enriching eventsSmall entries (up to 8 KB); retention up to 400 days; not for large data
FirestoreDocument database (Google Cloud)Lookups by key, product data, simple profilesRead and write costs; needs a Google service account
BigQueryData warehouseLogging every event for analysis and reportingNot for low-latency lookups; query costs
Redis-style stores (hosted over HTTP)In-memory key-valueVery fast counters and short-lived keysPersistence and cost vary
SQL databases (Postgres, MySQL)RelationalExisting business dataLatency from the server, connection handling
Google SheetsSpreadsheetSmall lookups and logsRate limits; not for production load
Set up in minutes

Connected in minutes

Add your domain, install the pixel, connect your ad platforms and watch the first events land.

Choose by job

01

Remember a visitor

The Data Store. No extra account, protected by a token.

02

Look up a product price or margin

Firestore or your own API.

03

Log every event

BigQuery.

04

Count something per minute

A Redis-style store.

Connecting from a server container

  • Google Cloud services (Firestore, BigQuery) use a service account. With Open Tracked, the Google Service Account power-up (Pro plan) lets you connect a Google service account for this.
  • HTTP-based stores can be reached with an HTTP request tag or variable.
  • Always keep keys in secure fields, never in the web container.
Try it

Works with your stack

Grab a logo and throw it. These are the tools Open Tracked already talks to.

Grab one. Throw it.

Performance and cost

  • Every lookup adds time to the request. Cache values when you can.
  • Writing every event to a database can cost more than the hosting. Sample or aggregate if you can.
  • Keep the data small and expire what you do not need.

Privacy

Any store that holds identifiers or personal data needs a lawful basis, retention rules and a way to delete. See GDPR and server-side tracking.

0 of 5 done

A realistic example

A store wants to keep margin per product on the server so it can send profit with each purchase. It first thinks of Firestore, then realises that a simple lookup table inside the container is enough for a few hundred products. It later adds Firestore when the catalogue grows to tens of thousands of items and margins change daily. For remembering returning visitors it needs nothing external, because the Data Store is built in. For analysis it writes purchase events to BigQuery through a service account, and keeps costs low by writing only purchases and leads. The pattern is to start with the simplest store that works, and to add a database only when a real need appears. Every external database is another account, another cost and another thing to secure.

Works worldwide

Runs on your domain, anywhere

Your tracking runs on your own domain, so a visit from any country is handled the same way.

Frequently asked questions

Which database should I use with server-side GTM?

Use a key-value store for lookups, BigQuery for event logs and the built-in Data Store for remembering identifiers.

Does Open Tracked have a built-in store?

Yes. The Data Store is on every plan, with 1,000 keys on Free up to 5 million on Enterprise.

How do I connect Firestore or BigQuery?

With a Google service account. Open Tracked's Google Service Account power-up (Pro) lets you connect a Google service account.

Will a database slow my tracking?

Each lookup adds latency. Cache and keep lookups few.

Do I need consent to store data?

Where the law requires it for the identifiers you store.

Do I need spreadsheets to read my results?

No. Once tracking is live, the Open Tracked analytics shows spend, revenue, ROAS and profit, and you can ask Ari, the built-in AI assistant, questions about your own numbers in plain words. Ari's allowance depends on your analytics plan.

Is Open Tracked different from Open Track or Open Space Track?

No. Open Tracked is the official name of our server-side tracking platform, and the website is opentracked.io. Many people search for it as Open Track, OpenTrack or Open Space Track. All of them lead to the same product: server-side Google Tag Manager hosting, first-party analytics and a CRM pipeline.

Fix your tracking at the source

Open Tracked hosts your server-side Tag Manager, keeps first-party cookies alive and shows what each ad is really worth.

Open Tracked
Written by

The Open Tracked team

We build Open Tracked: server-side tracking hosting, analytics and the tools around them, for stores that spend on ads. Questions about this guide, or an idea for the next one?

Write to us Read the docs

Was this article helpful?

Comments

Loading comments...

Turn better tracking into better marketing performance

Start free