Skip to main content

For AI agents: a Markdown version of this page is at https://docs.snowplow.io/docs/signals/data-sources/existing-analytics.md. The index of all documentation pages is at https://docs.snowplow.io/llms.txt, and the index for this section is at https://docs.snowplow.io/docs/signals/llms.txt.

Use Signals with your existing analytics

If your site already sends events to Segment, RudderStack, Google Analytics 4 (GA4), Amplitude, Adobe, or PostHog, you can send a copy of each event to Snowplow and calculate Signals attributes on it, without retagging your site. You keep your existing tool and its reports.

An adapter maps each event to the standard Snowplow event that fits it, such as a page view or an ecommerce transaction, or to a generic external_event when nothing fits. Every event also carries an external_identity entity with your tool's IDs. You create both schemas in your own Snowplow registry, under your own vendor.

The adapters and their tested setup steps live in the existing-analytics skill of the Snowplow plugin, so a coding agent can install and check the adapter for you. Each tool page also gives the steps to set it up by hand.

Choose your tool​

Each tool page starts with the recommended approach for that tool.

ToolRecommended approachOther approaches
SegmentA destination plugin in analytics.jsDestination Function
RudderStackA custom device mode integration in the RudderStack SDKTransformation on a Webhook destination, or no-code Webhook mappings
GA4 and Google Tag ManagerSnowplow's tag templates in your web GTM containerA page script that copies gtag() calls, or server-side GTM
AmplitudeA destination plugin in the Browser SDKWebhook destination
AdobeA Web SDK onBeforeEventSend callbackAppMeasurement callback, Tags rules, or event forwarding
PostHogA before_send hook in posthog-jsHTTP Webhook destination

Client-side and server-side approaches​

The recommended approaches are client-side: the adapter runs in the page and hands each event to the Snowplow JavaScript tracker, which sends it to your Collector. The tracker sets its own random visitor and session IDs and adds page pings, so session and engagement attributes work and interventions can be delivered to the visitor.

Server-side approaches forward events from your tool's workspace to your Collector. They need no change to the page and include events from your servers and apps, but they key visitors on your tool's own ID and have no Snowplow sessions on most tools.

Client-sideServer-side
Events coveredEvents from the browserEverything your tool receives, including servers and apps
Visitor keySnowplow's random domain_useridYour tool's ID
Sessions and page pingsYesSession IDs on Amplitude and PostHog only, no page pings
Interventions in the pageYesNo: read attributes from your backend instead
DeliveryAs the event happensAfter your tool's own queue

Use client-side for web visitors, and add server-side only for events that don't come from the browser. Don't send the same browser events through both, or they arrive twice under two visitor keys.

Delivery and delay​

On a client-side approach, attributes update within about a second of each event, and interventions typically reach the page in 1 to 2 seconds. A server-side approach first waits for your tool's queue and batching, which adds from several seconds to a minute or more depending on the tool.

The first events after you publish an attribute group or intervention can take a minute or more. Later events update at the usual speed.

Warehouse history​

If your tool exports to a warehouse, such as Segment's warehouse, the GA4 BigQuery export, Adobe Data Feeds, or PostHog's batch exports, you can also calculate batch attributes on that export, to give Signals history for visitors it hasn't seen in the stream. This needs a Signals warehouse connection, and the values refresh periodically rather than in real time.

What you don't get​

  • Your tool's own processing, such as Adobe visits, eVar persistence or bot filtering. The adapter sees each event as the page sent it.
  • Properties outside the mapped fields. Attributes read only fields a schema declares, so properties that don't map to a standard Snowplow event or an external_event field, such as identify traits and GA4 user properties, aren't available. See Event mapping.
  • Stitching across keys without Snowplow Identities.

Where to start​

  1. Install the Snowplow plugin in your coding agent. It connects the agent to your Snowplow account through the Snowplow MCP server, and includes the existing-analytics skill.
  2. Open your tool's page and give your agent the prompt under Set up with an agent. The agent creates the external_event and external_identity schemas in your registry under your vendor, installs the recommended approach, and tests it in your Console development environment, a hosted Snowplow Micro included in every trial.
  3. Agree what personal data may reach Snowplow, and wire consent. See Privacy and consent.
  4. Create attribute groups for your use case. The signals skill in the same plugin can build and publish them for you.
  5. When you're ready, move to native Snowplow tracking one event at a time.

Set up without an agent​

If you don't use a coding agent, create the two schemas yourself before you follow the manual steps on your tool's page:

  1. Copy external_event.json and external_identity.json from the existing-analytics skill.
  2. Replace com.example in self.vendor with your vendor. Change nothing else: the adapters depend on the field names and limits.
  3. Create external_event as an event and external_identity as an entity, using the JSON editor, and deploy both to your development environment.

Until both schemas exist, every adapter event fails validation. Then test the adapter against your Console development environment: point it at the Collector endpoint under Pipelines, select Open dashboard, and check that events arrive with none failed. See Run Snowplow Micro through Console. When the events look right, switch to your pipeline's Collector.

Was this page helpful?