Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Target: Minify offer code

Avatar

Community Advisor

14-06-2018

I would like an option to have Adobe minify the offer code before it is served.  For example:

minify code mock up.png

Why?

The code with in our offers is not minified and contains a lot of comments.  This is so other users of Target can understand what the offer code is doing.

However, it feels undesirable to serve this to real users:

  • It feels unprofessional to serve production code unminified with lots of comments in it
  • there would likely be a small performance gain through minification

Currently I can't see a neat way round this. Either we:

  • minify the code placed in the offer, making it unreadable
  • leave it unminified and have this serve to production
  • have duplicate minified/unminified offers stored in the tool
1 Comment

Avatar

Community Advisor

05-02-2019

I like the idea. If you wanted to solve on your own, you could stand up a repo and push the offers via API.

Target API v1.0

Not ideal for other folks benefitting from the comments in the Target interface, though.