β‘οΈInstall
Authentication
Installation via NPM/Yarn
npm install @spindl-xyz/attribution
yarn add @spindl-xyz/attributionnpm install @spindl-xyz/attribution-lite
yarn add @spindl-xyz/attribution-liteInitialization via library
import spindl from "@spindl-xyz/attribution";
spindl.configure({
sdkKey: "<your SDK API key here>",
debugMode: true/false, // we recommend only to have debugMode=true when testing.
// you will see console.logs of emitted events in browser
});import spindl from "@spindl-xyz/attribution-lite";
spindl.configure({
sdkKey: "<your SDK API key here>",
debugMode: true/false, // we recommend only to have debugMode=true when testing.
// you will see console.logs of emitted events in browser
});window.spindl.configure({
sdkKey: "<your SDK API key here>",
debugMode: true/false, // we recommend only to have debugMode=true when testing.
// you will see console.logs of emitted events in browser
});Installation via Script/CDN
Initialization via Script
Last updated