adtoniq-ua
v1.0.1
Published
Connects your JavaScript based website with Adtoniq Cloud services
Downloads
1
Readme
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