Skip to main content
The SDK automatically uses the click ID captured from the landing page URL.

Parameters

Examples

With Callbacks

Key Mapping

Fill conversion fields automatically from URL parameters on the current page:
Conversion fields: advSub1–advSub5, coupon, currency, event, saleAmount, payout. Explicitly provided values always win over keymapped values.

Multiple Events

Custom Tracking Domain

To use a custom tracking domain, set it once in window.adscrushConfig — it is used by both trackConversion() and trackLead():
Or pass it per-call, which overrides the config value for this conversion only:
Bare hostnames are normalized to https://; full URLs (http:// or https://) are used as-is (trailing slashes are stripped).

Deduplication

The SDK prevents duplicate conversions for the same click and event. Second calls are skipped automatically.
See also: Track Clicks · Track Leads · API Reference · Conversion Postback