# Urgent: Problem with campaign starting from segment

**URL:** <https://forum.mautic.org/t/urgent-problem-with-campaign-starting-from-segment/9033>\
**Category:** Product Support\
**Created:** [July 24, 2017, 10:42am UTC](https://forum.mautic.org/t/urgent-problem-with-campaign-starting-from-segment/9033 "2017-07-24T10:42:16Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![giuliusmautic12](https://avatars.discourse-cdn.com/v4/letter/g/f08c70/32.png) [@giuliusmautic12](https://forum.mautic.org/u/giuliusmautic12)\
**Post date:** [July 24, 2017, 10:42am UTC](https://forum.mautic.org/t/urgent-problem-with-campaign-starting-from-segment/9033/1 "2017-07-24T10:42:16Z")

</div>

Hi  
  
Using the version 2.8 of Mautic we are trying to do the following.  
  
We send an email marketing (DEM) to contacts of a specific segment. Inside this email there is a link to a static page to visit.  
  
We have created a campaign starting from this segment and one step of the workflow is to check if a contact visited or not the page.  
  
The problem that we are experimenting is that Mautic does not track the visit of page so it is executed the red branch (i.e. page not visited) that send a reminder.  
  
We have checked the tracking code and we are sure that this is working.  
  
Could you help us to solve this problem?  
  
For convenience we attach the picture of campaign workflow.  
  
  
  
Thank you in advance  
  
  
  
P.S. We need to solve the problem in the next days because we are preparing a campaign for a customer.

---

<div class="post-metadata">

**Author:** ![giuliusmautic12](https://avatars.discourse-cdn.com/v4/letter/g/f08c70/32.png) [@giuliusmautic12](https://forum.mautic.org/u/giuliusmautic12)\
**Post date:** [July 24, 2017, 10:42am UTC](https://forum.mautic.org/t/urgent-problem-with-campaign-starting-from-segment/9033/2 "2017-07-24T10:42:16Z")

</div>

Hi  
Using the version 2.8 of Mautic we are trying to do the following.  
We send an email marketing (DEM) to contacts of a specific segment. Inside this email there is a link to a static page to visit.  
We have created a campaign starting from this segment and one step of the workflow is to check if a contact visited or not the page.  
The problem that we are experimenting is that Mautic does not track the visit of page so it is executed the red branch (i.e. page not visited) that send a reminder.  
We have checked the tracking code and we are sure that this is working.  
Could you help us to solve this problem?  
For convenience we attach the picture of campaign workflow.

Thank you in advance

P.S. We need to solve the problem in the next days because we are preparing a campaign for a customer.

---

<div class="post-metadata">

**Author:** ![mauticdevelopers](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@mauticdevelopers](https://forum.mautic.org/u/mauticdevelopers)\
**Post date:** [July 24, 2017, 12:30pm UTC](https://forum.mautic.org/t/urgent-problem-with-campaign-starting-from-segment/9033/3 "2017-07-24T12:30:12Z")

</div>

Hi @giuliusmautic12, attach campaign workflow picture, web page address with mautic pixel will be also helpfull.

---

<div class="post-metadata">

**Author:** ![giuliusmautic12](https://avatars.discourse-cdn.com/v4/letter/g/f08c70/32.png) [@giuliusmautic12](https://forum.mautic.org/u/giuliusmautic12)\
**Post date:** [July 24, 2017, 6:53pm UTC](https://forum.mautic.org/t/urgent-problem-with-campaign-starting-from-segment/9033/4 "2017-07-24T18:53:59Z")

</div>

Of course.  
This is the workflow:  
[http://www.colnaghifigini.it/sviluppo/test-MAUTIC-page/workflow.png](http://www.colnaghifigini.it/sviluppo/test-MAUTIC-page/workflow.png)  
and this is the web page:  
[http://www.colnaghifigini.it/sviluppo/test-MAUTIC-page/pagina1.html](http://www.colnaghifigini.it/sviluppo/test-MAUTIC-page/pagina1.html)

Thank you in advance

---

<div class="post-metadata">

**Author:** ![mauticdevelopers](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@mauticdevelopers](https://forum.mautic.org/u/mauticdevelopers)\
**Post date:** [July 25, 2017, 11:09am UTC](https://forum.mautic.org/t/urgent-problem-with-campaign-starting-from-segment/9033/5 "2017-07-25T11:09:01Z")

</div>

Hi @giuliusmautic12

There is an error on your landing page:

![](https://cl.ly/231X3F1z0F2n/Image%202017-07-25%20at%202.02.19%20PM.png)

You have to adjust your Mautic configuration here:

![](https://cl.ly/0U333H1y1v2S/Image%202017-07-25%20at%202.03.54%20PM.png)

Regards

---

<div class="post-metadata">

**Author:** ![giuliusmautic12](https://avatars.discourse-cdn.com/v4/letter/g/f08c70/32.png) [@giuliusmautic12](https://forum.mautic.org/u/giuliusmautic12)\
**Post date:** [July 26, 2017, 5:40am UTC](https://forum.mautic.org/t/urgent-problem-with-campaign-starting-from-segment/9033/6 "2017-07-26T05:40:47Z")

</div>

Thank you very much DM but the problem is the same.  
I have to adjust my Mautic configuration and the page is traced but it does not run the green track.  
It execute the red branch that send a reminder.  
What should I check?  
Thank you for you support.

---

<div class="post-metadata">

**Author:** ![mauticdevelopers](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@mauticdevelopers](https://forum.mautic.org/u/mauticdevelopers)\
**Post date:** [July 26, 2017, 6:38am UTC](https://forum.mautic.org/t/urgent-problem-with-campaign-starting-from-segment/9033/7 "2017-07-26T06:38:35Z")

</div>

Where do you host this Mautic? For me it seems like your web server removes important headers from Mautic response to make tracking work.

You should have following response for /mtc/event request:

![](https://cl.ly/3X0c323n2m3x/Image%202017-07-26%20at%209.35.48%20AM.png)

In your case you have:

![](https://cl.ly/1o0S18041f2b/Image%202017-07-26%20at%209.38.20%20AM.png)

---

<div class="post-metadata">

**Author:** ![giuliusmautic12](https://avatars.discourse-cdn.com/v4/letter/g/f08c70/32.png) [@giuliusmautic12](https://forum.mautic.org/u/giuliusmautic12)\
**Post date:** [July 26, 2017, 9:50am UTC](https://forum.mautic.org/t/urgent-problem-with-campaign-starting-from-segment/9033/8 "2017-07-26T09:50:39Z")

</div>

Thanks DM, I make my checks and then let you know.  
Thanks again for your help

---

<div class="post-metadata">

**Author:** ![giuliusmautic12](https://avatars.discourse-cdn.com/v4/letter/g/f08c70/32.png) [@giuliusmautic12](https://forum.mautic.org/u/giuliusmautic12)\
**Post date:** [July 27, 2017, 2:58pm UTC](https://forum.mautic.org/t/urgent-problem-with-campaign-starting-from-segment/9033/9 "2017-07-27T14:58:17Z")

</div>

Hi DM,  
our hosting web servers did not detect anomalies with the information highlighted.  
If we indicate to them how we (you DM) retrieved those feedback information they can do further testing. It’s possible?  
Let me know?  
Thanks again

---

<div class="post-metadata">

**Author:** ![giuliusmautic12](https://avatars.discourse-cdn.com/v4/letter/g/f08c70/32.png) [@giuliusmautic12](https://forum.mautic.org/u/giuliusmautic12)\
**Post date:** [July 28, 2017, 8:29am UTC](https://forum.mautic.org/t/urgent-problem-with-campaign-starting-from-segment/9033/10 "2017-07-28T08:29:35Z")

</div>

Hi DM, the server provider, added to the .htacces file these rules:

- Header add Access-Control-Allow-Headers “origin, x-requested-with, content-type”
- Header add Access-Control-Allow-Methods “PUT, GET, POST, DELETE, OPTIONS”
- Header add Access-Control-Allow-Origin “[https://thecodeine.com](https://thecodeine.com)”  
But it does not work.  
Can you give me a feedback?  
Thanks.

---

<div class="post-metadata">

**Author:** ![giuliusmautic12](https://avatars.discourse-cdn.com/v4/letter/g/f08c70/32.png) [@giuliusmautic12](https://forum.mautic.org/u/giuliusmautic12)\
**Post date:** [July 31, 2017, 11:32am UTC](https://forum.mautic.org/t/urgent-problem-with-campaign-starting-from-segment/9033/11 "2017-07-31T11:32:44Z")

</div>

Hi DM, have you good news for me?  
I’ve seen in the forum that many people have this problem but it seems that nobody has given a solution for now. How is it possible?  
Thanks.

---

<div class="post-metadata">

**Author:** ![mauticdevelopers](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@mauticdevelopers](https://forum.mautic.org/u/mauticdevelopers)\
**Post date:** [July 31, 2017, 12:51pm UTC](https://forum.mautic.org/t/urgent-problem-with-campaign-starting-from-segment/9033/12 "2017-07-31T12:51:09Z")

</div>

These headers are returned by Mautic itself, you shouldn’t add it to the server configuration. There are to possible cases:

1. Your server blocks this headers for some reason
2. Mautic didn’t return it for another reason (misconfiguration, bug, etc)

Hard to ,fix it’’ on the forum. Best way is to hire someone who will do the investigation and fix it.
