• Welcome to affLIFT!
    We are happy you have decided to check out our awesome affiliate marketing forum. Register your account today to join our amazing community!
  • Registration is free and you can upgrade your membership anytime to view our premium content. We also have over 100 free Public threads.

Useful code for pay per callers

Captndave

Active member
PropellerAds
So I am using push ads but most companies won't allow you to use a phone number for the link. I came up with a script that will have the dialer open with your number

first create an /index.php file
insert this code nothing else:

PHP:
<?php

if(isset($_GET['tel']) && $_GET['tel'] != "")

{

     $tel = $_GET['tel'];

     header("Location: tel://$tel");

}

die();

?>

So, when I load mydomain.com/?tel=155512345678 the browser starts a call to the number passed as argument.

Hope this will help
 
Last edited by a moderator:
To view the premium content in our affiliate marketing forum (including this awesome thread), you must first register and upgrade your account. Register today and become a part of our amazing community!
Forgot your password?
Don't have an account? Register now
Top