Recently, we have been getting some questions about linking to webforms in messages. In this post, I'll show you how to link to default webforms, how to link to specific webforms (other than the default), and how to add multiple links to webforms of the same type.

Adding Links To Default Webforms

There are actually two ways you can add links to the default for a given type of webform. When creating a webform, you specify a type (Add Contacts, Subscription Confirmation, Manage Preferences, Unsubscribe, Forward to a Friend, or Lookup Contacts) and whether or not you want the specific webform you are creating to be the default. To add a link to the default webform of a specific type, you can use special tags:

  • %%!addcontact%% - Add Contacts
  • %%!confirm_url%% - Subscription Confirmation
  • %%!manage_url%% -Manage Preferences
  • %%!unsubscribe_url%% - Unsubscribe
  • %%!forward_url%% - Forward to a Friend
  • %%!lookup%% - Lookup Contacts

An alternative, and preferable solution if you don't want to deal with special tags, is to use the WYSIWYG editor.

To use the WYSIWYG editor to add a link to a default webform:

  1. Move your cursor to the location in the message where you want the link to go.
  2. Click Insert Webform Link.
  3. Choose the type of webform you want to link to.
  4. Make sure the Default radio button is selected.
  5. Click Insert.

Adding Links To Specific Webforms

If you want to add links to a specific webform, other than the default, simply follow the steps above for adding links to webforms using the WYSIWYG editor. When you get to step 4, do the following:

  1. Click the Specific radio button.
  2. Click Pick.
  3. Select the specific webform you want to link to.
  4. Click Select.
  5. Click Insert.

Adding Links To Multiple Webforms Of The Same Type

If you want to add links to multiple webforms of the same type (for example, two manage preferences webforms) in a single message, you can simply follow the steps for adding links to the default and specific webforms described above. You will notice that when you add links to multiple webforms of the same type, the links will be slightly different. For example, if a message contained links to two manage preferences webforms (one being the default), the URLs would be %%!manage_url%% (for the default) and %%!manage_url_5%% (where 5 represents the id of the specific webform).

An Alternative Design

While there could be any number of reasons you may want to add links to multiple webforms of the same type in a single message, doing so may not be the optimal solution. Before you go about implementing this, consider using dynamic content to display a link to a specific webform based on who is viewing the message. For example, contacts on one list will be shown a link to webform X, while contacts on another list will be shown a link to webform Y. For more information on dynamic content, see this post.

If you have any questions, feel free to leave them in the comments section below.

John Gunther
Technical Writer/eLearning Specialist Editor of Brontoversity