![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
segment-wrapper
Advanced tools
This package provides a way of using [Segment](https://segment.com/) in a safe and secure way.
This package provides a way of using Segment in a safe and secure way.
$ yarn add @bulb/segment-wrapper
The wrapper replaces any use of Segment's .track
, .page
and .identify
functions.
You can then you can use the normal Segment functions:
const adsTracker = new Tracker(adsOptions);
adsTracker.track('Clickable Clicked', { button: 'Switch Now' });
You can specify the integrations either when constructing the instance of the tracker, or for a particular track/page/identify event. Integrations determine to which destination the events are sent to.
The package provides 2 preset integrations options:
DataWarehousing options This is for internal tracking destinations, including BigQuery and Google Pub Sub
Ads options This is for sharing events with third parties and ad partners, including Facebook Pixel and Google Ads.
You can also set custom integrations, however the flag All
will always be reset to false to prevent the event going to all destinations.
You can construct the tracker with a preset set of integrations, but change the integrations for a particular event. In the below example, the event will still be sent to the other datawarehousing destinations Google Analytics and Google Cloud PubSub.
const dwTracker = new Tracker(dataWarehousingOptions);
dwTracker.track(
'View Viewed',
{ page: 'Quote' },
{
integrations: {
bigquery: false,
},
},
);
We should never log Personally Identifiable Information (PII) internally or share PII externally.
The tracker will console.warn
if any keys in the object passed to the event properties are suspiciously named.
For example if an object with the key firstname
is passed to a track event as its properties, there will be a warning.
FAQs
This package provides a way of using [Segment](https://segment.com/) in a safe and secure way.
The npm package segment-wrapper receives a total of 0 weekly downloads. As such, segment-wrapper popularity was classified as not popular.
We found that segment-wrapper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.