# How do I check which URL in an email a user followed from within a campaign?

**URL:** <https://forum.mautic.org/t/how-do-i-check-which-url-in-an-email-a-user-followed-from-within-a-campaign/18002>\
**Category:** Product Support\
**Created:** [February 2, 2021, 11:14pm UTC](https://forum.mautic.org/t/how-do-i-check-which-url-in-an-email-a-user-followed-from-within-a-campaign/18002 "2021-02-02T23:14:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kabir](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/kabir/32/1129_2.png) [@kabir](https://forum.mautic.org/u/kabir)\
**Post date:** [February 2, 2021, 11:14pm UTC](https://forum.mautic.org/t/how-do-i-check-which-url-in-an-email-a-user-followed-from-within-a-campaign/18002/1 "2021-02-02T23:14:27Z")

</div>

**Your software**  
My Mautic version is: 2.16.0  
My PHP version is: 7.2.24

**Your problem**  
Objective:  
Check which button a user clicks in an email sent to them as part of a campaign and have the campaign make a decision based on that information.

Additional information:

- The buttons contain URLs with href={contactfield=some\_url} and the URL has the same origin but different parameters.
- It shows up in the contact’s history as: {Event Name: {contactfield=some\_url}, Event Type: Page hit, Event Timestamp: }
- There’s no tracking JS or pixel on the pages being visited because I only care about which button was clicked.

My problem is:  
I can’t get the campaign to register this event and make a decision based on it. I’ve tried using the “Clicks Email” decision in the campaign and setting the “Limit to Urls contains” field to \* to account for the varying parameters, but that doesn’t work. Following what I’ve seen online in the docs [here](https://docs.mautic.org/en/channels/emails/troubleshooting-emails) and [here](https://docs.mautic.org/en/campaigns/troubleshooting-campaigns) I’ve done this on private browsing and I’m not on the same network as the mautic instance. I’ve also made sure to send my test emails from a campaign.  
I apologise in advance as this seems like a very basic question, but I can’t find the answer.  
Thank you

---

<div class="post-metadata">

**Author:** ![alan940](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/alan940/32/9395_2.png) [@alan940](https://forum.mautic.org/u/alan940)\
**Post date:** [March 3, 2023, 4:52pm UTC](https://forum.mautic.org/t/how-do-i-check-which-url-in-an-email-a-user-followed-from-within-a-campaign/18002/2 "2023-03-03T16:52:19Z")

</div>

Same issue here.

I have an email with two buttons, which will either continue or end the campaign based on the user’s selection. However, when I tested the email and clicked on either option, nothing occurred.

 ![330323165_3431034740443597_3057754322898089266_n](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/4/43bac6345045f43b4dd006c11aff85c7f187cd46.jpeg)

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [March 3, 2023, 5:57pm UTC](https://forum.mautic.org/t/how-do-i-check-which-url-in-an-email-a-user-followed-from-within-a-campaign/18002/3 "2023-03-03T17:57:06Z")

</div>

I think your problem is, that you don’t have a NO leg in your campaign. So the decision is made before the person could click.  
Plz add no with some action and set that you wait 2 days to complete.
