New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

tealium

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tealium

The tealium.js for Node.js in an npm module form

latest
npmnpm
Version
5.0.7
Version published
Weekly downloads
12K
-68.65%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

Tealium

FAQs

Package last updated on 10 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts