Custom events


Custom events

The custom events chart displays the triggered custom events on your site. Click on any custom event to filter the dashboard accordingly.

Integration guide

To trigger custom events on your page, call the galytics script with the name of the event you wish to trigger.

For example, to trigger a custom event on a button click, use the following code:

    onClick() {
        galytics.triggerEvent('btn-click');
    }