Link opened

Record 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 neutral
When should I track this event?

Track this event whenever a user opens a link that may be relevant to your business, such as post links, downloads, or external links.

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"
}