Add your own code
Add chat widgets, tracking tags or verification tags to every page of your store.
Open Custom codeOn this page
Custom code adds your own HTML, scripts or styles to every page of your store. Use it for chat widgets, analytics, tag managers, ads and verification tags.
Add code
- In your admin, go to Integrations → Custom code.
- Paste your code in one of the two boxes:
- In the head of every page: chat widgets, analytics, tag managers and verification tags usually go here. Script and style tags work.
- At the end of every page: for code that should load last.
- Click Save.
- Open your store and check that the code works.
The code goes on your store's pages only, not in your admin.
Before you paste
- Google Analytics or Meta Pixel? They have their own fields, so you don't need code for them. See Google Analytics and Meta Pixel.
- Code for one page only? Add an HTML section to that page instead. It's in the Advanced group when you add a section in the design editor. See Add and arrange sections.
- Showing your products on another site? That's the other way round: use a widget.
Verify your store with Google
Google Search Console gives you a tag to prove the store is yours. Paste it in In the head of every page and save. See Store name, search and sharing for the full steps.
Was this article helpful?
Still stuck?
Write to us in the chat. A real person on the Marketsy team answers, and you'll get the reply here and by email.
