Shopify integration
Add live chat to your Shopify store
Shoppers ask about sizes, delivery and returns right before they buy. With asktrix on your Shopify store, they get an answer while they are still on the product page – from your team or from Trix.
Step by step
Install the chat widget on Shopify
You need access to your Shopify admin and a free asktrix workspace.
Copy your snippet
In asktrix, open Settings → Channels → Installation and copy the snippet with your workspace ID.
Install the chat widget on Shopify<script async src="https://asktrix.org/widget.js" data-workspace="YOUR_WORKSPACE_ID"></script>Open the theme code
In Shopify go to Online Store → Themes, open the … menu of your live theme and choose Edit code.
Paste the code into theme.liquid
Open
layout/theme.liquidand paste the snippet right before</head>.Save and check your store
Save the file and open your store. The chat button appears on every page.
Good to know
Theme changes and duplicates
The snippet lives in your current theme. If you switch to or publish a different theme, paste it into that theme's theme.liquid as well.
Shopify lets you duplicate a theme before editing it – a good idea if you want to test changes before they go live.
For your shop
What helps online stores most
Trix for the repeat questions
Delivery times, returns, sizes: Trix answers from your help articles around the clock (Start plan and up).
Chat and email together
Order questions by email land in the same inbox as your chats (Start plan and up).
Know your customers
Pass name, email and order data with the JavaScript API and see them next to the chat.
FAQ
Questions and answers
Anything else? Write to us – we’re happy to answer.
01Is there a Shopify app?
No app is needed. You paste one script tag into your theme, and the widget runs on every page of your store.
02Does the widget slow down my store?
The script loads with async, so it does not block your pages from rendering.
03Can I show order details in the chat?
You can pass data such as name, email, labels and custom fields with the JavaScript API (identify, setData, addLabels). Your team then sees it next to the conversation (Start plan and up).
04Which plan fits a Shopify store?
Start ($19.99 per month) adds email, the help center and Trix for two team members. Team ($44.99) adds campaigns, analytics and up to six members. See pricing.
Keep exploring
Related pages
- Use cases
E-commerce
Answer pre-sale questions on the product page, let the AI agent handle the repeats.
Learn more - Integrations
WordPress
One script tag in the theme header or via a code snippet plugin – WooCommerce included.
Learn more - Features
AI agent Trix
Answers from your knowledge, hands over to humans, runs on your own AI key.
Learn more

Start together
Answer shoppers before they leave
Create a free workspace, add the snippet to theme.liquid and see your first chat today.
