@vendia/analytics-attribution
v0.1.0
Published
Used on the Vendia website and console.
Downloads
10
Keywords
Readme
Analytics plugin for visitor attribution
Used on the Vendia website and console.
import { setAttribution, getAttribution, clearAttribution } from '@vendia/analytics-attribution'
/* Persist attribution data */
const info = setAttribution()
console.log('attribution data', info)
/* Get attribution data */
const data = getAttribution()
console.log('attribution data', data)
/* Clear attribution data */
clearAttribution()