• Eran

    (@eyasso)


    Hello,

    I am using Elementor to create my landing page. I created button using Elementor. When user clicks the button his phone dialer opens. Now i want to track the clicks on the button using AdWords. I followed this link https://support.google.com/adwords/answer/6331304.
    Elementor creates following button code in WordPress:

    <a href="tel: 09xxx-xxxx">
    09xxx-xxxx
    </a>

    When I replace it with the suggested code in the above link:

    <a onclick="goog_report_conversion ('tel:09xxx-xxxx')"
    href="#">09xxx-xxxx</a>

    all Elementor formating (controls) are removed and raw text is displayed in the page.
    I’d appreciate your help to resolve this issue.

    Thanks,

    • This topic was modified 8 years ago by Eran.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Boaz

    (@boazpojo)

    Hi @eyasso,

    This can’t be done by editing the HTML.
    You must use JS to achieve this.

    Thread Starter Eran

    (@eyasso)

    Hi Boaz,

    I am new to WordPress. Can you please send me link or what i should look to read in google to understand what I suppose to do?

    Thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘google analytics’ is closed to new replies.