intercom-wordpress icon indicating copy to clipboard operation
intercom-wordpress copied to clipboard

Identify backend users

Open leoschml opened this issue 4 years ago • 1 comments

Hi there, I have successfully integrated the messenger via JavaScript to show up only on the backend of my WordPress website. However, I want to make use of the user identification, but I am unfortunately a noob when it comes to coding. Can someone help me how to pass the variables (user-id, e-mail, signup date) to Intercom via JavaScript? So no custom metas, just the standard WordPress user information.

I would really appreciate any help. Thank you very much! 🙏

leoschml avatar Sep 30 '21 18:09 leoschml

@leoschml user-id and email should be set already by the integration. if you want to add additional data you can do so by adding a function in your theme: https://github.com/intercom/intercom-wordpress/blob/master/readme.md#pass-custom-data-attributes-to-the-intercom-messenger

eredi93 avatar Apr 14 '25 16:04 eredi93