Skip to content

Shopify social media resource

How Shopify social media sales attribution works

Learn how Flockly uses available Shopify journey signals to report social-attributed orders and revenue, plus the limits that can leave valid influence uncounted.

Shopify social media sales attribution connects an order with the visit information available in the customer's store journey. Flockly uses verified tracking on links it controls first, then recognised Shopify UTM information, then a recognised visit source or referrer. When that evidence identifies Instagram, Facebook, TikTok, X, LinkedIn, Pinterest or a tracked Shop Grid visit, Flockly can include the order and its value in social-attributed reporting. The result is useful measurement, but it is narrower than total Shopify revenue and cannot capture every way social media influences a purchase.

What Shopify journey data contains

Shopify represents the path to an order through customer journey and visit records. Shopify's official CustomerJourneySummary documentation describes first and last sessions leading to an order. Its CustomerVisit documentation includes visit source, referrer URL and UTM parameters among the available attribution fields.

Those fields are signals, not a complete recording of everything a shopper saw. A first visit can show how the current journey began. A last visit can show the session immediately before the order. A UTM source can preserve campaign information attached to a link. A referrer can identify the site or app that sent the visitor when that information reaches Shopify.

Shopify also explains that marketing reports can compare attribution models such as first click, last click, last non-direct click, any click and linear attribution. Those selectable Shopify report models are described in the Shopify marketing reports guide. Flockly's social reporting is not a replacement for those models. It is a focused classification of the available first-visit and last-visit signals into supported social channels and Shop Grid.

How Flockly classifies an attributed order

Flockly checks the first- and last-visit data available with an order using a conservative evidence order:

  1. A verified Flockly link with a stable Flockly content identifier.
  2. A recognised Shopify UTM source.
  3. A recognised visit source or referrer.
  4. Unattributed when none of those signals is sufficient.

A recognised Instagram signal maps to Instagram, a Facebook signal maps to Facebook, and the same pattern applies to TikTok, X, LinkedIn and Pinterest. Shop Grid uses its own source so grid activity remains separate from direct visits from a social network. Flockly does not guess a channel from unrelated order or customer information.

If a recognised signal is present, Flockly adds the order value to social-attributed revenue and adds one attributed order to the relevant channel view. Average order value is then calculated as attributed revenue divided by attributed orders. On every plan, the account overview combines recognised social and Shop Grid outcomes for the selected reporting period.

This method should not be described as first-click, last-click or multi-touch attribution. Flockly examines available first and last visit signals, but it does not distribute fractional credit across every interaction. It also does not prove that one organic post alone caused the purchase. The accurate explanation is that the available Shopify journey connects the order with a recognised social or Shop Grid visit. For the in-product definitions, see How Flockly revenue attribution works.

UTM parameters give Shopify structured campaign information when a shopper follows a tagged link. On supported links Flockly adds a conventional network source, an organic_social medium, a stable campaign identifier where one exists and a stable post/content identifier where one exists. Existing merchant query parameters are preserved. Posts created outside Flockly can still be recognised when their journey data contains a supported social referrer or a UTM source that identifies the channel.

Shop Grid uses a more specific tracked redirect. When a visitor selects an eligible product tile or custom link, Flockly records an anonymous aggregate click, adds a Shop Grid source and content identifier, then sends the visitor to the merchant's chosen destination. This lets Growth and Scale reporting separate grid clicks, grid-attributed orders and grid-attributed revenue. A content identifier can also associate a qualifying grid outcome with a grid post tile.

Tracking does not make the journey perfect. A tagged link can be removed, copied without its parameters or followed on one device before checkout happens on another. Referrer information can also be withheld. New Flockly link tracking improves evidence only for journeys that happen after those links are published; it cannot retroactively add information to historical orders. Tracking improves the available evidence, but it does not guarantee that every influenced sale will be recognised. Read Shop Grid plans, clicks and attribution for the grid-specific scope.

What each Flockly plan reports

