For Crisp.Chat In /404.html
This code will check if email address / order ID exists, then push user name/email/segment to Crisp automatically. Add following code to the footer of both Desktop and Mobile templates.
Add below code in your Crisp Chat code:
Prerequisite You are using https://crisp.chat/ Function Customer order ID will be set in chat session user data automatically. Implementation Add below code in /templates/<TemplateName>/account_order.html Reference https://help.crisp.chat/en/article/how-can-i-automatically-set-custom-user-data-1xh7pqk/