Greetings dear developer.
I have problems with contact form 7 and Primegate end-to-end analytics plugin.
The problem is duplicate submission of a request or just an error in the notification message for the user.
The user gets a message that the form has not been submitted, or for a second the submission is successful and then the form is not submitted.
Dug through a lot of information, chat gpt, engaged experts. I managed to understand in which place of the primegate script the click provocation occurs,

The counter itself above is connected by as many as 3 different scripts, where the main one is for placement in the header:
<script>
(function () {
var pg = document.createElement('script');
var protocol="https:" == document.location.protocol ? 'https://' : 'http://';
pg.src = protocol + 'js.primegate.ru/primegate.min.js'; pg.setAttribute('async', 'true');
document.documentElement.getElementsByTagName('body')[0].appendChild(pg);
PrimeGate = {}; window.pg = []; components = ['init', 'track', 'identify'];
for (var i in components) {
PrimeGate[components[i]] = (function(component) {
return function () {
window.pg.push(component, [].slice.call(arguments, 0));
}
}(components[i]));
}
})();
PrimeGate.init(IDCLIENT);
</script>
This in turn calls primegate.min.js,
which in turn calls counter.js and only then the counter itself is called, which provokes a double click and an error.
I’m not the only one having the problem, and tech support for the counter itself is sending me to change my wordpress.
If you can help to sort out this problem, I will be truly grateful.
I have really wasted a lot of time. Thank you!!!