Tracking events - Js Library
The JavaScript (JS) library serves two primary purposes within our system:
Behavior Tracking: It captures and monitors customer interactions on your website, including impressions (views), clicks, add-to-cart actions, and purchase events.
Product Recommendations: The JS library enables the delivery of product recommendations on your website, following the configurations set in the admin panel.
Please take note of the following:
Our application does not collect any Personally Identifiable Information (PII) data through the JS library or any other means.
The JS library operates silently in the background, ensuring that it has no impact on your page loading times or bounce rates.
In the event that you decide to uninstall the app, all your data, including the JS libraries on your website, will be completely removed from our system. Your data privacy is our top priority.
What events are being captured using js library?
- createProposition
Description: Event capturing each widget is displayed.
Event properties:
- eventCreatedAt
- anonymous_id
- crm_id
- event_name
- org_id
- page_title
- proposition_id
- source
- clickOnProposition
Description: Event capturing when customer click on widget.
Event properties:
- eventCreatedAt
- anonymous_id
- article_id
- crm_id
- event_name
- org_id
- page_title
- proposition_id
- source
- purchase
Description: Event triggered when user makes purchase.
Event properties:
- eventCreatedAt
- anonymous_id
- crm_id
- currency
- event_name
- order_id
- order_value
- org_id
- page_title
- source
- addToCart
Description: Event capturing when customer adds item to their cart.
Event properties:
- eventCreatedAt
- anonymous_id
- crm_id
- event_name
- org_id
- page_title
- source
JS Tracking Library
<button onClick="trackEvent()"> Track Click </button>
<button onClick="pageView()"> custom method </button>
<button onClick="identifyVisitor()"> Identify visitor </button>
<br/>
<script type="text/javascript"> function trackEvent() { Analytics.track('buttonClicked') } function pageView() { //Analytics.page() Analytics.plugins.zapyanCI.addToCart(); } function identifyVisitor() { Analytics.identify('user-123', { pro: true, }) } </script>
Tips:
Data Visibility: You can access a comprehensive overview of all the data collected by our application by simply navigating to the Explorer menu.
Data Export Option: If you wish to export any of the tracking or operational data to your local data repository, we've got you covered. Feel free to contact us for detailed instructions on how to do this.
Dedicated Support: We understand that there may be times when you require specific data access for various reasons. To assist you with this, we offer dedicated support, completely free of cost, for any Subject Access Requests you may have.
Data Deletion: Our commitment to data privacy is unwavering. In the event that you decide to uninstall the app, please note that we will securely delete all your data within 48 hours to ensure your peace of mind. Your data privacy is of utmost importance to us.
Still need help?
Please contact our professional support team if you require further assistance