@adv-ui/cf-segment-wrapper

Coches PRO Segment Wrapper

Usage no npm install needed!

<script type="module">
  import advUiCfSegmentWrapper from 'https://cdn.skypack.dev/@adv-ui/cf-segment-wrapper';
</script>

README

Coches PRO Segment Wrapper Build Status

Usage

First, copy the official snippet in your HTML

Then, use it in your modern JavaScript...

// First import the module.
import analytics from '@adv-ui/cf-segment-wrapper'

// Then trigger all the events you need.
analytics.identify('your user id', {
  // All your traits
})
analytics.track('your event name', {
  // All your properties
})
analytics.reset()

Events

Check the cross Segment Wrapper documentation: https://github.mpi-internal.com/scmspain/frontend-all--segment-wrapper#events