Skip to content

Instantly share code, notes, and snippets.

@moderatorwes
Last active September 9, 2020 17:13
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save moderatorwes/614de539de35aece9530 to your computer and use it in GitHub Desktop.
Save moderatorwes/614de539de35aece9530 to your computer and use it in GitHub Desktop.
Zendesk: Re-direct users to My Activities if End User
//re-direct end users to My Activities
if(HelpCenter.user.role=="end_user"){
location.href="https://yoursubdomain.zendesk.com/hc/en-us/requests/";}
@pbgalvin
Copy link

pbgalvin commented Sep 9, 2020

I can't figure out how to get this to work in zendesk. I edited the home page in "Copenhagen", replacing all of that code with this code.
But after publishing when I go to the home page I just see this code displayed, not executed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment