Skip to content

Coming soonto the Shopify App Store and the Klaviyo Marketplace

See where every Shopify order came from, right in Klaviyo.

Whence reads the customer journey Shopify records for each order — first and last visit, UTM parameters, referrer and landing page — and sends it to Klaviyo as an Attributed Order event and first- and last-touch profile properties. Visits from AI assistants get a channel of their own.

No tracking scripts. Nothing is added to your storefront.

Attributed Order
Example
Event on the buyer’s Klaviyo profile
first_utm_source
newsletter
first_utm_medium
email
first_utm_campaign
spring_launch
last_utm_source
chatgpt.com
referrer
https://chatgpt.com/
ai_channel
chatgpt
ai_channel_status
confirmed

Profile properties

Whence First Touch Source
newsletter
Whence First Touch Medium
email
Whence Last Touch Source
chatgpt.com
Whence Last AI Channel
chatgpt

How it works

From Shopify’s customer journey to Klaviyo, for every order

Whence connects to Shopify as an app and to Klaviyo with OAuth. After that there is nothing to tag, configure or maintain on your storefront.

  1. A new order comes in

    Shopify tells Whence that an order was created. The notification carries the order ID and nothing else.

  2. Whence reads its journey

    Once Shopify has the order’s customer journey ready, Whence reads the first and last visit — UTM parameters, referrer and landing page — plus the order email, used only to find the customer’s Klaviyo profile.

  3. Klaviyo gets the attribution

    One Attributed Order event on the buyer’s profile, plus first- and last-touch properties you can segment and personalize on.

In Klaviyo

An event and profile properties you can build on

Everything comes from the customer journey Shopify records for the order. Whence sends it through Klaviyo’s own APIs, next to the data you already have.

An Attributed Order event

Source, medium, campaign, content and term of the first and last visit, with referrer, landing page and order value. Ready for flows, segments and reports.

  • first_utm_*
  • last_utm_*
  • landing_page
  • referrer
First touch, kept

First-touch properties belong to the customer’s oldest order. Later orders never overwrite them, so you keep the channel that first brought each customer in.

  • Whence First Touch …
Last touch, updated

Last-touch properties follow each newer order, so profiles always show the most recent way back to your store.

  • Whence Last Touch …
AI assistant channel

When the visit shows it came from ChatGPT, Perplexity, Gemini, Copilot or Claude — or another assistant — the event and the profile say so.

  • ai_channel
  • Whence First AI Channel
  • Whence Last AI Channel

AI assistants

AI traffic, only when the visit proves it

Whence looks at the visit’s referrer first, then its utm_source, then the utm_source on the landing page. Links opened from the assistants’ Android apps count too.

A visit with no signal stays unclassified: direct traffic is never labeled as AI, and a search engine such as bing.com is not counted as Copilot.

  • ChatGPTchatgpt

    chatgpt.com · chat.openai.com

  • Perplexityperplexity

    perplexity.ai

  • Geminigemini

    gemini.google.com · bard.google.com

  • Copilotcopilot

    copilot.microsoft.com · copilot.cloud.microsoft

  • Claudeclaude

    claude.ai

  • Other assistantsother_ai

    grok.com · x.ai · chat.deepseek.com · deepseek.com · you.com · poe.com · meta.ai · chat.mistral.ai · phind.com · duck.ai

Clean data

Rules Whence never breaks

  • No invented UTMs

    If Shopify recorded no value, the field stays empty. No made-up “direct”, “none” or “unknown”.

  • No erased profile data

    Empty values are never written to profiles, so Klaviyo never clears a property you already have.

  • Placed Order untouched

    Your native Placed Order metric, and everything built on it, keeps working as before. Whence adds its own event next to it.

  • No duplicate events

    Each order produces one event, keyed to its order ID, however many times a delivery is retried.

Data & security

Built to touch as little data as possible

Whence answers Shopify’s privacy webhooks, including customer and shop erasure requests. Read the privacy policy.

Minimal access

One Shopify scope, read_orders. The only customer detail it reads is the email address, to find their Klaviyo profile. It goes straight to Klaviyo and Whence never stores it.

Stored in the EU

Whence’s database runs on Cloudflare in the EU jurisdiction. It holds sync state — never customer emails, names or addresses.

Encrypted credentials

Shopify and Klaviyo access tokens are encrypted with AES-256-GCM. Klaviyo connects through OAuth with PKCE, never an API key.

Nothing on your storefront

No scripts, pixels or cookies are added to your store. Whence only reads what Shopify already recorded for the order.

Coming soon to the Shopify App Store and the Klaviyo Marketplace.

Questions about Whence, or about attribution for your store? Write to us.

support@getwhence.app