Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #461 from sandeep-deriv/sandeep/add-gtm
Browse files Browse the repository at this point in the history
chore: 💡 added gtm code snippet for the binary bot
  • Loading branch information
sandeep-deriv authored May 29, 2024
2 parents ca8668a + 15708ba commit e377370
Showing 1 changed file with 29 additions and 10 deletions.
39 changes: 29 additions & 10 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,25 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<title>Bot trading | Automated trading system – Deriv</title>
<!-- 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-NF7884S');
</script>
<!-- End Google Tag Manager -->

<link rel="apple-touch-icon" sizes="57x57" href="public/images/favicons/apple-touch-icon-57x57.png" />
<link rel="apple-touch-icon" sizes="60x60" href="public/images/favicons/apple-touch-icon-60x60.png" />
<link rel="apple-touch-icon" sizes="72x72" href="public/images/favicons/apple-touch-icon-72x72.png" />
Expand Down Expand Up @@ -52,6 +70,16 @@
</head>

<body>
<!-- Google Tag Manager (noscript) -->
<noscript
><iframe
src="https://www.googletagmanager.com/ns.html?id=GTM-NF7884S"
height="0"
width="0"
style="display: none; visibility: hidden"
></iframe
></noscript>
<!-- End Google Tag Manager (noscript) -->
<span id="limits-dialog"></span>
<span id="integrations-dialog"></span>
<span id="chart-dialog"></span>
Expand Down Expand Up @@ -104,15 +132,6 @@
<!-- bundles -->
<script src="blockly.js"></script>
<script src="index.js"></script>

<noscript>
<iframe
src="https://www.googletagmanager.com/ns.html?id=GTM-NF7884S"
height="0"
width="0"
style="display: none; visibility: hidden"
></iframe>
</noscript>
<iframe
id="localstorage-sync"
sandbox="allow-same-origin allow-scripts"
Expand Down

0 comments on commit e377370

Please sign in to comment.