1.0.1 • Published 3 years ago

adtoniq-ua v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

npm.io

adtoniq-ua

Adtoniq for Node.js implements the server-to-server communications required between your webserver and Adtoniq.

Install

npm i adtoniq-ua

Usage

Get your Adtoniq refresh URL.

const auaURL = "Your-URL-Here"

Optionally, set a polling interval. Defaults to 60000 milliseconds

const auaPollInterval = 10000 // mseconds

Initialize the API with your settings.

const adtoniqUA = new AdtoniqUA(auaURL, auaPollInterval)

Process requests

You must insert a piece of code on every header of a request that page. You should obtain that code by calling the following:

const headCode = adtoniqUA.getHeadCode()

Details

For details and examples visit https://github.com/adtoniq/adtoniq-ua-nodejs

License

This project is licensed under the MIT License

1.0.1

3 years ago

1.0.0

3 years ago