What is Affiliate Code? Affiliate Marketing Glossary
By clicking "Accept", you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View our Privacy Policy for more information.
Preferences
Reject
Accept
[Powered by\
Manage Consent Preferences
Essentials
Always active
Necessary for the site to function. Always On.
Name
rc::c
Description
Used by Google reCAPTCHA to store challenge state and token data
Type
Session Storage
Retention:
Session in browser local storage
Name
rc::a
Description
Used by Google reCAPTCHA to store internal session analytics and risk scoring data for bot detection
Type
Local Storage
Retention:
Persistent in browser local storage until manually cleared
Name
__Secure-YNID
Description
It's a YouTube cookie used to enhance user experience by storing video player preferences and aiding in secure log-ins and spam detectio
Type
Cookie
Retention:
180 days
Name
_GRECAPTCHA
Description
Risk analysis and spam prevention for forms.
Type
Cookie
Retention:
6 months
Stripe
Name
__stripe_sid
Description
Session identifier used for payment fraud prevention.
Type
Cookie
Retention:
30 minutes
Name
__stripe_mid
Description
Fraud prevention and device identification during billing.
Type
Cookie
Retention:
1 year
Cloudflare
Name
_cfuvid
Description
Security and rate-limiting identifier.
Type
Cookie
Retention:
session
Name
__cf_bm
Description
Bot management and security protection cookie.
Type
Cookie
Retention:
30 Minutes
LeadDyno
Name
_leaddyno_session
Description
Maintains authenticated user session, CSRF protection, flash messages, and login state.
Type
Cookie
Retention:
session / 24 hours
Name
LD_APP_SID
Description
App session identifier used to track signed-in merchant sessions.
Type
Cookie
Retention:
30 minutes
Analytics
Analytics
Measures usage and improves your experience.
Zendesk Widget
Name
ZD-suid
Description
This cookie is used to create a sessionId and track analytics events for pages that load a Web Widget on them.
Type
Local Storage
Retention:
20 minutes
Name
ZD-buid
Description
This cookie is used to create a deviceId and track analytics events for pages that load a Web Widget on them.
Type
Session Storage
Retention:
forever
optibase.io
Privacy Policy
Name
optibaseCachedInitializeResponse-testsfalse-conversionsfalse
Description
Store cached experiment configuration and conversion settings to run AB tests and measure conversions across visits.
Type
Local Storage
Retention:
30 days
Statsig
Name
statsig.stable_id.501823423
Description
Statsig SDK cache data for feature gates, experiments, and evaluation results
Type
Local Storage
Retention:
Persistent in browser local storage until manually cleared
Name
statsig.stable_id.184042872
Description
Statsig SDK cache data for feature gates, experiments, and evaluation results
Type
Local Storage
Retention:
Persistent in browser local storage until manually cleared
Name
statsig.session_id.184042872
Description
Statsig SDK cache data for feature gates, experiments, and evaluation results
Type
Local Storage
Retention:
Persistent in browser local storage until manually cleared
Name
STATSIG_LOCAL_STORAGE_STABLE_ID
Description
Stores a stable device identifier for Statsig feature flag and experiment assignment
Type
Local Storage
Retention:
Persistent in browser local storage until manually cleared
Sprig
Name
userleap.ids
Description
Stores anonymous user identifiers for Sprig (formerly UserLeap) to enable survey targeting and user research
Type
Local Storage
Retention:
Persistent in browser local storage until manually cleared
Name
sprig.disableReplayRecording
Description
Stores a flag indicating whether Sprig session replay recording is disabled for the current user
Type
Session Storage
Retention:
Persistent in browser local storage until manually cleared
Name
sprig.anon.env.vid.map
Description
Maps anonymous visitor IDs to Sprig environments for consistent user targeting across sessions for in-product surveys
Type
Local Storage
Retention:
Persistent in browser local storage until manually cleared
PostHog
Name
ph_phc_5bpupckWJHmhrnZoZJ8m6EZyAjqL7SMZVClK66wP33M_window_id
Description
Used by PostHog Analytics to get insights into user behavior and track events.
Type
Session Storage
Retention:
Configurable by customer, default 7 years for events
Name
ph_phc_5bpupckWJHmhrnZoZJ8m6EZyAjqL7SMZVClK66wP33M_primary_window_exists
Description
Used by PostHog Analytics to get insights into user behavior and track events.
Type
Session Storage
Retention:
Configurable by customer, default 7 years for events
Name
ph_phc_5bpupckWJHmhrnZoZJ8m6EZyAjqL7SMZVClK66wP33M_posthog
Description
Used by PostHog Analytics to get insights into user behavior and track events.
Type
Session Storage
Retention:
Configurable by customer, default 7 years for events
HubSpot
Name
hubspotutk
Description
Used for user authentication and visitor identification
Type
Cookie
Retention:
2 years
Name
__hstc
Description
Used for website analytics to track visitors and sessions
Type
Cookie
Retention:
2 years
Name
__hssrc
Description
Used for website analytics to determine if the visitor has restarted their browser
Type
Cookie
Retention:
Session
Name
__hssc
Description
Used for website analytics to track session data
Type
Cookie
Retention:
30 minutes
Google Analytics
Name
_gid
Description
Distinguishes users for analytics reporting.
Type
Cookie
Retention:
24 hours
Name
_ga_Z8EST880Z8
Description
Used by Google Analytics 4 to collect data on the number of times a user has visited the website as well as dates for the first and most recent visit
Type
Cookie
Retention:
2 years
Name
_ga_K4P5RLZ8KR
Description
Used by Google Analytics 4 to collect data on the number of times a user has visited the website as well as dates for the first and most recent visit
Type
Cookie
Retention:
2 years
Name
_ga
Description
Registers a unique ID that is used to generate statistical data on how the visitor uses the website
Type
Cookie
Retention:
2 years
Marketing
Marketing
Used for targeted advertising.
YouTube
Name
ytidb::LAST_RESULT_ENTRY_KEY
Description
Stores the last search result entry that was clicked by the user to improve the user experience by providing more relevant search results in the future
Type
Local Storage
Retention:
Persistent in browser local storage until manually cleared
Name
YSC
Description
Used to track user interactions and measure advertising effectiveness for embedded videos
Type
Cookie
Retention:
Session
Name
VISITOR_PRIVACY_METADATA
Description
Stores visitor privacy settings and consent information for personalized advertising
Type
Cookie
Retention:
5 months
Name
VISITOR_INFO1_LIVE
Description
Used as a unique identifier to track viewing of videos and estimate bandwidth usage
Type
Cookie
Retention:
5 months
calendly.com
Privacy Policy
Name
_mf
Description
Maintain a temporary session identifier to recognize the user and support secure scheduling during the visit.
Type
Session Storage
Retention:
session
Name
_cache
Description
Stores cached scheduling and preference data needed to load Calendly widgets and pages quickly and keep users signed in.
Type
Local Storage
Retention:
persistent
Name
1
Description
Maintain and identify the user session to enable secure Calendly scheduling flows and related authentication on embedded pages.
Type
Session Storage
Retention:
session
Meta
Name
lastExternalReferrerTime
Description
Detects how the user reached the website by registering their last URL-address
Type
Local Storage
Retention:
Persistent
Name
lastExternalReferrer
Description
Detects how the user reached the website by registering their last URL-address
Type
Local Storage
Retention:
Persistent
Name
_fbp
Description
Used by Facebook to deliver a series of advertisement products such as real time bidding from third party advertisers
Type
Cookie
Retention:
3 months
Name
li_adsId
Description
Stores a unique visitor identifier used by LinkedIn Ads for conversion tracking and audience matching across sites using the LinkedIn Insight Tag
Type
Local Storage
Retention:
30 days
Google Analytics
Name
_gcl_ls
Description
Used by Google AdSense to understand user interaction with the website by generating analytical data
Type
Local Storage
Retention:
90 days
Name
_gcl_au
Description
Used by Google Ads to take information from ad clicks and store it in a first-party cookie so that conversions can be attributed outside the landing page
Type
Cookie
Retention:
3 months
Name
LD_U
Description
Track and attribute affiliate marketing visits, including initial landing page, to measure campaign performance and payouts.
Type
Cookie
Retention:
13 months
Name
LD_T
Description
Store a unique visitor ID so affiliate clicks, leads and purchases can be linked and commissions attributed.
Type
Cookie
Retention:
100 years
Name
LD_S
Description
Stores internal state needed to periodically send visit and lead data for affiliate attribution and marketing analytics.
Type
Cookie
Retention:
5 minutes
Name
id
Description
This cookie is used for targeting, analyzing and optimisation of ad campaigns in DoubleClick/Google Marketing Suite
Type
Session Storage
Retention:
2 months
Name
__gtm_campaign_url
Description
Stores campaign and referrer URL for signup attribution
Type
Cookie
Retention:
persistent
Name
__Secure-ROLLOUT_TOKEN
Description
Registers a unique ID to keep statistics of what videos from YouTube the user has seen.
Type
Cookie
Retention:
180 days
LeadDyno
Name
LD_R
Description
Stores referring URL for affiliate attribution tracking.
Type
Cookie
Retention:
session
Name
LD_L
Description
Stores identified lead information for affiliate attribution.
Type
Cookie
Retention:
persistent
Name
LD_H
Description
Integrity hash linking visitor activity to lead records.
Type
Cookie
Retention:
persistent
Personalization
Personalization
Remembers your preferences and provides enhanced features.
YouTube
Name
yt-icons-last-purged
Description
Store a timestamp of when YouTube icon assets were last cleared so the embedded player can load interface graphics efficiently and consistently.
Type
Local Storage
Retention:
persistent
figma.com
Privacy Policy
Name
initialPathName
Description
Store the initial URL path a user visits so the app can restore or adapt navigation flows during the current session.
Type
Session Storage
Retention:
session
LeadDyno
Name
reportings_affiliate_status_filter
Description
Stores affiliate status filter preference.
Type
Cookie
Retention:
session
Name
reportings_affiliate_daterange
Description
Stores reporting date range filter preference.
Type
Cookie
Retention:
session
Name
affiliates_tab_daterange
Description
Remembers selected date range on affiliate dashboard.
Type
Cookie
Retention:
session
Name
affiliates_only
Description
Stores affiliate-only reporting view preference.
Type
Cookie
Retention:
session
Reject All
Accept All
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Preferences
/
/
Affiliate Code
A unique tracking code assigned to an affiliate. It helps identify which affiliate referred a visitor, lead, or customer.
What is an Affiliate Code?
An affiliate code is a unique tracking code assigned to an affiliate and used to identify their referrals.
An affiliate code helps the tracking system know which affiliate sent a visitor, lead, or customer to a business. It is often included inside the affiliate’s referral link, and in some programs, it can also be used as a discount or coupon code.
When an affiliate joins a affiliate program, their affiliate code becomes part of their unique tracking setup. It helps the affiliate software recognize that a visitor came from that particular affiliate so eligible conversions can be attributed to the correct partner.
This allows the business to see which affiliates are generating traffic and sales and calculate commissions accordingly.
In LeadDyno, the affiliate code is the affiliate-specific value used in the affiliate URL. For example:
yourstore.com/?afmc=sarah10In this example, ?afmc= is the LeadDyno tracking parameter, and sarah10 is the affiliate code. When someone clicks that link, LeadDyno can associate the visit with Sarah’s affiliate record.
How affiliate codes work
When an affiliate joins a program, they may be given a default affiliate code. Depending on the program settings, the merchant or affiliate may also be able to customize that code.
For example:
- Default affiliate link:
yourstore.com/?afmc=399 - Custom affiliate link:
yourstore.com/?afmc=sarah10
If a customer clicks Sarah’s link, the affiliate code tells the tracking system that Sarah referred the visitor. If that visitor later signs up, becomes a lead, or makes a purchase within the program’s tracking rules, Sarah can receive credit.
Affiliate codes may also be used as coupon codes on some ecommerce platforms and integrations. In that case, a customer might enter the affiliate’s code at checkout, and the system can use that code to connect the purchase back to the affiliate.
Affiliate code vs. affiliate link
An affiliate code and an affiliate link are closely connected, but they aren't exactly the same thing.
The affiliate code identifies the affiliate, while the affiliate link is the URL the affiliate shares with potential customers.
- Affiliate code:
sarah10 - Affiliate link:
yourstore.com/?afmc=sarah10
In simple terms, the affiliate code is one part of the affiliate link. The affiliate link is what the affiliate shares, while the affiliate code is the identifier inside the link that tells the tracking system which affiliate should get credit.
Affiliate codes may also be used as coupon or discount codes in some integrations. Affiliate links, on the other hand, are mainly used to send visitors to a website and track the click.
More resources
.avif)\ \ Shopify Affiliate Tracking 101: What It Is and How It Works\ \ A full guide to using Shopify affiliate tracking for your e-commerce affiliate program, including definitions, tools, and issues to avoid.\ \ 10/14/2025\ \ arrow icon\ \ Read More](/content/blog/shopify-affiliate-tracking-guide/index.html)
\ \ LeadDyno Recognized as 2023 GetApp Affiliate Category Leader\ \ 2023 GetApp Category Leader\ \ 2/1/2024\ \ arrow icon\ \ Read More](/content/blog/leaddyno-getapp-affiliate-category-2023/index.html)
\ \ AI Rules for Affiliate Marketing: A 2026 Guide to the EU AI Act\ \ The EU AI Act now requires disclosure when AI creates or alters content. Here's what that means for your affiliate program, your affiliates,\ \ 8/25/2026\ \ arrow icon\ \ Read More](/content/blog/ai-rules-for-affiliate-marketing-eu-ai-act-guide/index.html)
Get Started Today
Launch your affiliate program with confidence thanks to our 30-day free trial. Begin building a program that delivers results.
30 Days Free
Arrow