|
|
|
The events can be defined inside a configuration file structured like this:
|
|
|
|
|
|
|
|
```js
|
|
|
|
(function() {
|
|
|
|
const webAnalytics = window._waInstance;
|
|
|
|
const eventTypes = webAnalytics.eventTypes;
|
|
|
|
|
|
|
|
// ... additional custom code (custom conditions, helper functions, ...)
|
|
|
|
|
|
|
|
webAnalytics.eventsConfiguration = [
|
|
|
|
// ... events
|
|
|
|
];
|
|
|
|
|
|
|
|
})();
|
|
|
|
``` |
|
|
|
\ No newline at end of file |