Getting Started
Let's get you set up to start using the web sdk in your application.
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
Browser script:
Injects
pjdwsdk
into the window/global context.
<script src="https://scripts.pumpjackdataworks.com/us/v2/pjdw-sdk.umd.js"></script>
Next we will explore the usage of the API, starting with initialization.