Last active
May 26, 2019 01:42
-
-
Save dayAlone/8f7368c46e40a7780fc8bef3b479ca5b to your computer and use it in GitHub Desktop.
counters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Yandex.Metrika global start - do not remove!!! --> | |
<script type="text/javascript"> | |
(function(d, w, c) { | |
(w[c] = w[c] || []).push(function() { | |
try { | |
w.yaCounter3791698 = w.yaCounter3791698 = new Ya.Metrika({ | |
id: 3791698, | |
webvisor: true, | |
clickmap: true, | |
trackLinks: true, | |
accurateTrackBounce: true, | |
}); | |
} catch (e) {} | |
}); | |
}(document, window, 'yandex_metrika_callbacks')); | |
</script> | |
<script async="" defer="defer" src="https://mc.yandex.ru/metrika/watch.js"></script> | |
<!-- Yandex.Metrika global finish --> | |
<!-- Google Tag Manager --> | |
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-5KVV" | |
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | |
<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= | |
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); | |
})(window,document,'script','dataLayer','GTM-5KVV');</script> | |
<!-- End Google Tag Manager --> | |
<!-- Yandex.Metrika counter 44780881 --> | |
<script type="text/javascript"> | |
(function(d, w, c) { | |
(w[c] = w[c] || []).push(function() { | |
try { | |
w.yaCounter = new Ya.Metrika({ | |
id: '44780881', | |
webvisor: true, | |
clickmap: true, | |
trackLinks: true, | |
accurateTrackBounce: true | |
}); | |
w.mainMetrika = 'yaCounter'; | |
} catch (e) {} | |
}); | |
var n = d.getElementsByTagName("script")[0], | |
s = d.createElement("script"), | |
f = function() { | |
n.parentNode.insertBefore(s, n); | |
}; | |
s.type = "text/javascript"; | |
s.async = true; | |
s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js"; | |
if (w.opera == "[object Opera]") { | |
d.addEventListener("DOMContentLoaded", f, false); | |
} else { | |
f(); | |
} | |
})(document, window, "yandex_metrika_callbacks"); | |
</script> | |
<noscript> | |
<div><img src="//mc.yandex.ru/watch/44780881" style="position:absolute; left:-9999px" alt=""></div> | |
</noscript> | |
<!-- /Yandex.Metrika counter --> | |
<script> | |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | |
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | |
ga('create', 'UA-1481416-4', 'auto', {'legacyCookieDomain': 'aviasales.ru', name: 'aviasales_all'}); | |
ga('create', 'UA-66296552-3', 'auto', { name: 'currentProject' }); | |
ga('aviasales_all.send', 'pageview'); | |
ga('currentProject.send', 'pageview'); | |
ga('require', 'ecommerce') | |
</script> | |
<script> | |
(function (w) { | |
w.mamka = w.mamka || function(){(mamka.queue=mamka.queue||[]).push(arguments)}; | |
}(window)); | |
mamka('create', {'project_name': 'as_sales_baku', 'brand_names': ['aviasales']}) | |
</script> | |
<script async type="text/javascript" src="https://mamka.aviasales.ru/mamka.js?v=1"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.ga('currentProject.send', { | |
hitType: 'event', | |
eventCategory: 'user_behaviour', | |
eventAction: 'SUBSCRIBER', | |
params: { email: '[email protected]' } | |
}) | |
window.mamka('send_event', { | |
name: 'SUBSCRIBER', | |
meta: { email: '[email protected]' } | |
}) | |
yaCounter.reachGoal('SUBSCRIBER', { email: '[email protected]' }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment