Capturing Subscribers with Existing Form

Regarding this post:
http://www.campaignmonitor.com/blog/archives/2006/03/tip_capturing_subscribers_from.html

Does anyone have an example of either the API or the redirect method working on an ASP server? Even with the redirect method, you still need to use some sort of ASP variable to hold all the data to use in the redirect string, correct?

Is anyone an expert on such matters? Assuming I get this particular client project, I'd be happy to pay someone for their expertise.

Thanks!

-Ketan
-ketan@ketanvakil.com

Jason Jason, 10 years ago

Hi Ketan,

There's an example of using the API with a Classic ASP page we've put together here http://www.campaignmonitor.com/api/apiKits/asp/. This uses a basic form, and then posts a SOAP envelope to our service.

If you'd rather use the redirect method with your existing form and actions, follow the blog post you referred to above, and access the appropriate form values to replace the placeholders in our example. Here's a small ASP code sample showing how you could go about this. (It uses our example redirect url, so you'll need to change this, and your form field names for the subscribers name and email may not be "name" and "email")

Dim name, email

name = Request.Form("name")
email = Request.Form("email")

Response.Redirect("http://myclient.cmail1.com/.aspx/s/4841/?cm-4841-4841=" & email & "&name=" & name)

See why 200,000 companies worldwide love Campaign Monitor.

From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.

Get started for free