Url redirect to external website

Hi, I’m using the URL builder, but is there a way to create a url redirect? so that when the user click on the link it tracks and then redirects to an external site?

Hi,

The closest to this is probably this third-party plugin:
https://plugins.matomo.org/ShortcodeTracker?matomoversion=3

If you know a bit of PHP you could write a small program yourself that redirects the user and at the same time calls the Matomo Tracking API to record the visit.

thank you Lukas, I’ll install and have a look