29 NEXT
  • Welcome to 29 Next Docs
  • About 29 Next
  • Changelog
  • Start Here
    • 🌟Get Started on 29 Next
      • General Settings & Branding
      • Link Domains
      • Invite Team Members
      • Add Locations & Languages
      • Checkout Settings & Policies
      • Customer Storefront Accounts
      • Fulfillment Settings
      • Support & Notifications
      • Add Payment Providers
    • ⚡Developer Docs
  • BUILD A STORE
    • 📦Products Catalogue
      • Add Products
      • Inventory
      • Product Variants
      • Gift Cards
      • Upsells & SEO Settings
      • Create Categories
      • Google Merchant XML Feed
      • Tax Settings
    • 🛒Storefront
      • Customer Accounts
      • Support Content
      • Custom Pages
      • Blogs
      • Storefront Redirects
    • 🪄Technical Settings
      • Metadata Fields & Tags
      • Configure Webhooks
      • Storefront API & Events
  • Manage Orders
    • 📥Orders
      • Create Orders
      • Order Management
      • Edit Orders
      • Refund Items & Orders
      • Create & Manage Returns
      • Order Statuses
      • Open Carts
      • Test Orders
    • 👥Customers Guide
      • Customer Carts
      • Checkout Links
    • 🔃Subscriptions Guide
      • Subscription Settings
      • Managing Subscriptions
      • Account Updater
      • Decline Salvage
      • Subscription Statuses
    • 📞Support Guide
  • Features
    • 🛍️Offers Guide
      • Create and Manage Offers
      • Product Ranges
      • Coupons
      • Shareable Coupon Links
      • Marketing Attribution
    • 💳Payments Guide
      • 3DS2 Payments
      • PayPal
      • Apple Pay
      • Google Pay
      • Stripe APMs
      • Authorize & Capture Payments
      • Disputes Guide
      • Block Lists
      • Payment Failure Cascading
      • Transaction Response Codes
    • 🚚Fulfillment Guide
      • Fulfillment Statuses
      • Location-Based Routing
      • Advanced Settings
  • Apps
    • 3PL Central
    • Avalara AvaTax
    • Campaigns App
    • Delivery Tracking
    • Everflow
    • Meta Pixel
    • Gorgias
    • Klaviyo
    • MaxMind minFraud
    • Chargeback360
    • TaxJar
    • ShipStation
    • Shop Sync
  • Analytics
    • Dashboards
    • Orders Reports
    • Customers Reports
    • Disputes Reports
    • Gift Card Reports
    • Fulfillment Reports
    • Transactions Reports
    • Support Ticket Reports
    • Subscription Reports
    • Tax Reports
    • Partner Marketing Reports
Powered by GitBook
On this page
  • Querystring Parameters
  • Last Click Attribution
  • Cookies
  • Data Storage

Was this helpful?

  1. Features
  2. Offers Guide

Marketing Attribution

Assign and collect marketing source attribution and affiliate marketing data points on orders

PreviousShareable Coupon LinksNextPayments Guide

Last updated 6 months ago

Was this helpful?

Pass marketing source attribution values with your orders to collect marketing and affiliate attribution data for visibility, and partner marketing postbacks - for example when using tracking extensions like .

Source attribution values are supported on the checkout and product pages, as well as on custom funnels integrated via the .

Pass , Affiliate / Sub-Affiliate, and Funnel values according to the unique source or marketing path. You may use the source attribution data when firing tracking pixels on the success / confirmation page.

Querystring Parameters

URL Parameter

Detail

Cookie

utm_source

The referrer: (e.g. google, newsletter)

marketing

utm_medium

Marketing medium: (e.g. cpc, banner, email)

marketing

utm_campaign

Product, promo code, or slogan (e.g. spring_sale)

marketing

utm_term

Identify the paid keywords

marketing

utm_content

Use to differentiate ads

marketing

funnel

Use to attribute funnels

marketing

gclid

Adwords click ID

marketing

evclid

Everflow Click ID

marketing

aff

Main affiliate / network

affiliate

sub1

Sub affiliate 1

affiliate

sub2

Sub affiliate 2

affiliate

sub3

Sub affiliate 3

affiliate

sub4

Sub affiliate 4

affiliate

sub5

Sub affiliate 5

affiliate

attribution_metadata.KEY=VALUE

Attribution Metadata key/value pair

marketing

clear_attribution

true (default) / false

marketing

Example URL Structures

  • https://my.29next.store/en/c/test-cm/landing/?aff=9876543&sub1=56&sub2=98&funnel=22&clear_attribution=true

  • https://my.marketingdomain.com/landing/?utm_source=affiliate&utm_medium=cpc&utm_campaign=camp1a&utm_term=skin+care&gclid=45ad-asdf234-vasdf&aff=9876543&sub1=56&sub2=98&funnel=v5

Last Click Attribution

29 Next applies a "Last Click" attribution model by default, meaning that attribution values are applied based on the most recent visit. You may customize and control this behavior using the custom querystring parameter clear_attribution

To preserve the "First Click" attribution values on a returning visitor, pass the querystring parameter clear_attribution=false

If you wish to apply additional attribution values to an existing visitor, you may pass clear_attribution=false in the querystring, along with the additional querystring parameters which will be saved alongside the intial values. The most recent attribution value will take precendence in case of a duplicated value -- for example existing sub4=abc and new click sub4=123, value of 123 will be applied on sub4 field.

Cookies

Two cookies are generated for the attribution data, split by marketing for UTM/Google parameters, and affiliate source values.

Cookie

Detail

Expires

AffiliateData

affiliate source data

1 day

MarketingData

marketing source data

browser close

sessionid

cm session id of user

browser close

Data Storage

The marketing source attribution data is kept in the cookies and sent to the store's database when a cart is created and associated to a customer. All marketing source attribution data is stored in its own data model, which can be queried from carts, orders, and subscriptions for reporting purposes.

🛍️
Everflow
Storefront
Admin API
Google UTM parameters
reporting