A client of us would like us to add Identity Verification to their implementation with Intercom, which is done through Google Tag Manger. I've come across this page: https://www.intercom.com/help/en/articles/2631808-install-intercom-with-google-tag-manager.Which explains how to install intercom itself. It also notes you're able to add an user hash to the Install event. However, its not clear to me how this hash gets to the Install event in GTM, since this is generated in the backend of the application (.NET in this case), and we dont manually send anything to Intercom, since its all done through GTM. Are there any resources that explain how to make sure this hash is added during the Install event (with a backend in .NET and the installation of Intercom in GTM)?
Hey @quirijn! Daniel from Customer Support Engineering here 🔧
You should be able to achieve this by calculating the user hash on your site's backend or JavaScript, as shown under Settings > Security > Enforce identity on web. Then, Then inject it into your Intercom installation code snippet in order to use it. However, you will need to ensure the user hash is calculated and present on your website before the Intercom installation code is injected by GTM. If you enforce identity verification without adding the correct user_hash this will prevent the messenger loading and throw a 403 error in your browser console. Find out how to set up identity verification here.
Hope this helps 😊
Reply
Join the Intercom Community 🎉
Already have an account? Login
Login to the community
No account yet? Create an account
Intercom Customers and Employees
Log in with SSOEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.