Opt In Forms
You are able to add opt in forms to your websites so that your customers can signup directly to your lists within MarketU.
We reccommend setting up a specific list for each type of optin form you have e.g. "Opt In Newsletter Sign up", "Opt In Keep me informed contact" etc, you should then create proper versions of these lists e.g. "Newsletter Sign up", "Keep me informed contact" and move people from the opted in lists to these main lists.
Obviously as people are able to signup on your site you may get erroneous signups so the above way is the safest way of ensuring your lists are valid.
Creating an optin form
- Navigate to the list you wish to use as an optin list and click on the opt in list action
- Use the screen to format your list, you can choose to include/exclude fields etc
- Redirect is an important field allowing you to set the page MarketU redirects to after adding someone to your lists e.g. www.mysite.com/thanks. We post all the data passed to us onto the redirect page allowing you to customise your thanks page. Fields are passed as emailaddress, firstname, lastname, udf1, udf2
- Once you have setup the opt in form, ensure the radiobutton "Standard Form" is selected and copy the code and add it to your site.
CMS customers or customers with .Net sites
A feature of .Net (a page that ends in .aspx) is that it only allows one form on a page and it uses that form to control itself. For customers who use a CMS product in .Net or have a site built in .Net then the op-in form needs to be setup slightly differently
.All of the above apply until point 4, where you need to select the radiobutton - "CMS .net site" and copy the code and add it to your site, your development team will need to make a one time change to your website to ensure the site functions correctly - see below
Instructions for .net Developers
Traditionally the MarketU product uses forms to submit data and subscribe people to mailing lists, as .net does not allow multiple forms on one page then the user code produced is slightly different to allow submissions to still occur.
To setup your site to work with MarketU you need to add a function and some code to your page_load event.
Add This function to your master page - or each page:
PublicSub MU_optIn()
If Request("mu_url") <> ""Then
Dim redirectURL AsString = Request("mu_url") & "&mu_emailaddress=" & Request("mu_emailaddress")
If Request("mu_firstname") <> ""Then
redirectURL &= "&mu_firstname=" & Request("mu_firstname")
EndIf
If Request("mu_lastname") <> ""Then
redirectURL &= "&mu_lastname=" & Request("mu_lastname")
EndIf
If Request("mu_udf1") <> ""Then
redirectURL &= "&mu_udf1=" & Request("mu_udf1")
EndIf
If Request("mu_udf2") <> ""Then
redirectURL &= "&mu_udf2=" & Request("mu_udf2")
EndIf
Response.Redirect(redirectURL)
EndIf
EndSub
Wherever you have added the above, in your Page_Load event add:
If IsPostBack Then
MU_optIn()
EndIf