How show popup only target referer visits?

Joelton

Newbie
Joined
Jul 11, 2014
Messages
24
Reaction score
0
Hi, is possible in javascript show popup only target visits? For example: if visits comes of facebook, i show popup in page, if visits comes of google i not show popup.
English is not my native language.

Thanks in advance.
 
I would recommend to check the referrer in PHP, store the value somewhere on the page and invoke your javascript once the page is loaded.
 
Back
Top