1.0.5 • Published 2 months ago

tealium-collect v1.0.5

Weekly downloads
23
License
SEE LICENSE IN LI...
Repository
-
Last release
2 months ago

Tealium Collect for Node.js

Add the 'tealium-collect' module to send event data to the Tealium Collect endpoint (https://collect.tealiumiq.com/event) (Tealium's HTTP API.)

License

Documentation

For full documentation, please see the Tealium Learning Community:

https://community.tealiumiq.com/t5/Mobile-Libraries/Tealium-for-Node-js/ta-p/21994

Getting Started

The tealium-collect module can be installed using npm. NPM will automatically include tealium module (which is a dependency.)

$ npm install tealium-collect

A simple "hello world" example

var Tealium = require('tealium');
var tealiumCollect = require('tealium-collect');

var config = {
  "account": "##MY_ACCOUNT##",
  "profile": "##MY_PROFILE##",
  "datasource": "##MY_DATA_SOURCE_ID##"
};

var tealium = Tealium(config);

tealium.addModule(tealiumCollect);

// Call tealium.track for each event in your app.  Include a data layer of key/value pairs.
tealium.track("My Event", {"mydata": "hello world"});

License

Use of this software is subject to the terms and conditions of the license agreement contained in the file titled "LICENSE.txt". Please read the license before downloading or using any of the files contained in this repository. By downloading or using any of these files, you are agreeing to be bound by and comply with the license agreement.


Copyright (C) 2018, Tealium Inc.

1.0.5

2 months ago

1.0.3

6 years ago

1.0.2

7 years ago