1.0.2 • Published 1 year ago

next-snapchat-pixel-fixed v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Next Snap Pixel

next-snapchat-pixel is a module for tracking Snapchat events on React/Next based applications. As Next.js runs on both, server and client side, there can be times that you have to handle Window object manually when adding modules from package managers. Next Snap Pixel does this for you. Just install and track your activities!

How to use?

npm install next-snapchat-pixel-fixed

Importing

import NextSnapPixel from 'next-snapchat-pixel-fixed

Initializing

NextSnapPixel.init('YOUR_PIXEL_ID')

Tracking

For tracking without any data use NextSnapPixel.track('TRACK_TYPE'); For tracking with data(price,currency .etc) NextSnapPixel.trackWithData('TRACK_TYPE', {DATA})

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago