From a693d271af86712388393e6eafcbbb9afba89328 Mon Sep 17 00:00:00 2001 From: Ewen Le Bihan Date: Sun, 28 Apr 2024 02:00:12 +0200 Subject: [PATCH] Update reserved data attributes list after migration to v2.11.2 --- src/tracker/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tracker/index.js b/src/tracker/index.js index 4f661b01b..f4c8ea135 100644 --- a/src/tracker/index.js +++ b/src/tracker/index.js @@ -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;