Last active
August 29, 2015 14:17
-
-
Save dlferro/480ef885fa4744681976 to your computer and use it in GitHub Desktop.
Randomizing Offers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%[ | |
SET @randomVal = RANDOM(0, 100) | |
if randomVal < 60 THEN | |
// display offer for 15% off | |
ELSE IF randomVal < 20 THEN | |
// display offer for 25% off | |
ELSE IF randomVal < 15 THEN | |
// display offer for 30% off | |
ELSE IF randomVal < 5 THEN | |
// display offer for 40% off | |
ENDIF | |
]%% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment