[Support request] i need to implement 2 google codes: leads + phone tracking

Home Forums Support [Support request] i need to implement 2 google codes: leads + phone tracking

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

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #2317071
    liorsade8

    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

    #2317084
    Fernando
    Customer Support

    Hello there,

    Are you hooking them at the right location?

    It says here (https://developers.google.com/tag-platform/gtagjs/install) that you need to add it to wp_head.

    Can you confirm if you’ve chosen the correct hook?

    #2317085
    liorsade8

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

    #2317864
    liorsade8

    hey guys
    any news please?

    #2317898
    Ying
    Staff
    Customer Support

    Just checked your site and the code is there:
    https://www.screencast.com/t/si3VgOq2reN

    #2318030
    liorsade8

    checking
    thanks

    #2318557
    Ying
    Staff
    Customer Support

    No problem 🙂

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.