Hyperlinking Help Center Categories

Answered

34 Comments

  • Vladan Jovic
    Comment actions Permalink

    Hi Emma, just to check, where you have placed the code above and did you change to ID from 888888 to your article ID? Any chance you can share your article url with me?

    0
  • Emma MacDonald
    Comment actions Permalink

    I haven't placed it anywhere yet because I wasn't sure where! 

    This is the article URL: https://help.loseit.com/hc/en-us/articles/360011377794-Feature-Suggestions

    This is the code I was thinking:

    <script> 
    if(window.location.href.indexOf("360011377794") > -1) {
     window.location.replace('https://www.surveymonkey.com/r/LH6KTDC');
    }
    </script>

     

    0
  • Vladan Jovic
    Comment actions Permalink

    Yup, the code looks good! You just need to put it in the head template (document head). try it out and let us know how it goes! 

    - edit your theme template

    - open head template

    - paste your code on the top of the head template.

     

    0
  • Emma MacDonald
    Comment actions Permalink

    Ahh - perfect! Thanks for your prompt assistance, Vladan! 

    0

Please sign in to leave a comment.

Powered by Zendesk