@actuality/quickview_analytics
v1.0.2
Published
### QuickView JS Analytics Module
Downloads
12
Readme
QuickView Analytics JS
QuickView JS Analytics Module
This is a JavaScript module that can be used to include QuickView Analytics tracking code in a your website or app
Installation
With npm:
npm install @actuality/quickview_analytics --save
With yarn:
yarn add @actuality/quickview_analytics
Usage
With npm
import { QuickViewTracker } from '@actuality/quickview_analytics';
window.QuickView = new QuickViewTracker("<Your CID>", "<Your Site ID>")
....
window.QuickView.trackView("<PID>")
// One of VIEW, VIEW_AR, CONTACT
window.QuickView.trackEvent("<PID>", "VIEW")