Linking two guides in the Onboarding module in the Resource Centre

Hi,
I am trying to link Guide A in, which is already active in the onboarding module, to Guide B, which starts on another page. Would anyone know how to do this?

Thank you!

0

Comments

1 comment
  • Hi Shraddha Bansodeyou can do it using button and a code block at the end of the last step of the first guide.

    use the code below in the code block.

    (function wireNextGuideButton(step) {
        step && step.attachEvent(step.guideElement[0], 'click', function(e) {
            
            var advanceButton_1 = pendo.dom(e.target || e.srcElement).closest('add_button_id_here');
            if (advanceButton_1.length) {
                
                // get the account name metadata value to be used ahead in the URL using pendo.getSerializedMetadata.
                var account_name = pendo.getSerializedMetadata().account.name;

                // build your URL by using the account name metadata directly.
                var newurl = "https://your_domain.com//manage?pendo=target_guide_id";

                //Finally dismissing the current guide to trigger the permalink.
                pendo.onGuideDismissed();

                // Opening the dynamic permalink url in the same browser tab after refreshing the page.
                window.open(newurl, "_self");
            }
        });
    })(step, guide);

    Connect on LinkedIn if you face any challenge.

    https://www.linkedin.com/in/rohitpandey366

    0

Please sign in to leave a comment.

Didn't find what you were looking for?

New post