Marketing Attribution

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

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

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

Pass Google UTM parameters, 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.

Last updated