Table of Contents:

Overview of Email Design aka Editor page

There are 2 built in editors in Ongage:

  1. WYSIWYG/HTML editor:


  2. BEEFree Drag and Drop Editor


WYSIWYG/HTML Editor

BeeFree Drag and Drop Editor

For more details on how to use BeeFree editor to create Email Messages, you can refer to the following tutorial videos.

  1. https://emaildesign.beefree.io/create-an-html-email-in-minutes/
  2. https://www.youtube.com/watch?v=buOlXJMgYC0 

Dynamic Fields, AKA Merge Fields, AKA Merge Tags

What are Dynamic Fields

Dynamic fields allow users to use the values residing in the custom List fields as dynamic content within their email messages. Typically for the purpose of personalizing the contents of the email message. For example:

Hi {{first_name}}

What are Dynamic System Fields

How to use Dynamic Fields in an Email

When editing an Email (second step of creating a campaign), click the 'Dynamic Fields' button. A new window with all available dynamic custom list Fields will open. 
Click on the Dynamic custom list field you would like and it will be added to the message. You can also type it in manually.

How to use Dynamic Fields in the Subject of an Email

Click on the 'Dynamic Fields' button next to the 'Subject' input and add the Dynamic custom list fields you'd like to include in the subject (and pre-header) of the email as demonstrated in the screenshot below:

How to Set a Default Value for a Dynamic field

The below example will insert the word "Subscriber" in your HTML email if first_name doesn't have value.

Hi {{first_name:Subscriber}}

You can also use another dynamic field (from your list), instead of a static value. The below example will insert the last name if the first name doesn't have value. 

Hi {{first_name:{{last_name}}}}

Note: This feature does not work if your send a test email to a recipient email address that is not in your list. So when sending a test email using this feature, make sure the recipient email address resides in your list (and of course is active, i.e., not bounced or unsubscribed). 

(info) As of Sep 2017, default values can be used inside of an <a href=url> as well, for example:

<a href="http://www.mywebstie?name={{first_name:Subscriber}}">Visit our Website</a>


  • If for a given field, you use one default value in the subject, and a different one in the body, then it will use the first one, i.e., the one in the subject for all instances of it in the message.
  • If you use the same dynamic list field with different default values in the body, and the same dynamic list field without a default value in the subject, then the last default value in the body will be used, for all contacts missing a value in that list field.

How to Use Dynamic Fields in Email Message Links

(info) Of course if you're coding the HTML outside of the editor, you can simply setup the link as following: <a href="http://www.yourwebsite.com?parm1={{job}}&parm2={{zip}}">Visit our website</a> where job and zip are the names of fields in your list.

(info) You can send any Ongage dynamic variable field and/or Ongage system field, on an email message link, as well as hashed emails (Search in this online guide for the section called: 'Advanced Hashing Functions' for more info about this).

How to format date fields 

  1. Typically you set the desired date format for date list fields in the List Settings → Fields Setup page, so when using that field as a dynamic variable in the body of your email message, it will display in the format you chose for it on that Fields Setup page.
  2. However, Ongage system fields have a default date format which you can't set on the above screen, so for system date fields like the ocx_created_date you can use the following formatting directive {{ocx_created_date[format=d/m/y]}}.
  3. Moreover you can use this formatting on any of your date list fields as well if you'd like to overwrite the date format you set for it on the Fields Setup page.

You can use anyone of the date formats that you see when adding / editing a date field in the List Settings → Fields Setup page.

Email Design FAQs

How to Import HTML to the HTML Editor

View Email in Web Browser Link AKA Mirror Link

These are used, typically at the top of an email, in order to provide your contacts the option to view the email in a web browser . Often the text for this link might be something like: "if you are having trouble viewing this email click here". But you have full control to whatever text you'd like to place here (and of course in any language).

(info) Note: Nowadays its quite rare that an email cannot be displayed in a mail client and therefore there's declining use of this email message feature.

