# Campaign based on Click in Email?

**URL:** <https://forum.mautic.org/t/campaign-based-on-click-in-email/24739>\
**Category:** Product Support\
**Created:** [July 12, 2022, 12:00pm UTC](https://forum.mautic.org/t/campaign-based-on-click-in-email/24739 "2022-07-12T12:00:00Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ekke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ekke/32/296_2.png) [@ekke](https://forum.mautic.org/u/ekke)\
**Post date:** [July 12, 2022, 12:00pm UTC](https://forum.mautic.org/t/campaign-based-on-click-in-email/24739/1 "2022-07-12T12:00:00Z")

</div>

Question from [Ashok Vaswani](https://www.youtube.com/channel/UCMyAXSAXFHgbZ9XZGmzegcw)  
via YouTube [The Power of Mautic in Email Marketing (feat. Joey Keller) - YouTube](https://www.youtube.com/watch?v=S2JgqKw_d_4&lc=UgwbJ5somfreOnwxNPR4AaABAg)

My Mautic version is: 4.2

My problem is:  
I am using the latest version of Mautic ( 4.2 ) . I want to tag contacts based on links that they click on in the email that I send them. I cannot find this action in the campaign builder. There is an action to “view a page” but I cant find anyway to add tags ( or change the tag) on a contact based on the contact clicking on a specific link in the email

---

<div class="post-metadata">

**Author:** ![ekke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ekke/32/296_2.png) [@ekke](https://forum.mautic.org/u/ekke)\
**Post date:** [July 12, 2022, 12:02pm UTC](https://forum.mautic.org/t/campaign-based-on-click-in-email/24739/2 "2022-07-12T12:02:51Z")

</div>

Ashok: Checks (we call them decisions) like “opens email” or “clicks email” are only available AFTER an action of type “send email”. Else it is unclear what email to test for 🙂  
Details:

> **[Decisions](https://docs.mautic.org/en/campaigns/using-campaign-builder/decisions#email-related-decisions)**
>
> . Campaign decisions are actions that your Contacts initiate. Downloading an asset, opening an email, or visiting a landing page are examples of decisions. These decisions can be either directly initiated or implied based on nonaction. The options...

Best,  
Ekke

* * *

Ekke Guembel

**Mautic Open Source Project, Team Lead “Community”**  
Mail: [ekke.guembel@mautic.org](mailto:ekke.guembel@mautic.org)  
Phone: +49 511 6262 9311  
Profile & Social Media: [Ekkehard Gümbel | Leuchtfeuer.com](http://Leuchtfeuer.com/ekke)  
Mautic Podcast: [mauticast.de](http://mauticast.de) (DE) / [mauticast.com](http://mauticast.com) (EN)

---

<div class="post-metadata">

**Author:** ![techbill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/techbill/32/8325_2.png) [@techbill](https://forum.mautic.org/u/techbill)\
**Post date:** [July 12, 2022, 2:16pm UTC](https://forum.mautic.org/t/campaign-based-on-click-in-email/24739/3 "2022-07-12T14:16:37Z")

</div>

There is a script where you insert in a webpage to tag anyone whom click a link to go to that webpage.

Joey made a video about Insta Opt in but he is using a script on webpage to tag his contact who click a link in email. This video may help you get some ideas on how it works.

[![](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/e/eed1022a113380218079e333a0b35f76cfe92028.jpeg "Update: Instant Double Opt-in with Mautic (3 Methods)") ](https://www.youtube.com/watch?v=ft3IOI1afow)

---

<div class="post-metadata">

**Author:** ![biggala2310](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/biggala2310/32/694_2.png) [@biggala2310](https://forum.mautic.org/u/biggala2310)\
**Post date:** [July 13, 2022, 1:35pm UTC](https://forum.mautic.org/t/campaign-based-on-click-in-email/24739/4 "2022-07-13T13:35:18Z")

</div>

If I understand correctly - are you sending links in different e-mails (not in one)?

IMHO the easiest solution is add some text to link like: `https://google.com?=linkchecker`  
After that, you should make segment with condition like this:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/7/7898bb4591e8abd57d6b50d0896bbc6566f8fd47.png)

Segment could run campaign which will be adding tags.

---

<div class="post-metadata">

**Author:** ![ekke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ekke/32/296_2.png) [@ekke](https://forum.mautic.org/u/ekke)\
**Post date:** [July 13, 2022, 1:49pm UTC](https://forum.mautic.org/t/campaign-based-on-click-in-email/24739/5 "2022-07-13T13:49:28Z")

</div>

if you want to make sure in today’s world, bette not rely on “Visited URL” since that is subject to user’s tracking consent…  
IHMO,

- “clicked email” should be best
- else go setting tags from page visit, as described in the vid

---

<div class="post-metadata">

**Author:** ![ashokvas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ashokvas/32/997_2.png) [@ashokvas](https://forum.mautic.org/u/ashokvas)\
**Post date:** [July 25, 2022, 3:44pm UTC](https://forum.mautic.org/t/campaign-based-on-click-in-email/24739/6 "2022-07-25T15:44:38Z")

</div>

Thanks @joeyk @ekke@biggala2310 and everyone else.

Joey’s video seems to be the way to go forward to add the tag.

Presently I was creating a link and sending to a specific page on my site and then once the visitor visits a specific page, we can modify the tags.

This is what you are suggesting?

But it takes the visitor to a page which can distract them from the email.

I dont know if that is a good thing or no.

@ekke - you mentioned “clicked email” should be best.  
I am not clear what you mean my clicked email

---

<div class="post-metadata">

**Author:** ![ekke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ekke/32/296_2.png) [@ekke](https://forum.mautic.org/u/ekke)\
**Post date:** [July 25, 2022, 3:51pm UTC](https://forum.mautic.org/t/campaign-based-on-click-in-email/24739/7 "2022-07-25T15:51:58Z")

</div>

see my original answer above. Here’s a screenshot:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/4/4ba5f806791462a7d2b5047bc699cf9737964049.png)

---

<div class="post-metadata">

**Author:** ![ashokvas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ashokvas/32/997_2.png) [@ashokvas](https://forum.mautic.org/u/ashokvas)\
**Post date:** [July 25, 2022, 4:19pm UTC](https://forum.mautic.org/t/campaign-based-on-click-in-email/24739/8 "2022-07-25T16:19:54Z")

</div>

I am not clear by “Clicks email”

Does it mean clicking on email in the inbox of my email client?

---

<div class="post-metadata">

**Author:** ![ekke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ekke/32/296_2.png) [@ekke](https://forum.mautic.org/u/ekke)\
**Post date:** [July 25, 2022, 7:56pm UTC](https://forum.mautic.org/t/campaign-based-on-click-in-email/24739/9 "2022-07-25T19:56:54Z")

</div>

no, it means clicking a link within the email

---

<div class="post-metadata">

**Author:** ![ashokvas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ashokvas/32/997_2.png) [@ashokvas](https://forum.mautic.org/u/ashokvas)\
**Post date:** [July 26, 2022, 4:16am UTC](https://forum.mautic.org/t/campaign-based-on-click-in-email/24739/10 "2022-07-26T04:16:35Z")

</div>

Thanks.

You have been very helpful
