Sign In
Sign In
  1. Home
  2. INTEGRATE
  3. Install the Widget Using Google Tag Manager
  4. Install the Widget with Matomo Tag Manager
INTEGRATE
28 articles
1. Give ViaSay access to your Page
Agent Channels8
Configure Your Widget4
AI Tools
Ctop Messenger
User Channels3
Setting Up your Widget5
Create a ViaSay Widget
Install the Widget Using Google Tag Manager1
Install the Widget with Matomo Tag Manager
Install the Widget on Your Website
Cookie Acceptance for Widget Display
Embed the Widget Inline (Full-Page Mode)
[NEW] WhatsApp
Facebook Messenger1

Install the Widget with Matomo Tag Manager

Display the ViaSay widget on all your site's pages with Matomo Tag Manager, without touching the code.

Updated on October 16, 2026

With Matomo Tag Manager, you can display the ViaSay widget on all your site's pages without modifying its code. All it takes is one tag and one trigger. The person managing Matomo can do it alone, without a developer.

The ViaSay widget displayed in the bottom-right corner of a demo site, added through Matomo Tag Manager

Before you start

  • A Matomo account that can create tags and publish the container (the area that groups your site's tags).

  • Matomo Tag Manager already installed on your site: its code is loaded on each of your pages.

  • Your ViaSay Widget code, in Build > Integrate > Channels > Integration. If you do not have a Widget yet, start by Creating a ViaSay Widget.

Tip: set Audience Distribution to 0% during setup. The code is deployed, but the widget remains hidden. You can then display it by changing the percentage in Integration, without touching Matomo.

Step 1: create the tag

A tag is the code that Matomo adds to your pages. Here, it is the widget's code.

  1. Open Tag Manager, then click Tags in the left-hand menu.

  2. Click Create New Tag.

    The Matomo Tag Manager tag list, with the Create New Tag button
  3. Choose the Custom HTML type, in the Custom category. It accepts any code, including the widget script.

    The Custom HTML tag type in the list of types
  4. In Name, enter “ViaSay Widget”.

  5. In Custom HTML, paste your Widget code. Leave Position to Body End.

    The tag form, with the widget code pasted into the Custom HTML field

The token (your Widget's identifier) shown in the screenshot is fictitious: paste your own Widget's code.

Step 2: display the widget on all pages

A trigger tells Matomo when to launch the tag. The Pageview trigger launches it on every page view, and therefore across the entire site.

  1. Scroll down to Configure when the tag should do this.

  2. Open the first dropdown list and choose Pageview.

    The list of triggers, with Pageview offered
  3. Click Create New Tag at the bottom of the form.

The tag appears in the list, with the Pageview trigger. It is not live yet: you still need to test it and then publish it.

Step 3: test before publishing

Preview mode displays your site with the new tag, visible only to you.

  1. Click Preview / Debug in the left-hand menu.

  2. Enter your site's address, then click Debug. Your site opens in a new tab.

    Preview mode enabled, with the site address to test and the Debug button
  3. In the Matomo panel at the bottom of the page, check that ViaSay Widget appears under Fired Tags.

    The debug panel, with the ViaSay Widget tag triggered once
  4. Click Stick to Top if the panel hides the bottom of the page: the widget then appears in the bottom-right corner.

    The debug panel positioned at the top of the page, with the widget visible in the bottom-right corner

Step 4: publish

  1. Click Publish in the left-hand menu, or click the Publish a new version now link in the green banner.

  2. Enter a version name, for example “ViaSay Widget”.

  3. Click Create New Version And Publish Release.

    The Matomo confirmation banner, with the Publish a new version now link and the Publish menu
  4. Click Disable Preview in the left-hand menu to exit preview mode.

Check that it works

  1. Open your site in a private browsing window.

  2. Browse a few pages: the widget should appear on each one.

You will see it in the position set in Format & Design. If you set Audience Distribution to 0%, it remains hidden until you change the percentage.

If it does not work

The Custom HTML type is not available: Matomo allows these tags to be disabled for security reasons. Ask an administrator to re-enable them in Administration > General Settings.

ViaSay Widget does not appear under Fired Tags: the tag has no trigger. Open it and repeat step 2.

The debug panel does not appear: add ?mtmPreviewMode= followed by the container identifier to your site's address. Matomo displays it on the Preview / Debug.

The tag triggers, but the widget does not appear: check the token pasted into the tag and your Widget's Audience Distribution setting.

Next steps

  • Manage your widget's visibility: choose the pages where it appears.

  • Cookie acceptance for displaying the widget: adapt its display to your visitors' consent.

  • Install the Widget with Google Tag Manager: the same installation with Google's tool.


Was this article helpful?

On this page
  • Before you start
  • Step 1: create the tag
  • Step 2: display the widget on all pages
  • Step 3: test before publishing
  • Step 4: publish
  • Check that it works
  • If it does not work
  • Next steps

Made from France 💙

Categories

  • ANALYTICS
  • BUILD
  • LOUIS AI
  • INTEGRATE

🔗 Useful Links

  • Sign In
  • Website
  • Terms & Conditions

© 2026

MindsayPowered by Mindsay

Search the help center…

Search help center articles