Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

clevertap-fxos

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clevertap-fxos

CleverTap Firefox OS SDK

  • 1.1.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

CleverTap Firefox OS SDK

Installation

  • Copy clevertap.js/clevertap.min.js directly into your FireFox app js directory and load in a script tag in your index.html:

    <script type="text/javascript" src="js/libs/clevertap.js" defer></script>

    See Example.

  • Install via npm npm install clevertap-fxos --save and require/import the module:

    var clevertap = require('clevertap-fxos');

    See Example.

Usage

Initialization
clevertap.setLogLevel(clevertap.logLevels.DEBUG); // optional
clevertap.setAppVersion("1.0.0"); // optional
clevertap.init("WWW-WWW-WWRZ"); // required, pass your CleverTap Account ID
Record An EVENT

clevertap.event.push("Product Viewed");

Update A User Profile
clevertap.profile.push({
 "Site": {
   "Name": "Jack Montana",
   "Age": 28
 }
});

FAQs

Package last updated on 11 Oct 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc