@pjdw/analytics-web-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.0.26 • Public • Published

Getting Started

See the current docs at https://docs.pumpjackdataworks.com/web.


Prerequisites

  • You will need polyfills for fetch, Promise, and the Page Visibility API if you support any browsers that don't natively support these features.
  • You will need a Pumpjack Dataworks API key in order for this SDK to do anything.
  • This SDK respects the browsers "do not track" settings and will not send any analytics if DNT is enabled.

Installation

For npm/yarn users:

npm install @pjdw/analytics-web-sdk # for npm users

yarn add @pjdw/analytics-web-sdk # for yarn users

Browser script (adds pjdwsdk globally):

Replace @1.0.0 with the current available version at https://www.npmjs.com/package/@pjdw/analytics-web-sdk.

<script src="https://cdn.jsdelivr.net/npm/@pjdw/analytics-web-sdk@1.0.0/dist/main.umd.js"></script>

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.26260latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.26260
0.0.250
0.0.240
0.0.231
0.0.220
0.0.210
0.0.200
0.0.190
0.0.180
0.0.170
0.0.160
0.0.150
0.0.140
0.0.130
0.0.120
0.0.110
0.0.100
0.0.91
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40

Package Sidebar

Install

npm i @pjdw/analytics-web-sdk

Weekly Downloads

262

Version

0.0.26

License

ISC

Unpacked Size

121 kB

Total Files

25

Last publish

Collaborators

  • mohammadfarooqi
  • bakermakerz