Marketing Attribution
Assign and collect marketing source attribution and affiliate marketing data points on orders
Source attribution values are supported on the Storefront checkout and storefront Funnels, as well as on custom funnels integrated via the Admin API.
Pass Google UTM parameters, Affiliate / Subaffiliate, 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.
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 |
Example URL Structures
- https://my.29next.store/en/c/test-cm/landing/?aff=9876543&sub1=56&sub2=98&funnel=22
- 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
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 |
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 modified 5mo ago