Skip to content

Commit b522b6e

Browse files
authored
Merge pull request #74 from grcrt/Radar_v2
feat(radar): improve Radar module
2 parents 73a9e7e + 4c9f0c9 commit b522b6e

File tree

3 files changed

+208
-135
lines changed

3 files changed

+208
-135
lines changed

GRCRTMain.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -401,12 +401,11 @@ function _GRCRTMain(){
401401
this.__repconvValueArray = {}
402402
this.settings = {}
403403
this.Tracker = function() {
404-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
405-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
406-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
407-
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
408-
ga('create', 'UA-6635454-10', 'auto');
409-
ga('send', 'pageview');
404+
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
405+
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
406+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
407+
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
408+
})(window,document,'script','dataLayer','GTM-N3VDHTM');
410409
}
411410
this.sChbxs = {};
412411
this.init = function() {

0 commit comments

Comments
 (0)