For the complete documentation index, see llms.txt. This page is also available as Markdown.

Replicate live tracking to your warehouse

Capture live activity with the mediarithmics tag and store it in your own warehouse instead of the datamart.

Your goal

Keep collecting live activity from your sites and apps, and have it come to rest in your warehouse rather than in the platform - because in a Hybrid or Zero-copy deployment the warehouse is the source of truth.

Expected outcome

Activity captured by the mediarithmics tag, processed by the platform, and written into a location you chose in your warehouse, in the shape your schema declares.

This feature is in Alpha. Contact your Account Manager to learn more.

Why this is not optional in these deployments

Identity resolution is computed from raw activity. When the source of truth is the warehouse, the raw activity has to be in the warehouse, or there is nothing to compute the identity graph from.

So replication is not an extra you switch on for convenience. It is the collection route itself, replacing the write to the datamart that a Hosted deployment performs.

What stays the same, and what moves

Hosted
Hybrid and Zero-copy

The tag on your sites and apps

The same tag

The same tag

Where activity is processed

The platform

The platform

Where activity is stored

The datamart

Your warehouse

Long-term storage in the platform

Yes

No. Live data transits through the platform.

Identity resolution at write time

Yes

No. Activity is stored unreconciled.

Your tracking plan, your web and app integrations, and your activity analyzers are unaffected by the change of destination.

What the platform does before writing

1

Processing runs as usual

Activity passes through the processing pipeline, including activity analyzers and session aggregation.

2

Identity reconciliation does not run

Activity is written carrying only the identifiers the tag collected. No UserPoint is referenced on it, because the reconciliation that would assign one happens later, in your warehouse.

This is deliberate. Keeping the original link between an activity and the identifiers it arrived with is what allows the identity graph to be recomputed after a configuration change, instead of being rebuilt from data that has already been merged.

3

Activity that does not fit the schema is dropped

Only activity that can be mapped to the object tree your schema declares for live ingestion is replicated. In particular, an activity carrying no main identifier cannot be attached to anyone and is dropped.

4

Raw objects are written, then rebuilt into tables

Activity is written as raw objects into object storage in your environment, and the tables your schema describes are reconstructed from those objects at a regular frequency.

What you need in place

Requirement
Notes

A declared warehouse

Google BigQuery or Snowflake. See Warehouse compatibilities.

Object storage in your environment

Google Cloud Storage or Amazon S3, holding the raw objects the tables are rebuilt from.

A location you choose

You decide where in the warehouse the live data is written.

An object tree for live ingestion

Declared in your datamart schema, describing the shape the activity is written in.

Verify

  • Activity collected from a tagged page appears in the destination you configured.

  • The rebuilt tables carry the identifiers the tag collects, and the properties your schema declares.

  • A deliberately non-conforming event - one missing a main identifier - does not appear, which confirms the schema is being enforced.

  • Counts in your warehouse match what Monitor collection volume reports for the collections concerned.

Last updated

Was this helpful?