fullmetrixDocs

Cookie consent

Wait for your visitors' agreement before measuring them, without losing your forms or your WhatsApp button.

By default, Fullmetrix measures all visits to your site. Fullmetrix does not show a cookie banner and does not read the one on your site. If you must wait for your visitors' agreement before measuring them, your consent tool handles it. This page explains what to block, and above all what to let through.

This guide is not legal advice

It explains how to connect Fullmetrix to your consent tool. The rules to apply depend on your country and your business.

In short

  • Block the t.js measurement script until the visitor agrees.
  • Add the forms and widgets script, with no condition at all.
  • Check in a private browsing window.

Two scripts, two roles

ScriptWhat it doesCookiesIn your consent tool
t.jsMeasures visits, viewed products, carts and checkout stepsYes, fm_vid and fm_sidAudience measurement category, blocked until the visitor agrees
Forms and widgets scriptShows your forms, the WhatsApp button and the shopping assistantNoneAlways allowed

t.js loads the forms and widgets itself. If you block it without adding anything, they disappear for every visitor who has not accepted yet. The forms and widgets script shows them in every case. The two scripts recognize each other, so nothing is shown twice.

The code to add

<script defer src="https://app.fullmetrix.com/api/widget/loader?key=YOUR_CODE"></script>

Replace YOUR_CODE with your store's connection code. To find it, open Settings, then the Tracking tab, and click Custom frontend. The connection code is the value after key= in the Installation code. Clicking Custom frontend changes no setting, it only shows the code.

Set up your site

Block measurement until the visitor agrees

Open the Custom HTML tag that contains the t.js code. Replace the All Pages trigger with the one your consent tool sends when the visitor accepts audience measurement. Its name depends on your tool.

If your tool feeds Google consent mode, you can also open Advanced Settings, then Consent Settings, and require analytics_storage.

Add the forms and widgets script

Create a second Custom HTML tag with the code to add. Fire it on All Pages, with no consent condition.

Publish

Publish the container, then do the check.

Verify the result

Before accepting

Open your site in a private browsing window, without clicking the banner. Your forms and your WhatsApp button show. No fm_vid cookie is set.

After accepting

Accept audience measurement, view a product and add it to the cart. Wait a minute, then look at the Event delivery card on the Site tracking page. Your forms are not shown twice.

What never depends on the banner

Orders, customers and the catalog arrive through your store connection, not through the browser. Your revenue and orders stay complete in Fullmetrix, even when a visitor refuses cookies.

For a visitor who refuses, you lose the detail of their visit. Their page views, viewed products, abandoned cart and the ad that brought them are not recorded.

The forms and widgets script sets no cookie. It only remembers in the browser that a visitor has already closed or filled in a form, so as not to show it again, and the number of their visits when a form appears after several visits. When a visitor submits a form, they willingly give you their information.

Do not block the forms and widgets script

If it is blocked too, your forms, your WhatsApp button and your shopping assistant only appear after the visitor agrees.

On this page