Documentation
πŸ‘€ Analytics
πŸ‘‰ Click events

πŸ‘‰ Click events

By default, even with analytics enabled, Fullog does NOT capture user click events. You need to specify where you want to capture them.

⚠️

By default, even with analytics enabled, Fullog does NOT capture user click events. You need to specify where you want to capture them.

How to capture clicks

If you'd like a click event, you can use data-attributes on the element you want to monitor for clicks.

<button
  data-fullog-event="Purchase"
  data-fullog-event-price={1000}
  data-fullog-event-type={`digital`}
  onClick={onPurchase}
>
  +
</button>

Be aware that data-fullog-event will be the name of the event, and data-fullog-event-{dynamic-key} will represent the value of the event key.

{
 "name": "Purchase",
 "data": {
  "price": 1000,
  "type": "digital"
  }
}