mirror of
https://github.com/laurent22/joplin.git
synced 2025-02-01 19:15:01 +02:00
Doc: Add GTM tags
This commit is contained in:
parent
94ac82d7d9
commit
8f0763ed45
@ -1,6 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
{{> gtmHead}}
|
||||||
{{> gaOptimize}}
|
{{> gaOptimize}}
|
||||||
<meta
|
<meta
|
||||||
charset="utf-8"
|
charset="utf-8"
|
||||||
@ -33,6 +34,8 @@
|
|||||||
<title>Joplin</title>
|
<title>Joplin</title>
|
||||||
</head>
|
</head>
|
||||||
<body class="front-page website-env-{{env}}">
|
<body class="front-page website-env-{{env}}">
|
||||||
|
{{> gtmBody}}
|
||||||
|
|
||||||
<div class="container-fluid" id="main-container">
|
<div class="container-fluid" id="main-container">
|
||||||
|
|
||||||
{{#navbar}}
|
{{#navbar}}
|
||||||
|
@ -14,6 +14,7 @@ https://github.com/laurent22/joplin/blob/dev/{{{sourceMarkdownFile}}}
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
|
{{> gtmHead}}
|
||||||
{{> gaOptimize}}
|
{{> gaOptimize}}
|
||||||
<meta
|
<meta
|
||||||
charset="utf-8"
|
charset="utf-8"
|
||||||
@ -47,6 +48,8 @@ https://github.com/laurent22/joplin/blob/dev/{{{sourceMarkdownFile}}}
|
|||||||
></script>
|
></script>
|
||||||
</head>
|
</head>
|
||||||
<body class="website-env-{{env}}">
|
<body class="website-env-{{env}}">
|
||||||
|
{{> gtmBody}}
|
||||||
|
|
||||||
<div class="container-fluid generic-template {{pageName}}-page" id="main-container">
|
<div class="container-fluid generic-template {{pageName}}-page" id="main-container">
|
||||||
|
|
||||||
{{#navbar}}
|
{{#navbar}}
|
||||||
|
4
Assets/WebsiteAssets/templates/partials/gtmBody.mustache
Normal file
4
Assets/WebsiteAssets/templates/partials/gtmBody.mustache
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<!-- Google Tag Manager (noscript) -->
|
||||||
|
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-579DTGX"
|
||||||
|
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||||
|
<!-- End Google Tag Manager (noscript) -->
|
7
Assets/WebsiteAssets/templates/partials/gtmHead.mustache
Normal file
7
Assets/WebsiteAssets/templates/partials/gtmHead.mustache
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<!-- 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-579DTGX');</script>
|
||||||
|
<!-- End Google Tag Manager -->
|
Loading…
x
Reference in New Issue
Block a user