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](/content/leaddyno-global-privacy-policy/index.html) for more information.

Preferences

Reject

Accept

[Powered by\\

Manage Consent Preferences

Essentials

Always active

Necessary for the site to function. Always On.

Google

[Privacy Policy](https://policies.google.com/privacy)

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

[Privacy Policy](https://stripe.com/cookie-settings/)

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

[Privacy Policy](https://developers.cloudflare.com/fundamentals/reference/policies-compliances/cloudflare-cookies/?utm_source=chatgpt.com)

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

[Privacy Policy](/content/leaddyno-global-privacy-policy/index.html)

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

[Privacy Policy](https://www.zendesk.com/company/privacy-and-data-protection/)

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

[Privacy Policy](https://www.statsig.com/privacy)

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

[Privacy Policy](https://sprig.com/privacy)

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

[Privacy Policy](https://posthog.com/privacy)

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

[Privacy Policy](https://legal.hubspot.com/privacy-policy)

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

[Privacy Policy](https://policies.google.com/privacy)

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

[Privacy Policy](https://policies.google.com/privacy)

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

[Privacy Policy](https://www.facebook.com/privacy/policy)

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

LinkedIn

[Privacy Policy](https://www.linkedin.com/legal/privacy-policy)

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

[Privacy Policy](https://policies.google.com/privacy)

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

Google

[Privacy Policy](https://policies.google.com/privacy)

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

[Privacy Policy](/content/leaddyno-global-privacy-policy/index.html)

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

[Privacy Policy](https://policies.google.com/privacy)

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

[Privacy Policy](/content/leaddyno-global-privacy-policy/index.html)

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

[Log In](https://app.leaddyno.com/users/sign_in) [Start a Free Trial](https://app.leaddyno.com/signup)

[Home](/content/site-root.html)

/

[Glossary](/content/glossary/index.html)

/

[API](/content/glossary/api/index.html)

# API

A connection that lets software systems exchange data or trigger actions.

## Definition

_‍_ An _API_, short for _Application Programming Interface_, is a set of rules that allows different software applications to communicate with each other. In simple terms, an API acts like a messenger between two systems. It lets one application request information or trigger an action in another application without needing to understand how that system works behind the scenes.

For example, when an ecommerce store connects to an affiliate marketing platform like LeadDyno, an API can help pass important data between the two systems. This might include customer purchases, referral information, affiliate commissions, discount codes, or order details. The store does not need to manually send this information. Instead, the API allows the systems to share it automatically.

APIs are used everywhere online. When you check the weather on your phone, book a hotel, pay through a checkout page, log in with Google, or connect your store to a marketing tool, there is likely an API working in the background.

## How does an API work?

_‍_ An API works by allowing one system to send a request and another system to send back a response.

A simple way to understand this is to imagine a restaurant. You, the customer, do not walk into the kitchen to prepare your food. Instead, you give your order to a server. The server takes your request to the kitchen, the kitchen prepares the meal, and the server brings it back to you.In this example:

- You are the application asking for something
- The server is the API
- The kitchen is the system that holds the data or performs the action
- The meal is the response

APIs create a structured way for software tools to exchange information safely and efficiently.

## Why are APIs important?

_‍_ APIs are important because modern businesses often rely on multiple software tools. A company might use one platform for ecommerce, another for email marketing, another for payments, another for customer support, and another for affiliate tracking. Without APIs, these systems would remain separate and require a lot of manual work.

APIs help businesses:

- Connect different platforms
- Automate repetitive tasks
- Share data between systems
- Improve reporting accuracy
- Reduce manual errors
- Create better customer experiences
- Build custom workflows
- Scale operations more efficiently

For affiliate marketing, APIs can be especially useful. They allow businesses to connect sales, referrals, commissions, and customer activity across different tools. This makes it easier to track which affiliates are driving results and ensure partners are credited properly.

_‍_ In affiliate marketing, tracking accuracy is essential. Brands need to know which affiliate referred a customer, whether that customer made a purchase, and how much commission the affiliate should earn.

An API can help by sending purchase data from an ecommerce platform to an affiliate tracking platform. For example, when a customer places an order, the ecommerce store can use an API to notify the affiliate platform. The affiliate platform can then record the sale, attribute it to the right partner, and calculate the commission.

This kind of connection helps affiliate programs run more smoothly because data flows automatically between systems.

## More resources

\\
\\
**How to Use TikTok to Grow Your Affiliate Marketing Program**\\
\\
If you’re a business that’s turned to affiliate partners to promote your brand, one of the biggest questions you have to answer is how to...\\
\\
4/29/2021\\
\\
arrow icon\\
\\
Read More](/content/blog/use-tiktok-grow-affiliate-marketing-program/index.html)

\\
\\
**Get Paid To Promote Products: 15 Brands That Make Affiliate Marketing Easy**\\
\\
Learn how to get paid to promote products from brands you love (at no additional cost) with these 15 different affiliate marketing programs.\\
\\
7/18/2025\\
\\
arrow icon\\
\\
Read More](/content/blog/get-paid-to-promote-products/index.html)

\\
\\
**How to Create an Affiliate Program + FREE Launch Checklist**\\
\\
But how complex is it to create an affiliate program? And how can you ensure success once it’s up and running? We’ll answer these questions\\
\\
7/15/2024\\
\\
arrow icon\\
\\
Read More](/content/blog/create-an-affiliate-program/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.

[Start Free Trial](/content/glossary/api/index.html)

30 Days Free

Arrow
