12 Adobe Target Profile Scripts (Ready to be copied)
Summary Taken from the LinkedIn Post from Kasper Andersen who has given away 12 Adobe Target Profile Scripts ready for use. With his consent, posted them here so that they can reach as many as possible who are new to Adobe Target.Thanks much, @Kasper Andersen for the consolidated scripts.And, if there are any discrepancies in the scripts, please feel free to 'correct' them. Profile Scripts Profile Script 01 - Group Search Terms: Evaluate the search strings to match the specific categories/groups (here, keywords have been grouped under 'electronics'). Script Name: groupSearchTerms if (page.query.match(/keywords\=/) != null) {if (page.param('keywords').match(/tv|dvd|camera|video|laptop|computer|ipod|iphone/i)) {return 'electronics'; } } Profile Script 02 - 2nd Affinity Category: The 'user.categoryAffinity' will return the top category affinity for a visitor. This will return the 2nd-best category affinity. Using the array, we can return any positio