Add google tag manager embed

This commit is contained in:
Teemu Patja 2017-12-08 16:03:51 +02:00
parent 9261c11d44
commit 92f90880aa
No known key found for this signature in database
GPG Key ID: F5B7035E6580FD4C
5 changed files with 65 additions and 0 deletions

View File

@ -15,9 +15,22 @@
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]--> <![endif]-->
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-WHLZ2RZ');</script>
<!-- End Google Tag Manager -->
</head> </head>
<body> <body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WHLZ2RZ"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div id="app"> <div id="app">
</div> </div>

View File

@ -34,6 +34,16 @@
<link rel="stylesheet" href="dest/css/main.css?v=a664cb5"> <link rel="stylesheet" href="dest/css/main.css?v=a664cb5">
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-WHLZ2RZ');</script>
<!-- End Google Tag Manager -->
<!-- Facebook Pixel Code --> <!-- Facebook Pixel Code -->
<script> <script>
!function(f,b,e,v,n,t,s) !function(f,b,e,v,n,t,s)
@ -54,6 +64,11 @@
</head> </head>
<body> <body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WHLZ2RZ"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div class="news"> <div class="news">
<div class="news-inner"> <div class="news-inner">
<strong>$1M</strong> Bounty fund for open source projects <strong>$1M</strong> Bounty fund for open source projects

View File

@ -23,9 +23,21 @@
<link rel="stylesheet" href="dest/css/main.css?v=002"> <link rel="stylesheet" href="dest/css/main.css?v=002">
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-WHLZ2RZ');</script>
<!-- End Google Tag Manager -->
</head> </head>
<body> <body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WHLZ2RZ"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div class="container-wrap container-wrap--not-fancy"> <div class="container-wrap container-wrap--not-fancy">
<div class="container container--page"> <div class="container container--page">
<div class="header header-welcome"> <div class="header header-welcome">

View File

@ -34,6 +34,16 @@
<link rel="stylesheet" href="dest/css/main.css?v=a664cb5"> <link rel="stylesheet" href="dest/css/main.css?v=a664cb5">
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-WHLZ2RZ');</script>
<!-- End Google Tag Manager -->
<!-- Facebook Pixel Code --> <!-- Facebook Pixel Code -->
<script> <script>
!function(f,b,e,v,n,t,s) !function(f,b,e,v,n,t,s)
@ -54,6 +64,10 @@
</head> </head>
<body> <body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WHLZ2RZ"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div class="news"> <div class="news">
<div class="news-inner"> <div class="news-inner">
<strong>$1M</strong> Bounty fund for open source projects <strong>$1M</strong> Bounty fund for open source projects

View File

@ -23,9 +23,20 @@
<link rel="stylesheet" href="dest/css/main.css?v=002"> <link rel="stylesheet" href="dest/css/main.css?v=002">
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-WHLZ2RZ');</script>
<!-- End Google Tag Manager -->
</head> </head>
<body> <body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WHLZ2RZ"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div class="container-wrap container-wrap--not-fancy"> <div class="container-wrap container-wrap--not-fancy">
<div class="container container--page"> <div class="container container--page">
<div class="header header-welcome"> <div class="header header-welcome">