Popup window for a specific traffic source

Status
Not open for further replies.

TFLNetwork

New member
Jul 5, 2008
1,736
40
0
215/514
Okay, so here it goes-

I am going to run a campaign on facebook to a "landing page". However, this landing page gets a ton of organic traffic.

Is it possible to have a popup occur ONLY when the traffic is coming from facebook?

If so, what is the code?

Thanks
 


PHP:
<?php
   $ref = $_SERVER['HTTP_REFERER'];
 
   if(strpos($ref,"facebook.com")){
     // Your javascript popup code goes here.
}
 ?>
 
Status
Not open for further replies.