The JavaScript SDK is not optimized for Internet Explorer.
Installation
Via npm
Via script tag
Add the SDK script tag to every page where you want to track events. ReplaceYOUR-TRACKING-DOMAIN.com with your actual Everflow tracking domain:
EF object with methods for click tracking, conversion tracking, and impression tracking.
GitHub Repository
View the source code, report issues, and contribute on GitHub.
Page load performance
If the SDK script slows down page load, you have a few options:- Load it last — place the script tag just before the closing
</body>tag so it doesn’t block above-the-fold content. - Self-host the file — download
main.jsand serve it from your own domain to avoid a third-party request. The served file already has your tracking domain baked in, so it works as-is — but it’s a frozen snapshot that won’t pick up SDK updates. For a maintainable build, install the npm package (@everflow/everflow-sdk) instead and set the tracking domain yourself withEF.configure({ tracking_domain: '…' }). - Load it deferred — create the script element with
deferand run your tracking from itsonloadhandler, so it never blocks rendering:
Available Modules
Configuration
Set up cross-subdomain tracking and organic fallback attribution.
Click Tracking
Record clicks and generate transaction IDs for attribution.
Click Tracking Recipes
Copy-paste templates for every supported landing page scenario.
Conversion Tracking
Fire conversion events with amounts, event IDs, and custom parameters.
Impression Tracking
Log impression events for CPM-based offers.
Helper Methods
EF.urlParameter(paramName)
Extracts a query string parameter from the current page URL. Returnsnull if the parameter is not present.
