Signup success redirect?

Highlighted
Visitor

Signup success redirect?

I created a signup form in CC and added it to my site. When a user successfully subscribes, I need it to redirect them to another page on my site. I found this page:

https://developer.constantcontact.com/docs/signup-forms-tools/signup-form-code.html

 

I see the "url" parameter in there, but it's not clear how you use it. Do I just add it in the javascript section after the postURL like so?

var postURL = 'https://visitor2.constantcontact.com/api/signup';

url = 'http://mysite.com/success.htm';

 

 

1 REPLY 1
Highlighted
Moderator

Re: Signup success redirect?

Hello,

 

Adding the redirect is very easy. Just locate this line of code and add in your own website to the value="" section.

<input data-id="url:input" type="hidden" name="url" value="">

Regards,
Jimmy D.
Tier II API Support Engineer
Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact Would Like To Hear From You!

We want to hear from customers like you about your favorite features and how they have helped your business or organization. Tell us by answering a few questions in...

Read More
Featured