Skip to main content
Coming soon

JavaScript SDK is coming soon

The Twinalyze JavaScript SDK will help you track website activity, page views, custom events, sessions, traffic sources, and user behavior directly from your web application.


What it will track

Page views

Track which pages users visit, including page URL, path, title, domain, and referrer details.

Custom events

Send important user actions such as button clicks, form submissions, signups, purchases, or any custom website interaction.

Session activity

Understand how users move through your website and how long they stay active.

Traffic source

Capture referrer, UTM, source, medium, campaign, and other acquisition details.

What will be available

1

Install the JavaScript SDK

Add the Twinalyze JavaScript SDK to your website or web application.
2

Initialize the SDK

Connect your website with your Twinalyze project using the project credentials.
3

Track automatic events

Capture page views and basic web behavior with minimum setup.
4

Send custom events

Track business-specific actions with event names and custom properties.

Preparation checklist

Keep project credentials ready

You will need your Twinalyze API key and project details before starting the setup.

Review website events

Decide which user actions should be tracked as custom events.

Plan event properties

Prepare useful properties such as page name, button name, product ID, amount, currency, or user type.

Check traffic tracking

Make sure your website uses proper URLs and UTM parameters for campaign analysis.

Availability

This JavaScript SDK guide is currently planned. The setup steps, initialization code, and event tracking examples will be added here once available.