7 Replies Latest reply on Feb 2, 2018 3:20 PM by Yulya Toporochan

    Help with trigger

      Hello all,


      I was wondering if anyone could help me figure out how to auto send and email when a known person leaves our website. We are a large ecommerce site with a lot of categories of products. What we are basically looking to do is, when a person looks a several pages in a category but takes no action to purchase, we would like to automatically send them an email with contact information if they have questions for our experts and also include the latest promotions for the category they where in. I can not seem to find anything on triggering and email when a person leaves or is inactive on the site.


      Thanks for your help.

        • Re: Help with trigger
          Devraj Grewal



          Please move this discussion to Products as it is Marketo-specific and not a general marketing discussion.


          Your munchkin-enabled landing pages and munchkin-enabled website can be tracked but there is no way to know once the user has left your site to visit another site since you do not have munchkin on the subsequent site. So an option here would be to safely assume that once a lead has visited a webpage and has not visited another webpage in another 5 minutes or so, that they have left your site. But no, there is no trigger for leaving munchkin-tracked webpages.


          What you can do is:


          Smart List:

          trigger "visits webpage"



          wait 5 minutes

          Remove from flow

               Choice 1: if person is member of smart list "visited web page in last 5 minutes": remove from this campaign

               Default: Do nothing

          Send email


          This will check if the lead has visited a web page in the last 5 minutes and if so, will remove them from the flow before they receive the email. The email will only be sent once it has been 5 minutes since they have visited a web page. Allow people to run through the campaign every time.


          I caution this approach though as you will have potentially hundreds of leads qualifying for this smart campaign at the same time, bringing down instance performance.

          • Re: Help with trigger
            Sanford Whiteman

            This is called email remarketing: detecting web abandonment and remarketing via a different medium.


            First, some technical pointers.


            Trying to detect when a person has stopped looking at your site, if your analytics package is not continuously sending keep-alive pings (Munchkin doesn't send such pings), is not possible in a cross-browser fashion. In modern desktop browsers (Edge, up-to-date Chrome and Firefox) you can send an exit Munchkin event on navigation or tab/browser close or navigating away from the page with mostly-reliability. But this is impossible on older browsers (that includes IE 11) and on most mobile browsers.


            In the absence of a literal exit event you have what we programmers call a dead man's switch problem. This refers to the impossibility of determining that a service has stopped doing something in the absence of some kind of external observer. When that "something" is "viewing web pages," it should make sense that the same device that stopped can't tell you that it stopped, depending on how gracefully it stopped. (Compare it to the difference between a train engineer radioing "I'm about to pass out" and just passing out.)


            The fact that you can't reliably track the exit itself in the browser has led to the concept of "exit intent detection." This is tech used by scripts like OptIn Monster to pop up a form just before you close the tab, in an effort to stop you from leaving. Exit intent uses mouse movement, and in some cases previous navigation patterns and site-specific knowledge, to give good-to-fair results, again faltering more on mobile than on desktop.


            But really you don't want exit/exit intent detection, you want abandonment detection, which is a different matter and is extremely site-specific. Abandonment can occur even when a page has focus, if enough time has passed. Conversely, abandonment may not occur even across entire browser sessions: you may not care about someone who visits one page and leaves (they're beneath the threshold for useful abandonment) but someone who visits 3 pages each from 2 different browser sessions without converting, or who leaves an empty cart for 24 hours, may become interesting.


            The good news is that abandonment detection is easier, on a technical level, than exit detection, since it doesn't have to be done in real time (nor in the browser, if used for email remarketing) and is usually done by crunching activity logs offline to see if the page navigation/timing matches a known pattern.


            The bad news is that Marketo isn't the right place to detect abandonment. As Devraj rightly notes, moving tons of leads in and out of campaigns based on activity log lookbehind could kill your instance, not to mention that effectively detecting abandonment requires a query language that's far more robust than Marketo Smart Lists.


            Instead I would use a third-party analytics package, then query that package and call in to Marketo via API. Examples would be Calq or Heap Analytics. Alternately, you could download the Marketo activity log into an on-premises database, but that's going to represent a lot of infrastructure overhead before you even get to querying the data for abandonment patterns.

            5 of 5 people found this helpful
              • Re: Help with trigger
                Yulya Toporochan

                Hi there,

                I'm trying out this form abandonment campaign. I would like to send an email to people that are in our Marketo system who visited our webinar registration page but didn't register for the webinar.

                24h later I want to send them an email reminding them to go back to the page and register for the webinar. So far, I only see people from our company as members. But I know for a fact that a person has visited this page from the outside and didn't fill out a form. I asked a dummy lead to go through this exercise. Do you guys think my smart list makes sense? The flow is just wait 24h and then send email. Thank you so much in advance whoever can provide any insights.