Skip to content

ECA alter link

Available since: 3.0.3

Provided tokens

Token Description
[event] The event.
[event:machine_name] The machine name of the ECA event.
[session_user] The user account that dispatched the event, regardless if ECA is processing models under a different account. This is only available if ECA is configured to always run under a specific account.

Fires for every link rendered on the page through the theme layer.

Very high frequency

This event fires for every single link on a page. Always use conditions to filter which links should be modified to avoid performance issues.

Useful for adding attributes (e.g., target="_blank"), injecting tracking parameters, or adding CSS classes to links.