# Campaign does not trigger a page hit after successfully sending an email

**URL:** <https://forum.mautic.org/t/campaign-does-not-trigger-a-page-hit-after-successfully-sending-an-email/20131>\
**Category:** Product Support\
**Created:** [July 12, 2021, 10:21am UTC](https://forum.mautic.org/t/campaign-does-not-trigger-a-page-hit-after-successfully-sending-an-email/20131 "2021-07-12T10:21:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidspiola](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/davidspiola/32/1086_2.png) [@davidspiola](https://forum.mautic.org/u/davidspiola)\
**Post date:** [July 12, 2021, 10:21am UTC](https://forum.mautic.org/t/campaign-does-not-trigger-a-page-hit-after-successfully-sending-an-email/20131/1 "2021-07-12T10:21:43Z")

</div>

**Your software**  
My Mautic version is: 3.3.  
My PHP version is: 7.3  
My Database type and version is: MariaDB 10.6

**Your problem**  
Hi Folks, what could be a possible reason why my campaign does not trigger a page hit after I successfully send a email mit the corresponding link?! I basically followed this blog post → [Creating a Double Opt-In Email Campaign](https://www.mautic.org/blog/integrator/creating-a-double-opt-in-email-campaign). I would really appreciate the help because I’m kind of lost here.

 ![Screenshot 2021-07-11 at 21.57.24](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/0/0f13002e6e8a76b76cd50febacaedcac732ca8af.jpeg)

These errors are showing in the log: no

Steps I have tried to fix the problem: use commands to trigger campaign updates

---

<div class="post-metadata">

**Author:** ![robm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/robm/32/260_2.png) [@robm](https://forum.mautic.org/u/robm)\
**Post date:** [July 12, 2021, 10:40am UTC](https://forum.mautic.org/t/campaign-does-not-trigger-a-page-hit-after-successfully-sending-an-email/20131/2 "2021-07-12T10:40:18Z")

</div>

Are u testing using an incognito browser session? That’s the most common reason.

Next would be to check that your tracking code is installed properly on your site and sending data to Mautic.

Are u seeing the URL hit in the contact activity feed?

I think you need to add a delay to the action checking for the url hit. The way you have it Mautuc is checking for the URL link straight away as you send the email. As the recipient would not have had time to hit the link yet, the condition will fail.

In addition, there are issues with using a campaign to manage DOI emails due to the cron job delay.

Ideally, you would want a DOI opt email to be sent out immediately someone opts into your list. [https://joeykeller.com/](https://joeykeller.com/) has a great tut on this. His site is down right now so I can’t share the direct link.

---

<div class="post-metadata">

**Author:** ![davidspiola](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/davidspiola/32/1086_2.png) [@davidspiola](https://forum.mautic.org/u/davidspiola)\
**Post date:** [July 12, 2021, 10:57am UTC](https://forum.mautic.org/t/campaign-does-not-trigger-a-page-hit-after-successfully-sending-an-email/20131/3 "2021-07-12T10:57:10Z")

</div>

Thx @robm! AFAIK no incognito mode… and I tested multiple browsers. I wonder why this is an issue anyway because the link target is coded with a hash for identification, isn’t it?

The page is a mautic landing page out of the box with a standard template.

No, I don’t see a hit in the activity feed. I see “email opened”, and if I adjust the campaign to move forward based on the “email opened” condition, it works.

Thx for the url delay hint

Yes, it’s a DOI Campaign. I’ll check the tutorial, thx!

---

<div class="post-metadata">

**Author:** ![robm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/robm/32/260_2.png) [@robm](https://forum.mautic.org/u/robm)\
**Post date:** [July 12, 2021, 11:04am UTC](https://forum.mautic.org/t/campaign-does-not-trigger-a-page-hit-after-successfully-sending-an-email/20131/4 "2021-07-12T11:04:29Z")

</div>

U have to test in incognito mode or when logged out of mautic, or mautic will ignore everything as it sees u as an admin and therefore not the intended target of the campaign.

I think you have found the breakpoint though. If the feed is not seeing the URL then the campaign won’t work as intended. That is likely linked to the incognito testing.

So step 1 - get Mautic to see the url hit, then move onto troubleshooting the campaign if still needed.

---

<div class="post-metadata">

**Author:** ![davidspiola](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/davidspiola/32/1086_2.png) [@davidspiola](https://forum.mautic.org/u/davidspiola)\
**Post date:** [July 13, 2021, 5:47am UTC](https://forum.mautic.org/t/campaign-does-not-trigger-a-page-hit-after-successfully-sending-an-email/20131/5 "2021-07-13T05:47:19Z")

</div>

I found the issue! My proxy did not x-forwared the client ip to the Mautic instance. Now page hit tracking works! thx for your help 🙂
