Guides reappearing each time the page loads
I am not sure if this is default Pendo behavior or it is something we can turn off, but the situation is if we have a guide that is shown automatically to the user and if they close, refresh or reload the browser page without closing or dismissing the guide and then later return to that same page, the guide resumes where it left off. Sort of like if a salesman came to your house and you closed the door on them and they just stayed on your porch until you opened the door again. Oh hi, you're still here?
This is causing issues because we want the guide to dismiss if they close the browser page, tab or even refresh the page. If they are done viewing it, then we want it to go away.
コメント
Maybe this means it should live in a different part of your system, or be a banner-style (embedded) instead of a pop-up, or should be targeted or activated differently? What options do you give them today for dismissing it?
Hi Liz and yeah, we were thinking of changing this particular guide to be some kind of bottom or top docked banner style guide or an embedded guide. We're just getting going with Pendo. The question I ultimately was curious about was is it default Pendo behavior to have a guide resume where it left off if the user closes the browser page and later reopens it. Or does/should the guide dismiss itself if the browser page/tab is closed while the guide is being viewed. I did bring this up with our Pendo rep following this post and he said that yes, it does do that and we could work around it with custom code, but I like the idea of a less obtrusive banner or embedded style guide to say, "hey, there's something important for you to check out." Thanks for the reply!
I was able to work around this by adding a code block to the guide step that the user might leave open. So when they leave the page, the guide dismisses itself.
window.addEventListener("beforeunload", function() {console.log("User is leaving the page. Dismissing guide...");
pendo.onGuideDismissed();
});
Hi Spencer,
I brought up a similar issue about nine months ago, and this was the response I received at the time:
With that being said: Once the guide is launched, it remains active on the page where the rules match until it is either completed or dismissed.
Hi Stanley, yes I learned this is the default behavior. We have a bit of a unique guide in that it appears conditionally on the page and we want it to dismiss so it can be called on if needed again. Its a warning "you can't do this and here's why" type of guide. If not dismissed by the user, we want it to dismiss anyway if they leave or reload the page. So not being a typical instructional guide, I opted to use the custom code I commented above with to make the guide behave as we wanted.
サインインしてコメントを残してください。