# Track Events

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.

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

{% hint style="warning" %}
Growlytics supports `Number, BigInt, String, Boolean` and `Date` data types for event property values. For further details refer to [event tracking considerations.](https://docs.growlytics.in/core-concepts-1/events#default-metadata-recorded-automatically)&#x20;
{% endhint %}