Every plan includes an overview of social-attributed Shopify revenue, including verified Shop Grid outcomes. Growth and Scale add attributed sales by channel and detailed Shop Grid clicks, orders and revenue, allowing the merchant to compare the recognised outcomes connected with individual supported networks and the grid.

The available views are deliberately different from complete Shopify revenue:

  • Attributed revenue is the order value attached to recognised social and Shop Grid journeys on every plan.
  • Attributed orders is the number of orders whose available signals matched that classification.
  • Attributed average order value is attributed revenue divided by attributed orders.
  • Sales by channel divides recognised outcomes by supported network on Growth and Scale.
  • Shop Grid attribution separates tracked grid clicks and qualifying Shopify outcomes on Growth and Scale.

The current plan comparison is available in Flockly plans and features. The selected Analytics range applies exactly to Shopify revenue attribution; Flockly does not apply a separate 30- or 60-day Shopify revenue clamp. Social-network performance still follows the history and provider limits documented for each plan and network.

How historical order coverage works

Shopify normally limits apps with only read_orders to the latest 60 days. Flockly also uses Shopify-approved read_all_orders access so its order backfill can retrieve older orders needed for the selected Analytics range. See Shopify's official API access scopes documentation.

Flockly paginates the initial history from Shopify and stores a privacy-minimal normalized attribution record for each order. It then incrementally synchronizes newer and changed orders. Date-picker changes query that normalized history instead of downloading months of Shopify orders again. Retries safely update the same order rather than duplicating its revenue.

An initial or extended historical sync can take time. Until the selected period has been covered, Flockly treats the attribution result as still collecting or unavailable rather than presenting a fabricated zero. Historical records use only the journey, UTM and referrer evidence Shopify actually provides for those orders.

Some stores or orders may not expose customer-journey data. If Shopify does not provide those fields, Flockly can still use plain order totals where available, but it cannot manufacture social attribution from missing evidence.

Why a genuine social influence may not be counted

Attribution follows observable signals. Real customer behaviour often contains gaps. A socially influenced order can be missing when:

  • the shopper discovers the product on social but later types the store address directly;
  • discovery happens on a phone and checkout happens on another device;
  • a browser, proxy, privacy setting or blocker withholds referrer or campaign information;
  • the customer returns through email, search or another campaign before ordering;
  • a copied link loses its UTM parameters;
  • Shopify does not provide enough journey data for that order; or
  • the selected historical range is still being synchronized.

Shopify's own marketing documentation notes that referrer information can be unavailable because of browser privacy settings, proxies, firewalls and shortened URLs. It also treats direct, search, email, social and unknown as distinct referrer sources. Flockly does not claim direct, email or unrelated campaign visits as social revenue merely because the merchant also posts on social.

Paid social activity can appear in a channel view when its UTM source or referrer identifies that network. The current Flockly total should therefore be described as recognised channel attribution, not an organic-only figure. For troubleshooting examples, read Why an order may not be attributed.

Interpret social-attributed revenue responsibly

Use attributed revenue to compare recognised journeys and to ask better questions. A rise in one channel's attributed orders might justify reviewing the products, messages and destinations used there. Strong Shop Grid clicks with few attributed orders might point to a mismatch between the tile and its destination. A higher attributed average order value can suggest that a channel is bringing valuable recognised orders, but it does not by itself prove incremental profit.

Always compare like with like:

  1. Use the same reporting period for revenue and orders.
  2. Check whether an older selected period is still being synchronized.
  3. Confirm whether the plan includes channel or Shop Grid detail.
  4. Treat Not available as missing source data, not zero.
  5. Compare Flockly's focused social view with complete Shopify reporting.
  6. Record changes in links, offers and campaigns before explaining a movement.

Flockly attribution is not an audited financial record, a complete measure of social influence or a promise of return on investment. Shopify remains the source of truth for complete store orders and revenue. Flockly provides a narrower view of the social and Shop Grid journeys it can recognise from the data Shopify makes available.

Sources reviewed