pedf
/
oli
Archived
2
0
Fork 0

GA + Pixel

* Google analytics
* Facebook pixel + event na tlačítku
master
MB 4 years ago
parent 53c445166c
commit d133886b6f

@ -6,6 +6,44 @@
<title>Chatbot Olí</title>
<link rel="stylesheet" href="css/style.css">
<link rel="icon" href="img/favicon.ico">
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window,document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '368758741221788');
fbq('track', 'PageView');
</script>
<noscript>
<img height="1" width="1"
src="https://www.facebook.com/tr?id=368758741221788&ev=PageView
&noscript=1"/>
</noscript>
<!-- End Facebook Pixel Code -->
<script>
function onClick() {
fbq('track', 'Contact');
};
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-D17CKR62E9"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-D17CKR62E9');
</script>
</head>
<body>
@ -18,7 +56,7 @@
<div class="row">
<p style="align-self:flex-start;">
Můj člověk se jmenuje Kuba. Touží být učitelem, inspirovat, nadchnout studenty, ale neumí tak docela mluvit s&nbsp;lidmi. Říkáte si, že to nejde moc dohromady? Jo, to máte pravdu, a proto jsem tu já. Ale to bych vám měl asi vysvětlit.<br>
<a href="https://m.me/pedf.cuni" class="messenger"><img src="img/messenger.png" alt="messenger"></a>
<a onClick="fbq('track', 'Contact');" href="https://m.me/pedf.cuni" class="messenger"><img src="img/messenger.png" alt="messenger"></a>
</p>
<img src="img/fitemebro.png" alt="oli">
</div>