For WYSIWYG editor, see the following steps to add a view in browser link (aka mirror link) in your email message:

  1. Go to Edit Email message.
  2. Write and highlight the text you would like to use for view in web browser link.
  3. Click on the 'Link' icon.
  4. Select 'View in Web Link'' from the links drop-down.
  5. Click 'OK' to confirm.

For Beefree editor, see the following steps to add a view in browser link (aka mirror link) in your email message:

  1. Go to Edit Email message.
  2. Write and highlight the text you would like to use for viewing in a web browser link.
  3. Click on the 'Link' icon.
  4. Select the word that you want to display (in this case open in browser). 
  5. Choose the hyperlink option and Add {{ocx_mirror_page}} in the URL and click ‘OK’ to confirm.



  • View in Web Links are not supported in Transactional Mailings.
  • View in Web Links are not suited for any type of dynamic feeds or dynamic content, as that data will not appear in the view in browser version of the email message. Ongage creates only one copy of the view in browser email message for the entire campaign, so the contents of that message do not contain any personalized dynamic field replacements either.
  • View in Web Links work for up to 90 days from scheduled launch date, after that they will stop working.

How to disable WYSIWYG Editor

How to set Custom Unsubscribe Link in WYSIWYG Editor

You can customize the HTML format and design of the Ongage unsubscribe link in the body of your HTML email message, with the following steps:

  1. In the Email WYSIWYG editor choose the "Link" icon:


  2. In the drop-down choose Link Type "Unsubscribe"


    You can place this anywhere you want in the body of the email

(info) The above will create the following unsubscribe link in the HTML code: <a href="{{ocx_unsubscribe_link}}">your text</a>. This link feature allows you to design and format your unsubscribe link however you see like, so it will fully match the design of your HTML email template.

(warning) Note: When you use a customized unsubscribe link like described above, you can un-check the 'Unsubscribe default link' in the 'Unsubscribe Management' section of Step-1, which will simply add a non formatted unsubscribe link, to the very bottom of your email message.

(warning) Note: that some ESP(s) enforce their own unsubscribe link, and will add a link to the bottom of your email, regardless. See full list here.

How to set Custom Unsubscribe Link in the BeeFree Editor

If you'd like to set an unsubscribe link in the BeeFree editor, follow the steps listed below.

  1. Go to Email Design >> Select Text Box

  2. Write and highlight the text you would like to use for the Unsubscribe link.
  3. Click on the 'Link' icon.
  4. In the Insert Link window add {{ocx_unsubscribe_link}} in the URL field and click OK to confirm.

How to Preview Email Message using Litmus

Ongage has a built-in integration with Litmus email testing tool, which is used to test the preview of email messages as to how they will appear in different browsers and different devices.

  1. Start by going to Campaigns >> Email Messages. In the Email Design panel, click on the Edit WYSIWYG Editor, choose a template from the template library of your choice and then click on the “Test with Litmus” button below.


  2. If you are testing for the first time, you need to login to your litmus account with your credentials. Also if you are already signed in it displays a credit score per account, of how many previews are left for that particular account. After signing in you can run the test.


  3. Once you run the test, it gives you an overview of how your email messages will appear in different browsers and applications.


  4. Preview of how it appears in Outlook is shown in the screenshot below.


  5. Similarly, here is the gmail preview for the email message.

How to Implement a Basic Feedback Survey in an Email Message

If you'd like to implement a basic survey / satisfaction feedback, in the body of an email, you can achieve this by using the Post-back link feature in the email message. For example, you can add two buttons: Satisfied and Unsatisfied, and create two separate Post-back links, once the recipient clicks on a button option, the associated value will be posted to the selected List field for that contact. To implement, please follow the steps below: 

  1. First create a List Field to store Survey results. You can name it something like “Survey”.
  2. Then Go to List Settings >> Select Post Back Link >> Click on Create New Post Back Link.
  3. In the form to create Post-Back link add the Link Name, Select the List Field you created in Step 1, and define the value which will be populated in the list field once this survey option is selected. For example define “Satisfied” as a value that will be inserted to the List field.


  4. To notify the user about the confirmation of the feedback, you can add your own text that will be displayed to the user once the feedback is submitted.
  5. Create another Post-Back link for another Survey Option such as Unsatisfied (to be posted back to the same List field).
  6. Now, create an Email Message and add two buttons Satisfied and Unsatisfied.


  7. Select the link type: Post-Back Link and for Satisfied select the link: Survey Feedback Satisfied.


  8. Similarly, add the second Post-Back link for the Unsatisfied button option.

    For more full-blown survey features, we recommend looking at any of the various Online survey services, including Google Forms, along with either our API or Zapier integration, to feed back relevant survey result data points back into Ongage List fields.


