# How to trigger a campaign visit page decision through using WP landing Page  url

**URL:** <https://forum.mautic.org/t/how-to-trigger-a-campaign-visit-page-decision-through-using-wp-landing-page-url/10366>\
**Category:** General Discussion\
**Created:** [March 21, 2018, 3:56am UTC](https://forum.mautic.org/t/how-to-trigger-a-campaign-visit-page-decision-through-using-wp-landing-page-url/10366 "2018-03-21T03:56:42Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![wordpress](https://avatars.discourse-cdn.com/v4/letter/w/59ef9b/32.png) [@wordpress](https://forum.mautic.org/u/wordpress)\
**Post date:** [March 21, 2018, 3:56am UTC](https://forum.mautic.org/t/how-to-trigger-a-campaign-visit-page-decision-through-using-wp-landing-page-url/10366/1 "2018-03-21T03:56:42Z")

</div>

Hello Everyone!

I want to know how the campaign will trigger when we apply the decision as visit page in that we use the WP landing page url.

I have create the campaign, In which The user submit the form from the WP website for Webinar. After Submitting Form I send the confirmation link in email template and after hitting the link we send the thank you mail to user. After opening thank you mail we want Send the contact confirmed user segment.

Here is Campaign tree: [https://prnt.sc/iu5tzi](https://prnt.sc/iu5tzi)  
[https://prnt.sc/iu5xj1](https://prnt.sc/iu5xj1)

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [March 21, 2018, 6:45am UTC](https://forum.mautic.org/t/how-to-trigger-a-campaign-visit-page-decision-through-using-wp-landing-page-url/10366/2 "2018-03-21T06:45:04Z")

</div>

Have you set up cron jobs for that ?

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [March 21, 2018, 9:50am UTC](https://forum.mautic.org/t/how-to-trigger-a-campaign-visit-page-decision-through-using-wp-landing-page-url/10366/3 "2018-03-21T09:50:32Z")

</div>

@wordpress Remember this action will take effect as soon the campaign trigger is fire but the campaign cron job. If you set up the campaign trigger cron job to run every 5 minutes you will need to wait 5 minutes to see the actions taken place

---

<div class="post-metadata">

**Author:** ![heduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/heduino/32/291_2.png) [@heduino](https://forum.mautic.org/u/heduino)\
**Post date:** [March 21, 2018, 12:20pm UTC](https://forum.mautic.org/t/how-to-trigger-a-campaign-visit-page-decision-through-using-wp-landing-page-url/10366/4 "2018-03-21T12:20:23Z")

</div>

My question is similar, but a little diferent.  
I have the same form to get the emails and Names.  
Then the contact receives an Email with a link to the first video, witch is on a Wordpress landing page.  
How does the campaign trigger the next Email, only after the contact sees the first video on the first Landing page?

All together I will have 3 Landing pages (in Wordpress), that should trigger each one only after watching the previous video, witch triggers the next email with a link to the next Video.

---

<div class="post-metadata">

**Author:** ![wordpress](https://avatars.discourse-cdn.com/v4/letter/w/59ef9b/32.png) [@wordpress](https://forum.mautic.org/u/wordpress)\
**Post date:** [March 22, 2018, 4:52am UTC](https://forum.mautic.org/t/how-to-trigger-a-campaign-visit-page-decision-through-using-wp-landing-page-url/10366/5 "2018-03-22T04:52:02Z")

</div>

Yes, Cron is set  
Cron is set for campaign rebuild in 5,20,35,50 and trigger in \*,25,40,55.  
but still campaign is not be working.

---

<div class="post-metadata">

**Author:** ![wordpress](https://avatars.discourse-cdn.com/v4/letter/w/59ef9b/32.png) [@wordpress](https://forum.mautic.org/u/wordpress)\
**Post date:** [March 22, 2018, 8:15am UTC](https://forum.mautic.org/t/how-to-trigger-a-campaign-visit-page-decision-through-using-wp-landing-page-url/10366/6 "2018-03-22T08:15:37Z")

</div>

Yes I have this cron which is run in per minute.

---

<div class="post-metadata">

**Author:** ![heduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/heduino/32/291_2.png) [@heduino](https://forum.mautic.org/u/heduino)\
**Post date:** [March 27, 2018, 9:03am UTC](https://forum.mautic.org/t/how-to-trigger-a-campaign-visit-page-decision-through-using-wp-landing-page-url/10366/7 "2018-03-27T09:03:27Z")

</div>

Hi MxyzptlkFishStix,  
Can you specify your explination a bit more.

\>\> First page – contains meta refresh = length of video on lander.  
What does this mean? \> “Contains meta refresh”

\>\> Second page – either a remote download asset or mtc.js + visited URL used as a campaign triggers for the email(s) you want to send.

what do you mean by “Remote Download Asset”, “mtc.js + visited URL”

Create a 1×1 iframe, containing first page, on lander with video.  
\>\> Explain please…  
Sorry for being so ignorant…

---

<div class="post-metadata">

**Author:** ![heduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/heduino/32/291_2.png) [@heduino](https://forum.mautic.org/u/heduino)\
**Post date:** [April 1, 2018, 3:18pm UTC](https://forum.mautic.org/t/how-to-trigger-a-campaign-visit-page-decision-through-using-wp-landing-page-url/10366/8 "2018-04-01T15:18:44Z")

</div>

Thanks MxyzptlkFishStix,

I think I understand now. Just one observation. It seems to me that Page 2 is the same for all 3 Videos, since it only has the Tracking code (witch is always the same)… Am I right?  
Only page 1 changes because of the time of the video…

---

<div class="post-metadata">

**Author:** ![heduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/heduino/32/291_2.png) [@heduino](https://forum.mautic.org/u/heduino)\
**Post date:** [April 3, 2018, 5:56am UTC](https://forum.mautic.org/t/how-to-trigger-a-campaign-visit-page-decision-through-using-wp-landing-page-url/10366/9 "2018-04-03T05:56:47Z")

</div>

Frustrating… The campaign triggers, but not working.

So my campaign is built to:  
-\> Get contacts from a Mautic form.  
-\> Send a Email-1 Immediately.  
(This email has a Link to the Webpage with the Video.)  
-\> Mautic-Decision to Visit Page (page2.html).  
-\> if page is visited, Sends Email-1-1.  
-\> if not, Sends Email-1-2.

So everthing seems to be working except, the Visit page trigger.  
Independent of page visited or not, the campaign keeps sending the Email-1-1, Email-1-2

I tested with 2 email, where one doesnt open the email, and the other does and visit the page.

So the contacts are coming from the form, the campaign is triggering, and sending the emails, just not in my desired conditions…

---

<div class="post-metadata">

**Author:** ![heduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/heduino/32/291_2.png) [@heduino](https://forum.mautic.org/u/heduino)\
**Post date:** [April 3, 2018, 8:26am UTC](https://forum.mautic.org/t/how-to-trigger-a-campaign-visit-page-decision-through-using-wp-landing-page-url/10366/10 "2018-04-03T08:26:08Z")

</div>

# Here is the sequence of Screen Shots:

![General Campaign Scheme](http://www.hipnoseecoaching.pt/imgs/1.png)  
 ![Send Email](http://www.hipnoseecoaching.pt/imgs/2.png)  
 ![Visit a Page](http://www.hipnoseecoaching.pt/imgs/3.png)  
 ![Send Email 2](http://www.hipnoseecoaching.pt/imgs/4.png)  
 ![Decisions](http://www.hipnoseecoaching.pt/imgs/5.png)  
 ![Actions](http://www.hipnoseecoaching.pt/imgs/6.png)

Files page2.html, page4.html, page6.html, all the same code as page2.html:
