1.1.48 add new gtag to MAIN branch

This commit is contained in:
2024-07-29 13:20:44 +03:00
parent 61161e6335
commit 2098032d81

View File

@@ -48,6 +48,34 @@
gtag('config', 'G-2WW2PTG5BM');
</script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-16654215692">
</script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-16654215692');
</script>
<!-- Event snippet for Sign-up conversion page
In your html page, add the snippet and call gtag_report_conversion when someone clicks on the chosen link or button. -->
<script>
function gtag_report_conversion(url) {
var callback = function () {
if (typeof(url) != 'undefined') {
window.location = url;
}
};
gtag('event', 'conversion', {
'send_to': 'AW-16654215692/tPyZCPyJgcYZEIzUrIU-',
'event_callback': callback
});
return false;
}
{# </header>#}
{#<div class="line_f_header"></div>#}