Welcome to the Blinksights SDK documentation! This guide will walk you through the process of integrating Blinksights analytics into your Solana Blinks. By following these steps, you'll be able to track Blink views and interactions effortlessly.
<aside> 💡 🚀 SDK Update Available: Version 1.0.14 🚀
We're excited to announce that we've made significant improvements to our SDK! The latest version, 1.0.14, is now available for download. This update improves the tracking of your Solana Blinks and bug fixes that help you to see the performance of your Blinks.
We highly recommend updating to SDK version 1.0.14 to take advantage of these enhancements.
Update Now ⇒ https://www.npmjs.com/package/blinksights-sdk
</aside>
Before you can start using the Blinksights SDK, you need to create an account on our platform.
To begin using the Blinksights SDK, you need to install it in your project.
npm install blinksights-sdk
Once installed, you can import the SDK into your project:
import { BlinksightsClient } from 'blinksights-sdk';
To start tracking events, create a new Blinksights client using your access token:
const client = new BlinksightsClient('YOUR ACCESS TOKEN');