Using Dollar Signs in Your Documents

Because dollar signs ("$") are used to delimit replacement fields, campaign variables, and Oracle Responsys Built-in Functions, you need to keep a couple of points in mind when using them in your documents.

To include a replacement field, campaign variable, or built-in function, make sure the two delimiting dollar signs are on the same line of text; in other words, make sure there's no line break between the dollar signs.

For example, if your message text looks like this:

Here's a special offer for you, $First-Name$!

...the delivered message will say something like this:

Here's a special offer for you, Susan!

If there's a hard line break at the hyphen, though, the field name will not be replaced with personalized data. For example, if your message text contains this:

Visit our website to learn more about our fabulous products, $First-Name$.

...you might get this, which is not the desired result:

Visit our website to learn more about our fabulous products, $First- Name$.

Note that Oracle Responsys evaluates campaign variables, text replacement fields, and built-in functions that appear inside HTML comments, too. For example, if your message includes a comment like this:

<!-- Customer: $lookup(CustID)$ -->

...then the delivered message will contain something like this in that location:

<!-- Customer: 5551212 -->

To include plain dollar signs, type two dollar signs ($$) for each one you want.

For example, to get this:

Here's a $100 coupon for you, Mr. Jones!

...type this:

Here's a $$100 coupon for you, $Title$ $LastName$!

To get this:

Save big $$$ on your next purchase!

...type this:

Save big $$$$$$ on your next purchase!

To include a website address that includes dollar signs, use %24 for each dollar sign.

For example, to get this:

Visit our website at www.$uper$aver.com for more information.

...type this:

Visit our website at www.%24uper%24aver.com for more information.