3.0.0-beta.1 • Published 3 years ago

@snowplow/browser-plugin-parrable v3.0.0-beta.1

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
3 years ago

Snowplow Parrable Tracking

npm version License

Browser Plugin to be used with @snowplow/browser-tracker.

Adds Parrable contexts to your Snowplow tracking.

Maintainer quick start

Part of the Snowplow JavaScript Tracker monorepo.
Build with Node (10+) and Rush.

Setup repository

$ npm install -g @microsoft/rush 
$ git clone https://github.com/snowplow/snowplow-javascript-tracker.git
$ rush update

Package Installation

With npm:

npm install @snowplow/browser-plugin-parrable

Usage

Initialize your tracker with the ParrablePlugin:

import { newTracker } from '@snowplow/browser-tracker';
import { ParrablePlugin } from '@snowplow/browser-plugin-parrable';

newTracker('sp1', '{{collector}}', { plugins: [ ParrablePlugin() ] }); 

Copyright and license

Licensed and distributed under the BSD 3-Clause License (An OSI Approved License).

Copyright (c) 2021 Snowplow Analytics Ltd, 2010 Anthon Pang.

All rights reserved.