Comment on page
Assign and collect marketing source attribution and affiliate marketing data points on orders
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.
Example URL Structures
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
To preserve the "First Click" attribution values on a returning visitor, pass the querystring parameter
If you wish to apply additional attribution values to an existing visitor, you may pass
clear_attribution=falsein 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=abcand new click
sub4=123, value of
123will be applied on
Two cookies are generated for the attribution data, split by marketing for UTM/Google parameters, and affiliate source values.
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.