Site logo

Archived topic

i need to implement 2 google codes: leads + phone tracking

6 replies · Started by liorsade8 on August 18, 2022

Viewing posts 1–7 of 7

Hello,
i need to implement 2 google codes, and i dont know how / where... because what i did dont work
1. Event Code Google for leads on forms, entire site.
2. Event Calls Google phone, entire site.
the site:
https://www.frontbranding.com

this is for the leads:

<!-- Event snippet for ליד באתר conversion page -->
<script>
gtag('event', 'conversion', {'send_to': 'AW-10939205655/UXj1CK3Xj8oDEJeQnOAo'});
</script>

this is for the calls:

<!-- Event snippet for שיחות מהאתר 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-10939205655/TSLdCPnWkMoDEJeQnOAo',
'event_callback': callback
});
return false;
}
</script>

i thought it's easy, just paste this codes on the hooks, and in entire site...
but it's not working.
please help.
thanks

yes.
they are in head
but it's not working

hey guys
any news please?

checking
thanks

No problem :)

This archived topic is closed to new replies.