Skip to content

datadive-ai/dave-JavaScript

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Official Datadive JS/Web SDK

A JavaScript SDK for tracking events and revenue to Datadive.

Installation and Quick Start

Demo Pages

  • A demo page showing a simple integration on a web page.
  • A demo page showing an integration using RequireJS.
  • A demo page demonstrating a potential integration with Google Tag Manager.

React Native

This library now supports react-native. It has two dependencies on react-native modules you will have to install yourself:

Node.js

Please visit Datadive-Node for our Node SDK.

Changelog

Click here to view the JavaScript SDK Changelog.

Upgrading Major Versions and Breaking Changes

6.0

The cookie format has been changed to be more compact. If you use the same Datadive project(API key) across multiple applications, and you track anonymous users across those applications, you will want to update datadive across all those applications at the same time. Otherwise these anonymous users will have a different device id in your different applications.

If you do not have multiple installations of datadive, or if you do not track anonymous users across different installations of datadive, this change should not affect you.

5.0

We stopped committing the generated datadive.min.js and datadive.js files to the repository. This should only affect you if you load datadive via github. You should use npm or yarn instead.

We dropped our custom symbian and blackberry user agent parsing to simply match what the ua-parser-js library does.

4.0

The library now defaults to sending requests to https://source.datadive.ai/event instead of //source.datadive.ai/event. This should only affect you if your site does not use https and you use a Content Security Policy.

Need Help?

If you have any problems or issues over our SDK, feel free to create a github issue or submit a request on Datadive Help.

About

JavaScript SDK for Datadive

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 95.0%
  • HTML 3.3%
  • Other 1.7%