Skip to main content
February 18, 2015
Question

munchkin api add to list

  • February 18, 2015
  • 5 replies
  • 1515 views
Does munckin api allow to add the lead to a list on creation/update? I don't see this in docs
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

February 18, 2015
Not directly. You can set up a smart campaign that looks for a web page visit by a lead, and then add that lead to a list. 
February 18, 2015
Thanks, but page url wouldnt work in this scenario.

Does the munchkin code allow to set the lead source? that would be the more direct option.
SanfordWhiteman
Level 10
February 19, 2015
@David L rather than the built-in Visit Web Page action, what about a custom Click Link Munchkin API call (you can call the link whatever you like)?
February 24, 2015
So with your and Murtza help, it seems the correct tool should be: Visit Web Page. This makes more sense than a click, as its a page view (e.g. thankyou) that triggers the event - not a click i.e. registration. Noting that this is a virtual page view, needing the below code.

Munchkin.munchkinFunction('visitWebPage', {
    url: '/virtual-page', params: 'x=y&2=3'
});

With this, I can say "all leads who got to page domain+virtual-page" push them into the process.

 
SanfordWhiteman
Level 10
March 2, 2015
Yes, you could use a supplementary Visit Web Page call like this.  I tend to use Click Link to trigger Interesting Moments because that way users can always trust that Visit Web Page signified a real page view, while Click Link becomes more loosely defined..