Web Widget: Overwrite the users url
Answered
Posted Jan 18, 2021
Hi,
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>
0
2
2 comments
Sign in to leave a comment.