New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@divvi/mobile

Package Overview
Dependencies
Maintainers
0
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@divvi/mobile

1.0.0-alpha.1
latest
Source
npm
Version published
Maintainers
0
Created
Source

Analytics

The analytics module currently supports two primary use cases:

  • component-level generic wrapping for common lifecycle events
  • custom event tracking

Usage

Only whitelisted properties (as declared here) will be sent out to Segment. Any new properties that need to be tracked therefore need to be added to this list.

Custom Event Tracking

Make a call to AppAnalytics.track() with the event name and any associated properties that should be tracked as part of this event.

PILOT_ONLY flag

If there are fields we don't wish to track beyond the pilot(this includes any sensitive information), please flag them with a // PILOT_ONLY comment to flag them for removal prior to non-pilot usage.

FAQ + Best Practices

Avoid tracking events on every keystroke/edit, as these use unnecessary data to generate and send out. Use onEndEditing() or log an event with the state of form inputs on form submission

Track events after the action being tracked has been completed. This prevents us sending out analytics events that indicate success of an action that subsequently fails.

FAQs

Package last updated on 04 Feb 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