Analytics & Leads > Event Tracking
Debugging & Session IDs
Inspect events in the browser console and read SuperFunnel's per-session identifiers for debugging, support, and building unique IDs.
Overview
When you need to debug tracking, confirm an event is firing, or report an issue to support, the browser console is the fastest way to see exactly what SuperFunnel is recording on your page. This page also documents the per-session identifiers you can read from your own code.
Inspecting Events in the Console
Every SuperFunnel page logs the events it reports to the browser console as they fire. This lets you confirm tracking is working and gather the details support needs to investigate an issue.
Open your published page
Visit the live SuperFunnel page you want to inspect.
Open the browser console
Open your browser's developer tools and switch to the Console tab — Cmd + Option + J (Chrome on macOS), Ctrl + Shift + J (Chrome on Windows), or right-click anywhere on the page and choose Inspect → Console.
Interact with the page
Click buttons, scroll, or submit a form. As each event is reported, SuperFunnel logs it to the console.
Each logged event carries context that's useful for debugging or for reporting a problem, including:
| Field | Description |
|---|---|
accountId | The account the page belongs to |
campaignId | The campaign associated with the page |
websiteId | The website the page is served under |
environment | Whether the event is recorded as production or test |
…along with other metadata about the event and the visitor's session.
Reporting an issue to support
When something looks wrong, open the console, reproduce the action, and copy
the logged output into your message to
support@superfunnel.ai. The accountId,
campaignId, websiteId, and environment values let us locate your data
and reproduce the problem quickly.
Inspecting Partial Lead Sends
As a visitor fills out a form, SuperFunnel can capture partial leads — the details entered before the form is fully submitted. You can confirm exactly which details are being sent using the Network tab in your browser's developer tools.
Open the Network tab
Open developer tools and switch to the Network tab.
Filter for partial sends
In the filter box, type partial (or leavepartialdetails) to narrow the list to partial-lead requests.
Trigger a partial send
Fill in one or more form fields, then move away from the field or leave the form. A matching request appears in the list as the partial details are sent.
Inspect the payload
Click the request and open its Payload (or Request) to see exactly which details were captured and sent.
Session Identifiers
SuperFunnel assigns every visitor a set of identifiers, each available on the page through window.sf.getSession(). Each identifier comes in a full form and a shorter shorthand form. Use them to build your own unique IDs scoped to a browser, a session, or a single visit.
const session = window.sf.getSession();
session.hash; // stable per browser
session.sessionHash; // per tab / 30-minute window
session.visitHash; // per page loadThere are three identifiers, each differing in how long it stays the same:
| Identifier | Full call | Shorthand call | Stays the same until… |
|---|---|---|---|
| Hash | window.sf.getSession().hash | window.sf.getSession().shortHash | Persisted in local storage — the same browser returns the same ID |
| Session | window.sf.getSession().sessionHash | window.sf.getSession().shortSessionHash | Like the hash, but changes between tabs or after 30 minutes |
| Visit | window.sf.getSession().visitHash | window.sf.getSession().shortVisitHash | Changes on every page refresh |
Pick the identifier whose scope matches what you want to deduplicate by:
- Hash — recognise the same browser across visits (e.g. returning users).
- Session — group activity within a single browsing session.
- Visit — treat each page load as a distinct event.
Same IDs used for offline attribution
These are the same identifiers SuperFunnel appends to outbound links so your backend can attribute conversions to the original visit. See Offline Conversion Tracking for how to capture and report them from your server.