Can I use icons in the subject

e.g., ✈ Best Flight Deals

Can I use Emojis in the subject

(e.g.,  Valentine's Special)

Yes! (till July 2017 Ongage only supported 1-3 bytes emojis. As of July 2017 Ongage supports 4 byte emojis).

The word "Ongage" cannot be used in the following places

The word/string "Ongage" is prohibited for use in the body of the message, links of the message, as well as tracking and image domain.  

What does Ongage offer regarding responsive email messages

  1. All the templates in the 'Ongage Free Templates' folder under the Content → Templates Library are responsive.
  2. All email messages created with the BEE Free editor are responsive.
  3. You can use this online tool to covert plain HTML into Responsive code: https://foundation.zurb.com/emails/inliner-v2.html

How can I implement dynamic images in an email message 

  1. Lets say you'd like to display different logos to different contacts based on the brand they're associated with. You can create a list field, let's say its name is 'logo', that will contain the name of the logo image. E.g., Target, Starbucks, etc.
  2. One way of doing this is by storing the images on an external image server to host the logo images. The names of the images need to match the value in the list field, e.g., Target, Starbucks, etc.
  3. You need to make sure that each contact has the correct logo value in their list field.
  4. Then in the body of the email message use the dynamic list field in the URL of the image, as in the following example: 
<img src="http://your.external.server/{{logo}}" width="50" height="50">

So that contact 1 with value 'Target' in their this list field will get the 'Target' logo, and contact 2 with with value 'Starbucks' in their list field will get the Starbucks logo.

(info) Alternatively, if you'd like to store the images in Ongage, in the Ongage Image Library, you can simply store the Ongage image id, as the dynamic field value in list field value.

For more about dynamic content in general see the following 2 sections:

  1. Ongage Feeds: HTML, RSS, XML and JSON
  2. Content and search there for 'if-then-else'

These offer additional ways of displaying dynamic content and images in the body of an email message.

How to create a new line vs. a new paragraph

In the Ongage HTML/WYSIWYG editor:

Grammarly is currently not compatible with the Ongage HTML/WYSIWYG editor

The popular English grammar and proofreading software - Grammarly browser extension is currently incompatible with Ongage's WYSIWYG editor, as it ends up adding thousands of characters of HTML code into the final HTML email message, which can cause errors when sending. Therefore till further notice, you'll need to remove or disable this extension when editing email messages in Ongage. Ongage will be looking at how to support this extension in the future.

How to turn-off link wrapping/tracking for a specific link in an email message

In the email message editor:

  1. Double click the link you wish not to track clicks and click counts.
  2. And check the 'Don't track this link' checkbox as illustrated in following screenshot. This will also cause clicks not to be counted.


    (info) Typically you'll want to do this if you're managing unsubscribes with your own unsub link. Ongage's unsubscribe link automatically does not count clicks on it.

Can one use an external image server for hosting HTML email images?

Yes you can! Using images hosted on an external image server, here's how to reference them in the editor/HTML:

  1. Go to Email Message >> Email Message Editor.
  2. Click on the "Image" button in the edit WYSIWYG editor.
  3. It pops up with a new screen where you can add the URL of the images that are hosted outside the server.

Note: Customers who host images on an external image server, will typically compose the HTML with the URLs to the image server outside of Ongage and then simply copy and paste the HTML into the HTML tab of the wysiwyg editor.