Browse Source

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

Load GTM with HTTPS
Amauri CHAMPEAUX 5 years ago
parent
commit
d664f4fadb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tarteaucitron.services.js

+ 1 - 1
tarteaucitron.services.js

@@ -1368,7 +1368,7 @@ tarteaucitron.services.googletagmanager = {
             'gtm.start': new Date().getTime(),
             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);
     }
 };