# Link click automation

**URL:** <https://forum.mautic.org/t/link-click-automation/3633>\
**Category:** General Discussion\
**Created:** [May 1, 2016, 8:15am UTC](https://forum.mautic.org/t/link-click-automation/3633 "2016-05-01T08:15:09Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![marzio](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@marzio](https://forum.mautic.org/u/marzio)\
**Post date:** [May 1, 2016, 8:15am UTC](https://forum.mautic.org/t/link-click-automation/3633/1 "2016-05-01T08:15:09Z")

</div>

Hi, i’m looking at the campaign builder and under decisions there’s no “link click” instead there’s unreliable “open tracking” which is not really useful because a lot of users read emails without enabling ‘images’ which prevents ‘opens tracking’.  
  
  
  
Is there a way to base actions on links clicked by the users?

---

<div class="post-metadata">

**Author:** ![marzio](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@marzio](https://forum.mautic.org/u/marzio)\
**Post date:** [May 1, 2016, 8:15am UTC](https://forum.mautic.org/t/link-click-automation/3633/2 "2016-05-01T08:15:09Z")

</div>

Hi, i’m looking at the campaign builder and under decisions there’s no “link click” instead there’s unreliable “open tracking” which is not really useful because a lot of users read emails without enabling ‘images’ which prevents ‘opens tracking’.

Is there a way to base actions on links clicked by the users?

---

<div class="post-metadata">

**Author:** ![vln104](https://avatars.discourse-cdn.com/v4/letter/v/5f9b8f/32.png) [@vln104](https://forum.mautic.org/u/vln104)\
**Post date:** [May 1, 2016, 9:12am UTC](https://forum.mautic.org/t/link-click-automation/3633/3 "2016-05-01T09:12:32Z")

</div>

There’s the “Visit page” decision which is what you describe.

Linh

---

<div class="post-metadata">

**Author:** ![marzio](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@marzio](https://forum.mautic.org/u/marzio)\
**Post date:** [May 1, 2016, 1:06pm UTC](https://forum.mautic.org/t/link-click-automation/3633/4 "2016-05-01T13:06:37Z")

</div>

@vln104 thanks for your answer. Well maybe the end result could be the same, but the process is not the same. I have to install the tracking script on my site to be able to use the visit page decision while link click works out of the box.

And what if i’m tracking multiple domains under one mautic installation? How will this work?

---

<div class="post-metadata">

**Author:** ![vln104](https://avatars.discourse-cdn.com/v4/letter/v/5f9b8f/32.png) [@vln104](https://forum.mautic.org/u/vln104)\
**Post date:** [May 2, 2016, 9:05am UTC](https://forum.mautic.org/t/link-click-automation/3633/5 "2016-05-02T09:05:01Z")

</div>

Hi @marzio ,

Are you using Mautic to build and send emails? If so then when building the email Mautic will add a token to links in your email to know who have clicked on which link. Make sure you add the link by using the “Web View URL” facility instead on typing the URL as text.

Kind regards,

Linh

---

<div class="post-metadata">

**Author:** ![marzio](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@marzio](https://forum.mautic.org/u/marzio)\
**Post date:** [May 2, 2016, 2:47pm UTC](https://forum.mautic.org/t/link-click-automation/3633/6 "2016-05-02T14:47:10Z")

</div>

@vln104 yes, i am using Mautic to build and send emails. I don’t know what “web view URL” facilty is. Could you please show me where is it?

---

<div class="post-metadata">

**Author:** ![vln104](https://avatars.discourse-cdn.com/v4/letter/v/5f9b8f/32.png) [@vln104](https://forum.mautic.org/u/vln104)\
**Post date:** [May 2, 2016, 3:32pm UTC](https://forum.mautic.org/t/link-click-automation/3633/7 "2016-05-02T15:32:50Z")

</div>

Hi,

When you create a new email, select a theme to launch a builder and you’ll see in the right column a box titled Web View URL. Drag this onto the contents and it will show a box where you can enter a URL and corresponding text. This will insert a trackable URL into the email.

If you are not using themes, I think you can also type a token to tell Mautic to make the link trackable into the HTML source. We will just need to work out what this is so please post back if this is what you are doing. The easier way is to use themes and the email builder though.

Linh

---

<div class="post-metadata">

**Author:** ![marzio](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@marzio](https://forum.mautic.org/u/marzio)\
**Post date:** [May 3, 2016, 6:03am UTC](https://forum.mautic.org/t/link-click-automation/3633/8 "2016-05-03T06:03:05Z")

</div>

@vln104 i don’t understand why should i use the web view URL if in mautic there’s no “link click” decision. Is there something i’m missing?

---

<div class="post-metadata">

**Author:** ![vln104](https://avatars.discourse-cdn.com/v4/letter/v/5f9b8f/32.png) [@vln104](https://forum.mautic.org/u/vln104)\
**Post date:** [May 3, 2016, 7:11am UTC](https://forum.mautic.org/t/link-click-automation/3633/9 "2016-05-03T07:11:19Z")

</div>

May be I am misunderstanding you. I thought you wanted to be able to detect when a lead has clicked a link (presumably sent in an email to the lead) and do some campaign actions based on that event. If that’s what you are trying to do, I think you can achieve it with first using the Web VIew URL thing in email builder so Mautic has a way of telling when a lead has clicked through to a link from an email. Then you can use the Visits a page decision in the campaign builder and connect the desired campaign actions to it. This way those campaign actions will be triggered for leads that have clicked through to links included in the email you sent out.

---

<div class="post-metadata">

**Author:** ![marzio](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@marzio](https://forum.mautic.org/u/marzio)\
**Post date:** [May 3, 2016, 9:32am UTC](https://forum.mautic.org/t/link-click-automation/3633/10 "2016-05-03T09:32:17Z")

</div>

@vln104 yes, that’s what i’m trying to achieve but isn’t the visited page decision in the campaign builder working without the need to use the web view URL?

My understanding is that when i capture a lead using a web form, Mautic will store the data about that lead in the system and then every page he will visit i can potentially send an email based on that visit.

If that’s correct there’s no need to use the web view URL.

---

<div class="post-metadata">

**Author:** ![vln104](https://avatars.discourse-cdn.com/v4/letter/v/5f9b8f/32.png) [@vln104](https://forum.mautic.org/u/vln104)\
**Post date:** [May 3, 2016, 9:49am UTC](https://forum.mautic.org/t/link-click-automation/3633/11 "2016-05-03T09:49:13Z")

</div>

@marzio yes it is correct that Mautic will know when leads have visited Mautic Landing pages without the web view URL. I though you were trying to detect an outside url like [www.google.com](http://www.google.com) which is when I think you will need to add [www.google.com](http://www.google.com) to emails using the web view url so that Mautic adds some tracking tokens to the link.

---

<div class="post-metadata">

**Author:** ![marzio](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@marzio](https://forum.mautic.org/u/marzio)\
**Post date:** [May 3, 2016, 12:46pm UTC](https://forum.mautic.org/t/link-click-automation/3633/12 "2016-05-03T12:46:32Z")

</div>

@vln104 yes i’m trying to monitor pages of my site.

Can i ask you a question about the lead monitoring? I would like to change a customer tag when he will visit a key page lets say it’s [www.mysite.com/download](http://www.mysite.com/download)

In the documentation i see there’ an example of that “mtracking.gif?tags=ProductA,-ProductB”

Problem is that i don’t understand how to implement that.

I understand that the mtracking.gif code will be present on every page of my site, how do you put the mtracking.gif?tags=ProductA,-ProductB code on the [www.mysite.com/download](http://www.mysite.com/download) page if there’s already the mtracking.gif code?

---

<div class="post-metadata">

**Author:** ![vln104](https://avatars.discourse-cdn.com/v4/letter/v/5f9b8f/32.png) [@vln104](https://forum.mautic.org/u/vln104)\
**Post date:** [May 3, 2016, 5:19pm UTC](https://forum.mautic.org/t/link-click-automation/3633/13 "2016-05-03T17:19:15Z")

</div>

ok cool - hope the campaign thing works for you.

I’ve never used tags before so can’t answer your question - sorry. Probably best post the question in another thread so others may see answer it.

Otherwise you could try changing tags as a campaign condition - that should work too.

Linh

---

<div class="post-metadata">

**Author:** ![marzio](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@marzio](https://forum.mautic.org/u/marzio)\
**Post date:** [May 3, 2016, 6:36pm UTC](https://forum.mautic.org/t/link-click-automation/3633/14 "2016-05-03T18:36:11Z")

</div>

@vln104 what do you mean by “campaign condition”? I’m sorry for the many questions but i’m new here and trying to figure out everything at once 🙂

BTW your help is greatly appreciated.

---

<div class="post-metadata">

**Author:** ![vln104](https://avatars.discourse-cdn.com/v4/letter/v/5f9b8f/32.png) [@vln104](https://forum.mautic.org/u/vln104)\
**Post date:** [May 3, 2016, 7:55pm UTC](https://forum.mautic.org/t/link-click-automation/3633/15 "2016-05-03T19:55:50Z")

</div>

Sorry I meant campaign action. There is an action on the campaign builder to change tags. You could connect it to the decision node (e.g. Visits a page) to change tags according to the condition

---

<div class="post-metadata">

**Author:** ![marzio](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@marzio](https://forum.mautic.org/u/marzio)\
**Post date:** [May 18, 2016, 9:53am UTC](https://forum.mautic.org/t/link-click-automation/3633/16 "2016-05-18T09:53:49Z")

</div>

@vln104 I’m trying to track link clicks that go on outside pages, i’m not using any theme. How do i do that?

---

<div class="post-metadata">

**Author:** ![Elenchus](https://avatars.discourse-cdn.com/v4/letter/e/ccd318/32.png) [@Elenchus](https://forum.mautic.org/u/Elenchus)\
**Post date:** [October 12, 2016, 12:53am UTC](https://forum.mautic.org/t/link-click-automation/3633/17 "2016-10-12T00:53:17Z")

</div>

Sorry to dig up an older thread, but I’m using an link inside a CSS button, and Mautic isn’t recognising the link as trackable. The Web View URL option doesn’t seem to be available in my email builder. What options do I have to make this link trackable?

Cheers
