enable

Enable automatic event tracking.

This method enables automatic event tracking.

Signature

This method has the following signature:

tracker.enable(): void

Example

Here is a basic example of how to use this method:

import croct from '@croct/plug';
croct.tracker.enable();