Add a live chat widget to your Shopify store to support customers before and after purchase.
In your Shopify admin, go to Online Store → Themes → Edit Code.
In the Layout folder on the left sidebar, open theme.liquid. Find the closing </body> tag and paste the TidySupport script just before it.
<script src="https://cdn.tidysupport.com/widget.js" data-workspace-id="YOUR_WORKSPACE_ID" async></script>Replace YOUR_WORKSPACE_ID with your workspace ID from Settings → Widget in your TidySupport dashboard.
Click Save. Visit your store and you should see the chat bubble in the bottom-right corner.
Add this Liquid snippet before the widget script to automatically identify logged-in customers. Your agents will see their name and email instead of "Guest".
{% if customer %}
<script>
window.TidySupportConfig = {
userId: "{{ customer.id }}",
email: "{{ customer.email }}",
name: "{{ customer.name }}"
};
</script>
{% endif %}Next article
How to identify users with the Events API