Help Centre Chat Auto-Populate name, email fields from Redirection
RespondidaI want to auto-populate the name and email field in Help Center Chat Pre Form or Offline Form whenever somebody is coming from my website to the help center -> subdomain.zendesk.com/hc/en-us?name=test-chat&email=testchat@zd.com
Is it possible to capture these details and auto-populate it in chat box?
-
Hi Risabh,
You should be able to auto-populate name and email with the help of web widget API<script type="text/javascript"> zE(function() { zE.identify({ name: 'John Citizen', email: 'john@example.com' }); }); </script>
You can find more about web widget API here
Hope this helps!
-sushant -
Hi Sushant,
I am redirecting users to the help center from my website, I think the API will work on my website but not help center
-
Where you have added the web widget? -
The chat is enabled on Help Center - company_domain.zendesk.com/hc/en-us
-
This should work if you add the above snippet in the header.hbs file
Por favor, entrar para comentar.
5 Comentários