Link opened

Learn how to track when a user opens a link.

This event tracks when a user opens a link that may be relevant for analysis or personalization purposes.

Croct's mascot amazed
Automatically tracked

The SDK automatically tracks this event when a user opens a link.

Implementation

Here is an example of how to track this event:

example.js
12345
import croct from '@croct/plug';
croct.track('linkOpened', {  link: 'https://example.com/download/whitepaper.pdf'});

Input properties

These are the supported properties:

The URL of the link the user opened.

Processed properties

This event has no processed properties.

Payload examples

Below are some payload examples for this event:

123
{   "link": "https://example.com/download/whitepaper.pdf"}