See how to install Tidio on your Shopware store. 

In this article, you'll learn:

Install Tidio to your Shopware store

This method is for a Shopware 6 storefront with a running custom plugin and access to its files. Ask your Shopware developer to make the template change if you don't manage those files. It is not a code field in the Shopware administration.

First, copy your Tidio installation snippet from Settings > Live Chat > Installation. See Install Tidio on your website for help finding the code:

Settings > Live Chat > Installation with Manual install selected, the code snippet visible, and the Copy to clipboard button.
  1. In your active custom Shopware plugin, create or open src/Resources/views/storefront/layout/meta.html.twig. Do not edit Shopware's core template.
  2. Extend @Storefront/storefront/layout/meta.html.twig and its layout_head_javascript_hmr_mode block, as shown below.
  3. Keep {{ parent() }} inside the block, then paste the complete Tidio script tag you copied immediately after it, before {% endblock %}. Keep the attributes from your Tidio snippet.
  4. Save and deploy the plugin template to your store. Clear the store cache so the updated template is served.
  5. Open your storefront in a new browser tab and check that the Tidio widget appears. Send a test message and check that it arrives in your Tidio Inbox.
{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}

{% block layout_head_javascript_hmr_mode %}
    {{ parent() }}
{% endblock %}

Paste your Tidio script after {{ parent() }} in this template. Do not remove {{ parent() }}, because Shopware needs it to load its own storefront JavaScript. You do not need to upload the Tidio script as a local asset.

These steps follow Shopware's official guide to adding JavaScript as a script tag. If the widget does not appear, check that the custom plugin is active and that the updated template is deployed before adding another copy of the snippet.

Further reading