How do you make a page expire x days upon someone landing on it, ie Special Offer page?

2 replies
I'm using a marketing automation platform and I want to incentivize the purchasing of a product by adding a special discount version of it on a product page. I want those who click on a link within an e-mail which takes them to that page to have 4 days to buy it, before the page for them is blocked, taken down or whatever. This has to be the case for everyone , meaning that the counter is triggered individually for each person who lands on it.

How would I do this?

Thanks.
#days #expire #landing #make #offer #page #special
  • Profile picture of the author Zoumhem
    Originally Posted by alphamaax View Post

    I'm using a marketing automation platform and I want to incentivize the purchasing of a product by adding a special discount version of it on a product page. I want those who click on a link within an e-mail which takes them to that page to have 4 days to buy it, before the page for them is blocked, taken down or whatever. This has to be the case for everyone , meaning that the counter is triggered individually for each person who lands on it.

    How would I do this?

    Thanks.
    The best soloution would be, to use a php-script to create a individual .php file (the content site which has to stand for 4 days) after the email has been submitted.

    The PhP-script that creates this individual site, gets the actual date and add +4 days to it. Once this date is reached, the individual created file (for the email adress), block its content.

    I hope you can understand this, otherwise feel free to PM me since this is not a hard to do task.
    Signature
    Internet Marketer and professional Webdesigner! Ask me anything you wan´t about Internet Marketing or Webdesigning!

    {{ DiscussionBoard.errors[10276119].message }}
  • Profile picture of the author redblink
    Originally Posted by alphamaax View Post

    I'm using a marketing automation platform and I want to incentivize the purchasing of a product by adding a special discount version of it on a product page. I want those who click on a link within an e-mail which takes them to that page to have 4 days to buy it, before the page for them is blocked, taken down or whatever. This has to be the case for everyone , meaning that the counter is triggered individually for each person who lands on it.

    How would I do this?

    Thanks.
    Give each user a unique id. Users are crafty, so you probably want this to be a random number, not a serial number like 1001,1002. Lot of people use current milliseconds and do a MD5 hash of it. Store the landing date by that id. Every time someone visits, check if the time difference between the landing date and today is 4 days or more. Only display if time difference in less than 4 days. You will most likely count the time in milliseconds. There are date functions in mysql, if you will use mysql.

    You will need to do a little bit of programming, probably in PHP or whatever language you are using now.
    {{ DiscussionBoard.errors[10276786].message }}

Trending Topics