瀏覽代碼

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

Load GTM with HTTPS
Amauri CHAMPEAUX 5 年之前
父節點
當前提交
d664f4fadb
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);
     }
 };