Kuoll monitoring online store front-end for errors and conversion events. Kuoll
Copy and paste the code below to the bottom of web pages of your web application.
This code will contain your unique Kuoll API key and should be copied directly into your store code. Please, verify your unique API key at Kuoll dashboard.
monitoring.js script works on all modern browsers. In case the script is loaded on an unsupported browser, it deactivates itself without causing issue.
We understand that each store is different, and that a single configuration won’t work for everyone. Kuoll's API can be used for custom configuration.
Report eCommerce events to Kuoll
After the simple installation, you are ready to report eCommerce events to Kuoll.
Kuoll support 4 types of events:
- Visit, (some people call it Catalog)
- Add to cart (same as Cart)
kuoll.ecommerce(convertedToStep: "Visit"); kuoll.ecommerce(convertedToStep: "AddToCart"); kuoll.ecommerce(convertedToStep: "Checkout"); kuoll.ecommerce(convertedToStep: "Purchase");
Insert these pieces of code into corresponding places of your stores code.
Kuoll error-reporting API
To report an error to Kuoll explicitly:
kuoll.createIssue("error", description, stacktrace); // JS error tracking
description is a text description of an error;
stacktrace is the error's stack trace.