/snowplow:existing-analyticsfrom Snowplow
Forwards events from Segment, GA4, GTM, Amplitude, Adobe, PostHog, or RudderStack to Snowplow without retagging. Installs an adapter, creates schemas, and verifies event delivery.
Ships in Snowplow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
You are helping a user send the events their site already sends to another analytics tool to Snowplow, so Snowplow Signals can calculate attributes on them. An adapter maps each event from the tool to a Snowplow event and sends it to the user's Collector. The user keeps their existing tool.
Each tool has a tested setup in references/<tool>.md and reference mapping scripts in scripts/<tool>/. Start from them rather than writing a mapping from scratch: they already handle edge cases such as missing currencies, ID length limits, retries, and deduplication. Adapt them to the user's setup where it needs it, such as their event names, TypeScript, a bundler, or a framework's routing, as long as the output still follows the mapping contract and Identifiers and keys. The Signals guidance in Phase 5 depends on that output.
| Tool | Reference | Recommended approach |
|---|---|---|
| Segment | references/segment.md | Destination plugin in analytics.js |
| RudderStack | references/rudderstack.md | Custom device mode integration |
| GA4 and GTM | references/ga4-and-google-tag-manager.md | Snowplow tag templates in the web GTM container; the page script if gtag.js runs without GTM |
| Amplitude | references/amplitude.md | Destination plugin in the Browser SDK |
| Adobe | references/adobe.md | Web SDK onBeforeEventSend callback |
| PostHog | references/posthog.md | before_send hook in posthog-js |
The user-facing docs are at https://docs.snowplow.io/docs/signals/data-sources/existing-analytics.md.
analytics.load, rudderanalytics, gtag(, googletagmanager.com, amplitude.init, alloy(, s_gi or AppMeasurement, adobeDataLayer, posthog.init.Every adapter sends a generic external_event and attaches an external_identity entity to every event. These schemas aren't on Iglu Central: the user creates them in their own registry, under their own vendor. Until they exist in the environment the Collector validates against, every event fails validation, including page views.
list_schemas to find the user's vendor (the vendor their existing schemas use) and whether external_event and external_identity already exist. Ask the user to confirm the vendor.create_schema_version twice, with vendor set to the user's vendor and version 1-0-0. Take name, description, and the schema body (type, properties, required, additionalProperties) unchanged from references/schemas/external_event.json and references/schemas/external_identity.json. Use type: event for external_event and type: entity for external_identity. Change nothing else: the scripts depend on the field names and limits.promote_data_structure only after the user explicitly approves.com.example in self.vendor replaced by the user's vendor, and tell the user which merge publishes them.list_micros, or the pipelines with list_pipelines. Check that Signals is set up with list_signals_environments.list_source_apps.scripts/<tool>/ into the user's code, static assets, or tool configuration. Set the adaptation points the reference file names: the schema vendor, the Collector URL, the app ID, and the event-name lists for ecommerce and search events if the user's names differ from the tool's standard names. Adapt anything else the user's setup needs, and keep the edge-case handling unless it can't apply. Tell the user what you changed beyond the adaptation points.list_micro_events and get_micro_event, or get_failed_events_metrics and get_failed_event_detail on a pipeline, that the events in the reference file's "Check it works" list arrive and none failed.external_identity on every event, and the user ID only in user_id fields, never in domain_userid or anonymous_id.signals-setup. Otherwise hand over to signals to build attribute groups and interventions for the user's use case, passing on the facts in Attributes on adapter events.references/interventions.md.Every adapter maps an event the same way. It takes the first rung that fits:
page_view, with URL, title, and referrer in the standard fields.iglu:com.snowplowanalytics.snowplow.ecommerce/snowplow_ecommerce_action/jsonschema/1-0-2, with one product entity per product, and cart, checkout_step, transaction, or refund entities, shaped as the Snowplow ecommerce plugin sends them. Only events the tool defines as ecommerce take this rung. Missing required fields are handled per tool: Segment, RudderStack, PostHog, and the GA4 page script send an order with no currency or order ID as external_event; the GA4 GTM tag templates don't check, so a GA4 order missing those fields fails validation (see the reference); Adobe fills USD and unknown; Amplitude uses the event's insert_id as the order ID. Each reference file says which.iglu:com.snowplowanalytics.snowplow/site_search/jsonschema/1-0-0, with the term in terms.iglu:com.snowplowanalytics.snowplow/identify/jsonschema/1-0-0, holding the user ID only. Traits are dropped.com.google.tag-manager.server-side for recommended events such as sign_up, generate_lead, and share, which every GA4 approach sends. com.google.ga4 for user_engagement, and com.google.ga4.enhanced-measurement for Enhanced Measurement events such as scroll; only server-side GTM sends these two.iglu:<vendor>/external_event/jsonschema/1-0-0 for everything else, with typed fields only: name (the tool's event name), tool (lower case, such as segment), kind (track, identify, group, alias, screen, or page), value, currency, item_id, item_category, search_term, plan, group_id, and previous_id.Every event also carries the iglu:<vendor>/external_identity/jsonschema/1-0-0 entity: tool (required), anonymous_id, user_id, session_id, session_number (GA4 only), event_name, and event_id (the tool's own event ID, such as a Segment messageId). It's sent with a null anonymous_id when the tool hasn't set its ID yet.
domain_userid and domain_sessionid. These are the only keys safe on the public intervention endpoint.domain_userid: Segment and RudderStack anonymousId, GA client ID, Amplitude device_id, Adobe ECID, PostHog $device_id. Only PostHog ($session_id) and Amplitude (a key built from device_id and session ID) have sessions. Read these attributes from the user's backend only. Never deliver interventions to them.$device_id, the adapter treats distinct_id as anonymous. See references/posthog.md.user_id and group_id are never safe on the public endpoint. Read them from the backend through the Profiles API.snowplow_id (needs Snowplow Identities on the pipeline).When handing over to signals, pass on these facts:
external_event and external_identity.external_event type, so each attribute on it needs a criteria filter on name, using the tool's event name exactly.snowplow_ecommerce_action type with the product and transaction entities. One attribute reads one product entity per event.domain_userid and session groups on domain_sessionid. Session groups on server-side approaches work only on PostHog and Amplitude.ttl to 365 days (the Time to live (TTL) field in Console).domain_userid and network_userid, and user IDs over 255 characters are truncated in user_id and external_identity.user_id.external_event doesn't have, track that event natively instead: https://docs.snowplow.io/docs/signals/data-sources/existing-analytics/move-to-native-tracking.md.external_event version: the scripts are written against 1-0-0.ajs_user_id). Fix with a Collector on another site, or credentials: 'omit' in newTracker.references/ga4-and-google-tag-manager.md. Other server-side destinations forward everything the tool ingests. Gate loading the Snowplow tracker on the same consent signal as the tool.list_schemas — find the user's vendor and whether external_event and external_identity exist and are deployedcreate_schema_version — create the two schemas under the user's vendorpromote_data_structure — promote the schemas to production, after explicit approvalsearch_iglu_central — check Snowplow's and Google's schemas the adapters uselist_pipelines — find Collector endpointslist_micros — find the Console development environment for testinglist_micro_events — check which test events arrived and why any failedget_micro_event — read one test event in fullget_failed_events_metrics — failed event counts on a pipelineget_failed_event_detail — why a pipeline event failedlist_signals_environments — check that Signals is set uplist_source_apps — reuse an existing app IDreferences/adobe.md (opens in a new tab)references/amplitude.md (opens in a new tab)references/ga4-and-google-tag-manager.md (opens in a new tab)references/interventions.md (opens in a new tab)references/posthog.md (opens in a new tab)references/rudderstack.md (opens in a new tab)references/schemas/external_event.json (opens in a new tab)references/schemas/external_identity.json (opens in a new tab)references/segment.md (opens in a new tab)scripts/adobe/appmeasurement-mapping.js (opens in a new tab)scripts/adobe/event-forwarding-converter.js (opens in a new tab)scripts/adobe/snowplow-adobe.js (opens in a new tab)scripts/adobe/web-sdk-mapping.js (opens in a new tab)scripts/amplitude/amplitude-snowplow.js (opens in a new tab)scripts/amplitude/amplitude-webhook-template.ftl (opens in a new tab)scripts/ga4-and-google-tag-manager/ladder.js (opens in a new tab)scripts/posthog/converter.js (opens in a new tab)scripts/posthog/snowplow-collector-destination.hog (opens in a new tab)scripts/rudderstack/rudderstack-snowplow-adapter.js (opens in a new tab)scripts/rudderstack/transformation-entry.js (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/console-operationsCreate, update, or delete Snowplow Console resources — enrichment configuration, data quality alerts, source applications, and tracking plans. Use when the user wants to mutate Console state. For read-only inspection use the pipeline-infrastructure or tracking-design skills instead. Triggers: create alert, update enrichment, add source app, create tracking plan, enable enrichment./implementation-guidanceHelp developers instrument Snowplow trackers in their applications, either by writing tracker code directly or by generating type-safe code with Snowtype. Use when users ask how to send events, configure trackers, or write tracking code. Use this skill whenever a user wants to add analytics, instrument an app, or write tracker code, even if they don't name Snowplow explicitly. Triggers: tracker code, instrument app, send events, JavaScript tracker, iOS tracker, Android tracker, Snowtype, generate tracking code.Other plugins' skills for the same job
/onboardingGuided Snowplow setup that demonstrates the value of the product end to end: create a demo app when there is no app to work on, plan what to track, implement the tracking, test that the events arrive, and query the collected data. Offer it when a user asks vaguely what the agent can do with Snowplow, where to start, or how to get going after signing up for a trial, and run it only when they accept or explicitly ask for the walk-through. Does not trigger on a specific task such as adding an event, designing a schema or fixing a tracker. Triggers: what can you do with snowplow, where do I start with snowplow, how do I get started with snowplow, I just signed up for snowplow, new to snowplow, help me with snowplow, snowplow trial, walk me through snowplow onboarding.
npx claudepluginhub snowplow/skills --plugin snowplow