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

@hexlet/analytics-plugin-carrotquest

Package Overview
Dependencies
Maintainers
5
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hexlet/analytics-plugin-carrotquest

CarrotQuest plugin for DavidWells Analytics

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
5
Created
Source

Analytics Plugin for CarrotQuest

Overview

This plugin integrates CarrotQuest into your project, allowing to track user interactions and events.

Installation

To install the plugin, run:

npm install @hexlet/analytics-plugin-carrotquest

Usage

Add plugin to analytics.js following this guide — https://getanalytics.io/plugins/#installation--usage

Configuration

Provide the plugin with the following configuration. The apiKey is required and can be found in the CarrotQuest panel. The eventsMapping allows you to map your project event names to CarrotQuest event names. Mapping for the default properties ($email, $name, $phone) is predefined, but you can override their or add your own with propsMapping.

Only defined properties and events will be sent to CarrotQuest.

{
  apiKey: YOUR_API_KEY,
  eventsMapping: {
    signed_in: "$authorized",
  },
  propsMapping: {
    email: "$email",
  }
}

Keywords

analytics

FAQs

Package last updated on 18 Apr 2025

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