Guides dismissing when launching other guides

Comments

7 comments

  • Avatar
    Charlie Krivda

    It seems very similar to this, but wasn't able to find a way to implement...
    https://support.pendo.io/hc/en-us/community/posts/4403883973147-Force-reset-guide-viewed-state?page=1#community_comment_4412238702235

    0
    Comment actions Permalink
  • Avatar
    Todd Stoffer

    Hi Charlie! We currently do not have a way to change the behavior of a new guide launch dismissing the previous guide. However - we do have the 'launch guide' button action that might be helpful here. Would it be possible for you to use a 'dismiss' button on the second guide that has a button action of 'launch guide' that would re-launch the first guide? Let me know if you think that might work as an option. 

    0
    Comment actions Permalink
  • Avatar
    Charlie Krivda

    Todd Stoffer I don't think the linking back loop would work in this scenario due to the fact that the other guides have multiple paths that may not have a customer "complete" or finish with a step that I could launch another guide.
    The article I linked above had a way to tie relaunching a guide to the X (close) button.  I'm not sure if there was a way to do something similar via codeblock to change the state of the guide they are leaving?

    And to maybe clarify, I'm ok with the guide-launch "dismissing" the current guide from the standpoint of- in that action, guide A no longer needs to be on screen when another guide is active.  However, when guide B is completed, guide A is still pending and will re-popup if the customer is in the segment on a new page load.

    0
    Comment actions Permalink
  • Avatar
    Todd Stoffer

    Charlie Krivda I have not had a chance to test this yet - but here is a slightly different code snippet that I would try. In this case you would be targeting the ID of the button that launches the second guide. You can find that by right-clicking and inspecting on the guide button when it is displayed on screen - like when you are previewing it. Let me know once you are able to test that slightly different snippet. 

    0
    Comment actions Permalink
  • Avatar
    Charlie Krivda

    Josh Todd Stoffer this seems to be halfway there.  this does dismiss guide A and allow for reload to relaunch Guide A, but it no longer launches Guide B (the original intent of the button)

    Probably just need the portion of code that I need to put in to also have the button launch Guide B now.

    0
    Comment actions Permalink
  • Avatar
    Todd Stoffer

    Charlie Krivda The code to launch a Pendo guide would be pendo.showGuideById('GUIDE ID GOES HERE'). If you add that just below line 9 of the snippet I linked to above I believe it will dismiss the current guide until reload - and launch the second guide based on the guide ID that you place into the code. Let me know if you are able to get that working! 

    0
    Comment actions Permalink
  • Avatar
    Charlie Krivda

    Thanks Todd Stoffer, think this is working for now.  Crudely implemented it for 3 buttons on on guide lightbox, but seems to be functioning as expected!

    Appreciate the help. 

    0
    Comment actions Permalink

Please sign in to leave a comment.