Mautic Community Forums

Adding Tags OnClick on an Link in an email

Hello,



I would like to “tag” links in E-Mails to track the “user interests”. There would be 3 Links with different content and the user would “self-segment” himself by clicking on the links (with attached “tags=interestA” appended).



But: In the source code I found out, that this feature is not planed and only with the tracking pixel there is the possibility to set tags.

https://github.com/mautic/mautic/blob/staging/app/bundles/PageBundle/Model/PageModel.php#L451



Do I misunderstood the feature?



Thanks,

Michael

Hello,

I would like to “tag” links in E-Mails to track the “user interests”. There would be 3 Links with different content and the user would “self-segment” himself by clicking on the links (with attached “tags=interestA” appended).

But: In the source code I found out, that this feature is not planed and only with the tracking pixel there is the possibility to set tags.
https://github.com/mautic/mautic/blob/staging/app/bundles/PageBundle/Model/PageModel.php#L451

Do I misunderstood the feature?

Thanks,
Michael

Maybe it would make sense to post the use case:
First I would like to send an email (campagin triggered) with Link A and Link B.

In the next Step I would like to E-Mail all people who clicked on “Link A”. How could I go this way?

Thanks,
Michael

You have to do it via a campaign, if X page is visited, add tag. It’s very easy.

Thanks for the fast response: But is it possible to track external links this way? Or is it necessary to have the tracking pixel on the target page?

If we create a campaign as suggested what contact source would we use? It’s not a form submission and using a template seems kinda clunky.