How do Forbes do this? - Landing page shows at first visit to site each day

Discussion in 'HTML & Website Design' started by Mr.81, Feb 16, 2014.

  1. #1
    Hi guys,

    Does anyone know how Forbes does this? http://www.forbes.com/fdc/welcome_mjx.shtml

    That's a link to a kind of "landing page" that you end up on when you visit their site for the first time each day. It gives a quote, but also they get in another ad view with the page.

    It only seems to show up once a day.

    Anyone know how they do it? Thanks for your help!
     
    Mr.81, Feb 16, 2014 IP
  2. dwirch

    dwirch Well-Known Member

    Messages:
    239
    Likes Received:
    12
    Best Answers:
    1
    Trophy Points:
    135
    #2
    Check for a value in a cookie on the users machine.
    If no value is returned, or if the returned value=currentday-1, then it must be the first visit.

    Don't forget to set the cookie with the value of the currentday as the last step of the process. Otherwise, the user will get the first day splash page on every visit.

    Depending on the above (first-day or not-first-day), you then display the appropriate page/information.
     
    dwirch, Feb 17, 2014 IP
  3. Mr.81

    Mr.81 Active Member

    Messages:
    175
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #3
    Thanks, but does anyone know of a plugin or anything that currently offers this service? Or will I need to hire a programmer? Thanks.
     
    Mr.81, Apr 10, 2014 IP