Web Widget: Overwrite the users url
AnsweredHi,
We are utilizing the web widget on our internal site, and are having security issues with the users URL being included on the bottom of the created tickets. We incorporated the updatePath javascript as shown below, beneath our ze-snippet; however, the full URL is still being added to our tickets.
Does the updatePath code need to be put somewhere else too?
The widget works very well otherwise, we just can't have the full URL be present on the created tickets.
<script id="WIDGET URL"> </script>
<script type="text/javascript">
window.zESettings = {
webWidget: {
position: { horizontal: 'left', vertical: 'top' },
contactForm: {
fields: [
{ id: 'name', prefill: { '*': 'test' }},
{ id: 'email', prefill: { '*': 'email@test.com' }},
]
}
}
};
zE('webWidget', 'updatePath', {
title: 'CAMP',
url: 'https://campsystems.com'
});
</script>
-
Hey,
The updatePath setting does two things:
1. It shows up in Zendesk Chat and can be used in Chat Triggers to do assignments:
2. It can be used to improve the Contextual Help for Answer Bot and Guide suggestions:
https://support.zendesk.com/hc/en-us/articles/219796887-About-Contextual-Help-for-the-Web-Widget
It does however not affect the source for tickets created via the Widget in Support.
-
Interesting, thank you for that information Thomas. Since it's a command of the widgets Core API I would thought it would affect the source for tickets created via the Widget in Support as well.
To be clear I'm referring to the "Submitted from:" link that is automatically added to the ticket description when a Support ticket is created via Widget. Are you aware of a way to change or hide this link?
-
That’s one item on my “wish the widget could do X” list that is not a feature yet.
Sadly.
So no, as far as I know it can’t be disabled.
-
Hi there,
I am facing the same need as Phil.
Maybe this feature has been implemented since ? Or is it still on a wishlist ?
Thanks a lot,
Romain
Please sign in to leave a comment.
4 Comments