What Is MetaRouter?


In this article, we will be discussing the individual components that are included with the MetaRouter platform. We recommend viewing the Client-side vs. Server-side tracking guide before continuing further.

MetaRouter is a first-party, server-side customer data infrastructure that reduces and, in most cases, eliminates the need for third-party, client-side tag loading for common advertising, marketing and analytics vendors. Within this infrastructure, we have added a few key features and tools that we will further explain in this guide and throughout our documentation ecosystem.

The MetaRouter Platform

MetaRouter is composed of the following components that, when put together, encompass our entire platform:

Event Generation

MetaRouter will help you produce events with the open-sourced Analytics.js spec. This spec simply replaces the vendor-specific tagging you might perform for Facebook, Google, and other vendors. Behavioral data, page view data, identity and more can be tracked with this spec. The information produced with this spec represents your raw event stream that will be processed through the MetaRouter platform and forwarded to your vendors via our Integrations.

For more information on Analytics.js, please see this guide.

Events can also be sent to MetaRouter without Analytics.js. Please refer to our Non-Analytics Events guide for more information.

Server-Side Identity Enrichment

In order to ensure that vendors can consistently identify users (including anonymous users) with a server-side event stream, MetaRouter enables the enrichment of vendor-specific identifiers into an event stream. This is generally performed by making an API call to a vendor's server, and receiving the vendor identifier in response. The exact process this occurs with can differ per vendor- you can read more about server-side identity enrichment and our Sync Injector javascript library here.

Data Streaming Architecture

The core piece of the MetaRouter platform is a data streaming architecture that is installed in a private, single-tenant cloud environment on our cloud environment or yours. This architecture is responsible for ensuring that your events are validated for required data inputs, transformed according to your preferences, and ultimately are accepted by your integrations.

A key component of this architecture is our Internal Message Queue, which has been optimized to handle event volumes for the world's largest and most demanding organizations. It can hold events when downstream services or vendor APIs are experiencing difficulty, retry unsuccessful send attempts, and accept replayed raw events from data lakes.

MetaRouter will handle the vast majority of an architecture install, but you will be responsible for certain aspects of the install depending on your platform preferences.

Platform UI

The Platform UI is where your cloud environment and integrations are visualized. Additionally, you can configure various event mappings and transformations for your integrations and manage other platform settings.

Event transformations are an important aspect of the MetaRouter platform, as you have full control over how your data inputs are transformed into the data that is ultimately sent to your vendors. For more information on transformations, see this article.


MetaRouter manages a library of integrations that have been specifically configured to forward server-side event data to your vendors. We'll help you ensure that your integrations are always up to date, given that your vendors' APIs are likely to be updated over time.

Check out our list of integrations here.


The MetaRouter Compliance Module can hook into user consent banners, control the processing of customer data according to user preferences, and when desired, completely block a vendor's access to user tracking on a given website. This is possible because MetaRouter enriches vendor identifiers into a MetaRouter-controlled first-party cookie, rather than letting third-parties set and read their own cookies while on your website.

For more on how our Compliance Module works, see this link.