We all started somewhere! Share your experience on the Get Advice: Let's Get Started Sweepstakes thread and be entered to win a $100 credit on your Constant Contact account.

Help Please! I want to integrate our newsletter sign up into our website using php

SydneyS4
Participant

Help Please! I want to integrate our newsletter sign up into our website using php

Hi,

 

I want to integrate our newsletter sign up into our website using php, all of the example pages that I have found in your messages or as links from your explinations are missing. 

 

Can you post an example code for new users, just to add their email address through our website. 

 

If anyone knows how to bring up a signup form on lightbox that integrates with constant contact, that would be appreciated as well.

 

Thank you so much for your help!

1 REPLY 1
DaveBerard
Moderator

We have sample code for how to create or update a Contact in PHP on our Github repo.  You can look at the code examples and see how that is accomplished.  As for adding that code to a lightbox, you would need to include some sort of JavaScript framework that includes that functionality and integrate the PHP code into that.  Exactly how to do that would depend on the JavaScript framework you choose, I would recommend looking up different options for doing that using something like JQuery or a similar framework.

Dave Berard
Senior Product Manager, Constant Contact
Developer Portal

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

Visit Page