Skip to main content
The EF.impression() method records an impression event. Use this for CPM-based offers or when you need to track ad views.

Basic Usage

Parameters

Examples

Basic impression:
With URL parameters:
EF.urlParameter() returns an empty string when the parameter is not present in the URL. In that case, nothing is passed for that field — the SDK simply omits it from the impression.
Multi-tenant with specific tracking domain: When multiple Everflow accounts fire impressions on the same page, pass tracking_domain on each call to route it to the correct account — regardless of which account’s SDK script was originally loaded on the page. See Multi-account tracking for the full pattern and caveats.
With custom parameters:
Coupon-level impression: When attribution is driven by a coupon code, pass coupon_code in place of offer_id. A common pattern is to read it from the inbound utm_source: