First-touch attribution

Last-click credits the closer. Motif credits the introducer, then ranks channels by the money that followed.

A wax seal on a cube path that later arrows cannot overwrite.

What gets stored

Precedence on the first event: utm_source and utm_medium, then a known ad-click id, then a first-party Chrome extension surface (path /extension-login, query ext_id, or a chrome-extension referrer), then a normalized referrer host. Everything else is Direct / unknown. Later visits do not overwrite first touch.

Chrome extensions that open the product

That extension surface is first-touch chrome_extension, medium campaign, label Chrome extension. The stored referrer is the scheme chrome-extension, never the extension id. UTM and gclid on the same URL still win. Motif's own toolbar extension never calls collect. Open the product from existing extension code. Do not load m.js in the service worker.

AI assistants are a channel

A click whose referrer is a dedicated assistant host (chatgpt.com, claude.ai, perplexity.ai, gemini.google.com, copilot.microsoft.com, grok.x.com, you.com, and the rest Motif classifies) is first-touch ai_assistant. That is a person. GPTBot is a crawler, not a visit. google.com search and x.com posts are not assistants.