Your software
My Mautic version is: 3.2.5
My PHP version is: 7.3
My Database type and version is: mariadb 10.2
Your problem
My problem is:
I have the Mautic Tracking Code managed via Google Tag Manager, and it works, but per page visit the event is fired four times.
I can see it in the browser console and also in mautic, where each event is captured.
I am quite sure the integration only happens via GTM, no CMS integration involved here.
We don’t use mautic for our landing pages yet, so this is the website.
By investigating in the website source code, I can’t find any other code snippets here, so it really should be the GTM only.
all right, this was the correct question to ask - the GTM config allowed for several events to be fired per page hit, in contrast to what our consent management has documented.
So we fixed it now by limiting the event to ‘once per page’ in GTM.
Hurrah! Glad you got to the bottom of it - I want to get this better documented in our docs as it is quite a common way of implementing the script nowadays but we do not have any guidance - would you be up for helping to draft something?