For the complete documentation index, see llms.txt. This page is also available as Markdown.

Track Events

This page will give detailed description of how you can integrate Growlytics javascript SDK to your website.

Let's suppose we want to track an event "Product Viewed" when a customer views a product. To track this event, you can use Growlytics.events.track() method.

With event name, you can pass custom JSON that you can later use for analytics and engagement purpose.

Growlytics.events.track("Product viewed",{
  'Product Name': 'Macbook Pro 2020',
  'Category': 'Electronics',
  'SubCategory': 'Laptops',
  'Price': 139000,
  'Brand': 'Apple'
});

Last updated

Was this helpful?