SOLVED

Help please - landing page not triggering in smart list

Go to solution
Anonymous
Not applicable

Help please - landing page not triggering in smart list

Hi There,

Im at the pointy end of a project that is due soon and something is amiss so any help is appreciated.

Here is what I am trying to achieve.

1. Customer receives email to complete a survey on survey monkey

2. After completion they are redirected to a landing page

3. There is a smart campaign listening for this to occur

pastedImage_0.png

pastedImage_1.png

4. Program status changed to > completed survey

I have been trying unsuccessfully for a day to sort this.

Thanks

Matt

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Help please - landing page not triggering in smart list

You already had the redirection code (in the onSuccess).  You seem to be cutting and pasting from different sources.

The full code to auto-submit and redirect is:

<script src="//app-sj01.marketo.com/js/forms2/js/forms2.min.js"></script>

<form id="mktoForm_1057"></form>

<script>

MktoForms2.loadForm("//app-sjst.marketo.com", "785-UHP-775", 1057, function(form) {

    //Add an onSuccess handler

    form.onSuccess(function(values, followUpUrl) {

        // Take the lead to a different page on successful submit, ignoring the form's configured followUpUrl

        location.href = "https://www.surveymonkey.com/r/5KQ3VGB";

        // Return false to prevent the submission handler continuing with its own processing

        return false;

    });

  form.submit();

});

</script>

You will need the Munchkin JS and Muchkin.init() as well.  But, as I've noted, your resulting code will have a race condition.  It will not satisfy your requirements reliably. I would not use it on a production site.

View solution in original post

83 REPLIES 83
Grégoire_Miche2
Level 10

Re: Help please - landing page not triggering in smart list

Hi Matthew Varone,

It is very likely that people are not member of your program in the "Invited" Status. 2 things to change :

  1. Make sure that the smart campaign that sends the email has a "change program status" -> Invited flow step
  2. Remove the "program status" constraint in the "member of program" filter.

An alternative would be to remove the "member of program" filter and replace it with a "was sent email" filter.

-Greg

Anonymous
Not applicable

Re: Help please - landing page not triggering in smart list

Hi Gregoire

I think I have set that up the right way.

pastedImage_0.png

I have a feeling its because the cookies are not working correctly. I say this because, on the landing page there is an option to sign up to the newsletter. When I check this it appears that a new lead has been acquired.

pastedImage_1.png

Im really stumped

Anonymous
Not applicable

Re: Help please - landing page not triggering in smart list

If it helps here is a screen of the entire program.

I have tested my wifes email on another computer and it didnt fire.

pastedImage_0.png

Anonymous
Not applicable

Re: Help please - landing page not triggering in smart list

Is it all possible that this is occurring because I edited and moved around the program steps in admin?

Thanks

Grégoire_Miche2
Level 10

Re: Help please - landing page not triggering in smart list

No, surely not.

-Greg

Grégoire_Miche2
Level 10

Re: Help please - landing page not triggering in smart list

Hi Matthew,

Of course, "visited web page" trigger is dependent on cookie.

Also, make sure you have left the link traceable in the text editor, as below. It will make sure the person is cookied.

pastedImage_0.png

You may also want to direct the person to a Marketo LP PRIOR to going to SurveyMonkey, and alos after, so that the survey is "embedded" within 2 Marketo LP's.

Otherwise, you may consider the Marketo / SurveyMonkey connecter, sold by SurveyMonkey, but it's a little expensive.

-Greg

Anonymous
Not applicable

Re: Help please - landing page not triggering in smart list

I tried both, created a LP prior to survey and didn't seem to work. I really need to get this figured

Grégoire_Miche2
Level 10

Re: Help please - landing page not triggering in smart list

Are you using a browser with DTN activated ?

-Greg

Anonymous
Not applicable

Re: Help please - landing page not triggering in smart list

Ive tried on 3 browsers firefox, chrome and edge