Shopify
Este conteúdo não está disponível em sua língua ainda.
Install the snippet once
Section titled “Install the snippet once”- In the Shopify admin, open Online Store, Themes, the menu of the theme you use, and Edit code.
- Duplicate the theme first, so you can go back.
- Open
layout/theme.liquidand paste the tag just before</head>, or just before</body>:
<script async src="https://cdn.taggorcdn.com/s/<site-key>.js"></script>Shopify’s page on editing theme code is the source of these steps (Edit theme code, https://help.shopify.com/en/manual/online-store/themes/theme-structure/extend/edit-theme-code, read 2026-11-09).
Place the component
Section titled “Place the component”Write the component’s tag in any place your theme accepts HTML, such as a section or a page’s content:
<contact-form heading="Get in touch"></contact-form>Limits
Section titled “Limits”- A theme update can discard edits to the theme code. Duplicate the theme before you edit, and paste the tag again after you switch themes (same Shopify page).
- Shopify recommends
deferfor scripts of the theme andasynconly for independent third-party scripts (defer scripts,https://shopify.dev/docs/storefronts/themes/best-practices/performance/defer-scripts, read 2026-11-09). The Taggor loader does not depend on other scripts, soasyncis right for it.
Common problems
Section titled “Common problems”- The component disappears after a theme change. The snippet lived in the old theme’s
theme.liquid. Paste it into the new one. - Nothing shows and the page is fine. That is the designed failure: if the script is blocked, the page keeps whatever you wrote inside the tag. See Fallback content.
How we checked
Section titled “How we checked”The snippet in <head> and at the end of <body> runs in the compatibility fixtures in Chromium,
Firefox and WebKit. Not checked: no Shopify store or test theme was used, so the admin steps are as
Shopify documents them and nothing here was clicked through.