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

Avatar
Shape 100
Community Advisor
Andrew_Wathen_
Community Advisor

Likes

592 likes

Total Posts

328 posts

Correct reply

16 solutions
Top badges earned
Shape 100
Bedrock
Coach
Seeker
Contributor 2
View profile

Avatar
Shape 100
Community Advisor
Andrew_Wathen_
Community Advisor

Likes

592 likes

Total Posts

328 posts

Correct reply

16 solutions
Top badges earned
Shape 100
Bedrock
Coach
Seeker
Contributor 2
View profile
Andrew_Wathen_
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

Avatar
Ignite 1
Level 8
Eric_Vidana
Level 8

Likes

162 likes

Total Posts

151 posts

Correct reply

38 solutions
Top badges earned
Ignite 1
Give Back 100
Give Back 50
Contributor
Shape 1
View profile

Avatar
Ignite 1
Level 8
Eric_Vidana
Level 8

Likes

162 likes

Total Posts

151 posts

Correct reply

38 solutions
Top badges earned
Ignite 1
Give Back 100
Give Back 50
Contributor
Shape 1
View profile
Eric_Vidana
Level 8

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.