Dynamic Content in Email

2 replies
I set up a campaign in icontact. We collect people's info in exchange for a coupon that we email to them.

I was trying to set it up so that the expiration date automatically changes on it so that you can only use the coupon for a week.

I found some javascript to do the whole date thing. In the browser it works great.

My question is: How can I then email the automated coupon?

I don't want to go into the message and change the coupon manually each week.

I'm trying to limit the coupons one per person.

There may be other options. Any help would be appreciated.
#content #dynamic #email
  • Profile picture of the author Aj Wilson
    You'll need a programmer for this ...

    But you could do it via php and the 'GD Library'.
    The php script will generate the dates & price for the coupon ...

    via a 'dynamic image'.

    You'd load the image into the email and you'd
    need to setup the script to correspond with
    your autoresponder sequence and the coupon dates & prices.

    Whenever someone opens the email, it'll try pull the
    dynamic image from the server, display the 'current' dates & prices ...

    and you can create expirey dates for the links etc.

    You'll also have to think about those email accounts (like gmail)
    who need the 'Display All Images From email@email.com' feature set.

    So make sure to 'instruct' the user to
    'click' and enable that feature ... (to see the special coupon).

    This is how I can create dynamic 'add to cart' buttons
    for websites, forums, emails and PDFs.

    I can change and update the data, when I want,
    whenever I want ... because I can easily update the image.

    and you could use the same method,
    but you'll really need a programmer if you're not sure how to do it ...

    just letting you know that it IS possible ...

    It just depends on if it's going to be a good return
    on your time & financial investment or not

    all the best!

    - aj
    Signature
    {{ DiscussionBoard.errors[4412106].message }}
  • Profile picture of the author SteveJohnson
    Originally Posted by Falkonator View Post

    I set up a campaign in icontact. We collect people's info in exchange for a coupon that we email to them.

    I was trying to set it up so that the expiration date automatically changes on it so that you can only use the coupon for a week.

    I found some javascript to do the whole date thing. In the browser it works great.

    My question is: How can I then email the automated coupon?

    I don't want to go into the message and change the coupon manually each week.

    I'm trying to limit the coupons one per person.

    There may be other options. Any help would be appreciated.
    Email clients don't run javascript. Aj's solution is the way you'll need to go.
    Signature

    The 2nd Amendment, 1789 - The Original Homeland Security.

    Gun control means never having to say, "I missed you."

    {{ DiscussionBoard.errors[4439148].message }}

Trending Topics