Boffice
October 11, 2021, 11:59am
1
Hello,
After adding Matomo tag manager to my website, popup window load every time i access my site.
I searched but was not able to find any solution, hopefully somebody can help me here.
Matomo version: 4.5.0
MySQL version: 8.0.23
PHP version: 7.4.3
This is very strange…
Is this the pop up that is shown in your website?
What did you configure in your MTM? How are you hosted?
Boffice
October 11, 2021, 12:15pm
3
Hello, and thanks for reply.
Yes above is the screenshot of the popup, in MTM i have added Facebook Pixel and google analytics ids, and set trigger on on pageview, I have instance in AWS.
(Tags)
(Trigger)
Lukas
(Lukas Winkler)
October 11, 2021, 12:22pm
4
The source of Matomo Tag Manager never contains alert
, so I doubt that’s what creates the alert-window.
Maybe the code loaded by the tags creates it.
You can see the JS those two tags execute here:
(function () {
return function (parameters, TagManager) {
var setup = {};
var isLibLoaded = false;
this.fire = function () {
if (!isLibLoaded) {
isLibLoaded = true;
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(parameters.window,parameters.document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
}
var pixelId = parameters.get('pixelId');
if (!(pixelId in setup)) {
setup[pixelId] = true;
This file has been truncated. show original
(function () {
return function (parameters, TagManager) {
var setup = {};
var isLibLoaded = false;
this.fire = function () {
if (!isLibLoaded) {
isLibLoaded = true;
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(parameters.window,parameters.document,'script','https://www.google-analytics.com/analytics.js','ga');
}
var propertyId = parameters.get('propertyId');
if (!(propertyId in setup)) {
setup[propertyId] = true;
ga('create', parameters.get('propertyId'), 'auto');
}
ga('set', 'anonymizeIp', true);
This file has been truncated. show original
1 Like
Boffice
October 11, 2021, 12:33pm
5
Alert is for google analytics ID, issue was caused by google. It’s not related to MTM, somehow replacing GTM with MTM has activated old JS.
1 Like