Update reserved data attributes list after migration to v2.11.2

This commit is contained in:
Ewen Le Bihan 2024-04-28 02:00:12 +02:00
parent 6980aea261
commit a693d271af
No known key found for this signature in database
GPG key ID: A2FC128EEB39A450

View file

@ -29,7 +29,7 @@
const screen = `${width}x${height}`;
const eventRegex = /data-umami-event-([\w-_]+)/;
const pageviewCustomPropertyRegex = /data-([\w-_]+)/;
const reservedDataAttributes = ['website-id', 'domains', 'umami-event', 'auto-track', 'host-url'];
const reservedDataAttributes = ['website-id', 'domains', 'umami-event', 'auto-track', 'host-url', 'exclude-search'];
const eventNameAttribute = _data + 'umami-event';
const delayDuration = 300;