Do you have the need to track your phone calls with Facebook pixel and retarget to them later using Facebook advertising? Use this simple script

 
[sourcecode]
<!– Facebook Pixel Code –>
{ PUT YOUR STANDARD FACEBOOK PIXEL CODE HERE }
<!– End Facebook Pixel Code –>

<script type=’text/javascript’ >

$j=jQuery.noConflict();

$j(document).ready(function(){

$j(‘a’).click(function(){
console.log($j(this).attr(‘href’));
if($j(this).attr(‘href’).includes(‘tel’)){
fbq(‘track’, ‘Lead’);
console.log(‘tracked call’);
}
});

});
</script>
[/sourcecode]