Merge pull request #426 from prudloff-insite/gtm-https

Load GTM with HTTPS
This commit is contained in:
Amauri CHAMPEAUX 2020-03-27 20:05:05 +01:00 committed by GitHub
commit d664f4fadb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1368,7 +1368,7 @@ tarteaucitron.services.googletagmanager = {
'gtm.start': new Date().getTime(), 'gtm.start': new Date().getTime(),
event: 'gtm.js' event: 'gtm.js'
}); });
tarteaucitron.addScript('//www.googletagmanager.com/gtm.js?id=' + tarteaucitron.user.googletagmanagerId); tarteaucitron.addScript('https://www.googletagmanager.com/gtm.js?id=' + tarteaucitron.user.googletagmanagerId);
} }
}; };