Skip to main content
December 19, 2014
Question

Token Customization - Text Before and After

  • December 19, 2014
  • 1 reply
  • 595 views
We have no issues at all with using the token for first name, etc., but I'm running into an issue with a current campaign that requries the text to read:

... in your industry ... [for people without an industry specified]
OR
... in the <industry custom token> industry ...

where Industry may or may not be defined.

I clearly don't want this to say "in your Marketing," instead of "in the Marketing."

Is there any easy way to do this?  I'm very afraid to alter the tokens, and I know altering the default text would result in "in Marketing industry" versus "in the Marketing industry," which I'm looking to place.

Thoughts on how to place this in an email without either version sounding awkward?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Josh_Hill13
Level 10
December 19, 2014
You would need to use the velocity scripting to do this.

Is this driven by a segmentation or just a token? You could have two segments: Industry or No Industry and that woul work. I would also take out "the" and "industry" and just place the name:

in {{lead.Industry}} renders as "in Manufacturing"