Recent searches


No recent searches

Help Centre Chat Auto-Populate name, email fields from Redirection

Answered


Posted Mar 24, 2021

I 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?


1

5

5 comments

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

0


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

0



Where you have added the web widget?

0


The chat is enabled on Help Center - company_domain.zendesk.com/hc/en-us

0



This should work if you add the above snippet in the header.hbs file

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post