Limit collection to audience measurement
This page describes the settings that limit Pomelo to audience measurement: turn off automatic clicks, automatic form submissions and the Campagnes option. It describes how the script behaves today. It does not decide for you whether your site must collect consent: that depends on your country and your site.
For countries where audience measurement requires agreement, see Consent and Campaigns.
The configuration to apply
Section titled “The configuration to apply”To limit Pomelo to audience measurement, apply these four points:
- Audience measurement only. The Campagnes option stays off. If you turn it on, it requires the visitor’s consent.
- Clicks and form submissions, your choice. Turn them off if you do not want to measure them (next section). JavaScript errors are measured without their message.
- Information and objection. Include the information notice and the objection link in your privacy policy: see Privacy and objection.
- No data about a person in an event name, a label, a page title or a page path (sections below).
Where the settings are
Section titled “Where the settings are”In the dashboard, open the site settings, section “Measurement and collection”. Changes apply only after you click “Save”. The script is cached for up to an hour: a changed setting reaches pages in under an hour.
| Setting | Default | Audience measurement only |
|---|---|---|
| Automatic clicks | On | Off |
| Automatic form submissions | On | Off |
| Campagnes | Off | Off |
Do not add these settings to the script tag: they come from the site settings.
What each setting turns off
Section titled “What each setting turns off”Automatic clicks. When off, the script no longer sends ui.click,
outbound.click, file.download, contact.mailto or contact.tel. Data
already collected stays available.
Automatic form submissions. When off, the script no longer sends
form.submit. Even when on, a form submission carries only the form
identifier and the path of its action, never the fields typed.
Campagnes. When off, no campaign data (UTM parameters, channel, ref) is
collected, whatever the visitor chose. Campagnes serves a marketing purpose and
requires consent: see Consent and Campaigns.
These settings do not block events your own code sends with
window.pomelo.track(...). If you use it, put no personal data in those events.
What stays in every case
Section titled “What stays in every case”Audience measurement itself: page views, time spent and scroll, performance, JavaScript errors, country, region and city, device, browser, and the referrer reduced to its domain. No measurement cookie is written; the only possible cookie remembers a visitor’s objection.
Limit click labels
Section titled “Limit click labels”If you keep automatic clicks, two attributes reduce collection further:
data-autocapture-labels-only="true", on the script tag:ui.clickis sent only for elements with an explicitdata-analytics-id, with no label.data-analytics-ignore, on an HTML element: no event for that element and its children.
A click label is 100 characters at most. A longer label is dropped, never truncated: the script tries the next source, then falls back to the element identifier. A label containing a recognised piece of personal data (email, phone number, UUID, IP address, token) is also dropped. A name or a postal address in a label is not recognised: do not put them in your labels. Details in SDK Integration.
Page titles and paths
Section titled “Page titles and paths”Pomelo keeps the title and path of every page viewed. It automatically removes what can be recognised: email, phone number, identifier (UUID), IP address and token. A name or a postal address in a title or a path cannot be recognised: it is kept.
So put no data about a person in a page title or path: no name, no address, no customer number. For a page whose title or path necessarily carries such data (a customer record, for example), exclude it from measurement: do not load the script tag on it. Without the tag, the page sends nothing.
- Save the settings, then wait up to an hour.
- Open a page of your site, click a link and submit a test form.
- In the site’s “Actions” report, check that no click or form submission appears. An action shows up in the report within a few minutes; if nothing appears after the one-hour wait, that is the expected result.
What to put in your privacy policy
Section titled “What to put in your privacy policy”Tell your visitors about audience measurement, with the opt-out link Pomelo provides: see Privacy and objection.