Comments

  1. Good and helpful posts,thank you very much
    http://www.e-mobl.com

  2. I really like this addition, many thanks!! The easier it is to add a contact (and staying on your current page IS much easier) the more contacts we’ll end up adding. I like that.

    Keep up the good work!!

    Ashley

  3. Is there some “trick” to making this work? This seems very straightforward, but I cannot get this to do anything except return two quotes (“”) on the page once I call https://visitor2.constantcontact.com/api/signup with all the appropriate info. I cannot even get it to give me an error code by intentionally changing the ca value to something wrong.

    • Shannon Wallace Shannon Wallace says:

      For future users, Scott was putting in the list name, not the list ID, and that was causing a failure. I’ll now clarify in this post that we’re looking for the numeric list ID, not the list name.

  4. Fletcher Sandbeck says:

    I’ve been trying to do something that I think should be simple for some time, but isn’t. I want to display a form on my website so my authenticated user can check/uncheck mailing lists to subscribe/unsubscribe. Exactly like the update profile form on CC, but without the whole email handshake for authentication because I have already authenticated them with my login system.

    My current system uses the API to get the current lists and then updates the record. This works, but is soooo sloooow that people don’t think it does. We get a lot of complaints and bug reports about it. This form helps with one side of that. I can use this end-point to submit the subscribe request rather than using the API directly.

    The other side is trickier. I need a way to get a subscribers current lists in a simple form without having to wait for the API. I’m going to sync over our entire subscriber list into MySQL and implement periodic polling for batch updates, but I don’t feel like it has to be this hard.

    If either there was a way for me to simply construct a link to the profile update page OR the API didn’t take forever to return results after multiple timeouts on every request then I wouldn’t have to do many hours work.

  5. Fletcher Sandbeck says:

    I want a version of this where the list field is not additive. I want to be able to unsubscribe people from lists using a simple method like this rather than the more cumbersome API.

  6. I’m trying to use this, and I can successfully sign a user up to a single list, however, if I try to sign them up to multiple lists, they are only added to one of the lists. In the example, you show adding the list= query string more than once, but what seems to be happening when I try it, is that only the last “list=” value is being used, or perhaps the previous ones are being overwritten

    • Shannon Wallace Shannon Wallace says:

      Hi Brad, please escalate to our support team (support@constantcontact.com). One of our support reps will be more than happy to help troubleshoot the issue with you, to find out whether this is an issue with the query parameters, lists, or something else.

  7. WSpackman says:

    I’m trying to pass a return url with a parameter for my custom thank you page. The signup and response to my site all work great until I add a parameter to the url and then the API behaves as if I had sent a blank return url and just displays the CC 200 success message and doesn’t perform the redirect. Just be clear
    this works url=”http://mydomain.com/thank-you-message”
    this doesn’t url-“http://mydomain.com/thank-you-message?subscriber=3434343”
    Can anyone confirm if the API rejects parameterized return urls?

    • Shannon Wallace Shannon Wallace says:

      Please reach out to our support team for help. We do not monitor this post. Our support can be reached via phone or at support@constantcontact.com. Our normal support team will most likely need to escalate to our technical team, who can diagnose specific issues.

  8. I am trying this and failing using this code – any ideas?

    Join our email list to receive updates and specials!

    • Shannon Wallace Shannon Wallace says:

      Please reach out to our support team for help. We do not monitor this post. Our support can be reached via phone or at support@constantcontact.com. Our normal support team will most likely need to escalate to our technical team, who can diagnose specific issues.

  9. To anybody else looking for how to submit CC email addresses with as little effort as possible: “If an error occurs when the contact is submitted to us, this form will send the contact to our page, visitor2.constantcontact.com, and will show the user the error.” is either out of date or misleading. It only returns ever JSON. (test: use the example html provided)
    You have to either use the javascript that comes with the “Embeddable Sign-up Form” or the code in this article, or use the “Form URL”. POST to that url, with an input of name=”ea” for email address. You’ll get a page with the email address filled in that can handle the validation errors on its own.

  10. I’m getting this to work but then I can’t add users to my mysql data because the action for the form is different. Can you help me with that?

Leave a Comment