Hyperlinking Help Center Categories

답변함

34 댓글

  • Vladan Jovic
    Community Moderator

    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

    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
    Community Moderator

    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

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

    0

게시물 댓글 달기가 중지되었습니다.

Zendesk 제공