Introduction
The Clickmax Browser SDK is the script that connects your external page to Clickmax.
It handles three main jobs:
- capturing leads
- recording page events
- taking the visitor to the next step of the funnel
Installation
- create an external page in Clickmax
- add that page to your funnel
- paste the script below inside the
<head>of the page's HTML
index.html
How it works
Once the script is installed, the page starts recognising the elements marked with the Clickmax attributes.
Common examples:
- a form with
data-cx-ingest-form - a widget with
data-cx-form-widget - a button with
data-cx-open
When the visitor interacts with those elements, the SDK:
- collects the data it needs
- sends that information to Clickmax
- applies the rules of the configured funnel
That saves you writing a separate integration for every form, click or redirect.
When to use each section
API
Use this when you want to see the public way of calling the SDK with JavaScript.
Forms
Use this when you want to install or customise forms.
Tracking
Use this when you want to measure behaviour on the page.
Routing
Use this when you want to understand how the visitor moves on to the next step of the funnel.