You can create and add a web form to any landing page site attached to a database. Use the internal frame or external form postcode to make Acoustic Campaign web forms accessible on your website. Web forms cannot be mapped to relational tables.
There are two ways to create a web form
- Use the Campaign form builder.
- Create your form outside of Campaign and import it using the web form import wizard.
Before you create or use a web form, you will need to create the following items:
- Email database: Includes your contact's email field and other fields you may want to add to the Web form. If you want to create a single opt-in form, attach a single opt-in database. If you want to create a double opt-in form, you will need to attach a double opt-in database. You can use one database to create multiple forms.
- Landing Pages site: If you do not have a Landing Pages site in Campaign, a site will be created when you create a new web form.
Set up and access web forms from a database or landing page
- Click the database you want to use.
- Select Web Form.
- From the New Web Form drop-down, select the type of web form you want to create.
- Fill in the information required on the Create Web Form pop up.
- Click Create and your landing page will appear.
- Create a landing page site and configure its settings.
- In Optional Site Settings, select a database from Contact Source.
- Save your settings.
Access web forms from a database
To access a web form from a database, click the database you used to create the web form and then select the Web Forms tab.
Note: All web forms are listed in the Name column.
Access web forms from a landing page
- Go to Landing Pages and click the site you want to work in.
- Select an existing site or create a new site.
- Click the Manage Site tab.
All web forms are listed in the site tree.
Note: If you are accessing a web form from a landing page site, make sure that your site is associated with a database through Optional Site Settings in the Site Settings tab of the landing page.
Populate a web form using a query string
When a landing page web form is opened in a browser for the first time, all fields are blank. However, you can still pre-populate the web form if values are carried in a query string that is appended to the web form URL.
By adding a query string parameter to the end of the URL, Acoustic Campaign places the parameter values that you include into their associated web form fields. Acoustic Campaign does not do a lookup on a contact's record by using the parameters that you enter.
For example, if your web form URL is www.example.com/optin, you can pre-populate the email address with the URL as www.example.com/optin?email=abc@xyz.com
If you have these four more fields on the form:
- First Name [text]
- HasPet [Yes/No]
- Birthdate [date]
- Country [country]
You can append them to the query string as parameters:
&First%20Name=John%20C&HasPet=Yes&Birthdate=10/03/1999&Country=United%20States - When building your query string, remember to encode each space to %20
Delete, rename, and restore web forms
Delete a classic web form
- Go to Data and then View Data.
- Select the database and click the web forms tab.
- Place a checkmark in the box next to the web form you want to delete.
- Click Delete.
Delete a web form
- Go to Landing Pages.
- Click the landing page where the web form you want to delete is.
- Click the Manage Site
- Right-click the web form name.
- Highlight and click Delete.
Rename a web form
- Go to Landing Pages.
- Click the landing page where the web form you want to rename is.
- Click the Manage Site
- Right-click the web form name.
- Highlight and click Rename.
Restore a web form
- Go to the Landing Pages Site page, click the Deleted
- Check the box next to the web form you want to restore.
- Click Undelete.
Update a contact's email address
Contacts can update their email addresses for restricted and flexible databases. This way you keep the behaviors and history within an Acoustic Campaign web form.
For a restricted database:
- If a user clicks through from an email and the form is set to pre-populate, then yes, upon submitting the form the recipient's email address will be updated.
- You'll need a lookup form if you want to allow users to update directly from your website (I.E. not clicking through from an email).
Restricted database results:
- New records would match on the non-email key.
For flexible database results:
- If a user clicks through from an email and the form is set to pre-populate, then upon submitting the form, the recipient's email address will be updated. The form matching must be set to email.
- You'll need a lookup form if you want to allow users to update directly from your website (I.E. not clicking through from an email).
Redirect to a web page upon submission
You can use a web form, to redirect to a web page once the contact has made the submission.
To send the contact to a web page/landing page URL of your choice, instead of receiving the confirmation page by changing the selection under Object Properties to Take user to URL:, inserting the page URL, then saving and closing the form.
Allow recipients to subscribe to multiple lists from one email
You want to find a way to send a general email to everyone in your database that requests that they opt into any (or all) of the multiple emails.
It is possible to set this up using queries. Extra fields must be added to the master list for each of the three-monthly email lists. This allows users to check a box for each email they want to receive (they might check the box next to everyone if they want to receive all the emails). Then, create multiple queries, one for each of the categories.
Step 1
Add the extra fields to the list:
- Open your master list in Acoustic Campaign.
- Click 'Add list field' from the toolbar.
- Name it Monthly1 and choose 'Yes/No' from the drop-down.
- Add two more fields, one for Monthly2 and one for Monthly3, following the same steps.
Step 2
Update your web form:
- Looking at your list, click the Web Forms tab.
- Edit your web form (or create a new one if you haven't, yet).
- On the second screen, select your three new fields (Monthly1, Monthly2, and Monthly3) and add them to your form.
- If you preview the form now, users can check the box next to each category that they would like to subscribe to.
Step 3
To mail to these individuals’ categories:
- Open your master list (again).
- Click the Queries tab.
- Choose 'Create Query' from the toolbar.
- Name this query 'Monthly1'.
- From the field name drop-down, choose your news field. You want to query for 'Monthly1 equals Yes'.
- Save and calculate your query. It generates a list of everyone that is interested in receiving your Monthly1 email.
- Repeat for your other two categories.
When you go to mail to a group, each of these groupings is under the 'queries' tab. They are all based on the same list. Because queries are being used, it is possible for a user to be on several different queries for the same master list. Your recipients can receive any combination of the emails you're sending.
Create a forward to a friend iFrame within an external website
To have a functioning Forward to a Friend iFrame within your external site, you need to add Acoustic Campaign web tracking to your website. For more information, see the article on web tracking settings.
If you place the Forward to a Friend iFrame code within your external website and try to go to that page from a sent Acoustic Campaign mailing, you are likely to receive the following error message, 'The page you are trying to access must be associated with an Acoustic Campaign mailing'.