• Hey guys –

    It would be super helpful to integrate a Facebook Pixel Event for this. If you change line 162 in really-simple-click-to-call.php to the following, it will create an event called “ClicktoCall” if the site has the FB Pixel installed. This fires any time someone clicks on the button.

    echo '<a href="tel:' . $options['click_to_call_number'] . '" onclick="ga(\'send\',\'event\',\'Phone\',\'Click To Call\', \'Phone\'); fbq(\'track\', \'ClicktoCall\');"; style="color:' . $options['click_to_call_color'] . ' !important; background-color:' . $options['click_to_call_bg'] . ';" class="ctc_bar" id="click_to_call_bar""> <span class="icon ctc-icon-phone"></span>' . $options['click_to_call_message'] . '</a>';

    • This topic was modified 7 years, 2 months ago by ericbramlett.
    • This topic was modified 7 years, 2 months ago by ericbramlett.
Viewing 1 replies (of 1 total)
  • Plugin Author Joe Nickdow

    (@joe-nickdow)

    Hey Eric,

    That’s a good idea. I will integrate this feature into my next release.

    Thanks!

    • This reply was modified 7 years, 2 months ago by Joe Nickdow.
Viewing 1 replies (of 1 total)
  • The topic ‘Integrate Facebook Pixel Event’ is closed to new replies.