Do exit pop ups hurt seo?

Discussion in 'Black Hat SEO' started by cookie1979, Feb 20, 2013.

  1. cookie1979

    cookie1979 Regular Member

    Jul 16, 2011
    Likes Received:
    Hey guys, I have a few sites I was thinking of adding an exit pop up on, how dose the almighty Google treat these? Will it hurt my site in the rankings?
  2. mrblackjack

    mrblackjack Jr. VIP Jr. VIP Premium Member

    Dec 6, 2011
    Likes Received:
    I live alone, I work alone, I make money alone
    G00gle LaNd
    Exit popups are coded with client-side scripts such as JS. For years Google has been known to not be able to render / read JS code - but it has been changed by now and they can process embedded JS functions in HTML code such as: 'onmouseover', 'alert', 'onload' etc. Still, they cannot process complex JS functions and loops since Google crawlers are text-based whereas in order to run pure JS code you need a browser formation platform that can store cookies.
    therefore, your options to stay on the safe side are:
    1. Cookies - set cookies and display popups to visitors who has the set cookie - Google bots cannot store cookies.
    2. Detect Google bots, and disable the popup codes when a visitors is a bot.
    you can see a PHP code I've shared in this thread:
    which will help you determine whether a visitor is a Google bot or a human. Simply, if it's a Google bot, don't display a popup; otherwise, do.
    • Thanks Thanks x 1