tracker

Access the tracker instance.

This property holds a reference to the tracker instance.

Please refer to the Tracker API reference for more details.

Signature

This property has the following signature:

public get tracker(): Tracker

Example

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

import {croct} from '@croct/plug';
croct.tracker.track('goalCompleted', {goalId: 'newsletter-sign-up'});