cancel
Showing results for 
Search instead for 
Did you mean: 

How to install my API key into an existing template

Occasional Participant

How to install my API key into an existing template

I bought a Parallax responsive template I have edited and there is already a newsletter signup embedded.

 

I need to know now that I have signed up for my API key how do I make it work with my site so that the data in the form fields is sent to my constant contact database and I am notified when this happens.

 

My test site is here:

http://www.ev2.me/test/

 

the form is just below Our Services

3 REPLIES 3
Highlighted
CTCT Employee

Re: How to install my API key into an existing template

Is your website static or are you using a programming language like PHP, Ruby, Java, etc?

If you can let me know what language your site supports I can help you with the integration :)

Thanks,

Mike

-------------------------------------------
Check out our developer portal: http://developer.constantcontact.com
Occasional Participant

Re: How to install my API key into an existing template

The page is an index.html file itself but I think it's using java - here's the code now:

 

       <!-- Newsletter-->
        <div class="newsletter">
        
            <div class="container clearfix">
            
                <h3 class="white newsletter">Our newsletter:</h3>
            
                <form id="newsletter"  method="post">
                    <input type="text" onfocus="if(this.value == 'E-mail here') { this.value = ''; }" onblur="if(this.value == '') { this.value = 'E-mail here'; }" value="E-mail here" class="newsletter-email">
                    <input type="text" onfocus="if(this.value == 'Your name') { this.value = ''; }" onblur="if(this.value == '') { this.value = 'Your name'; }" value="Your name" class="newsletter-name">
                    <button type="submit" class="newsletter-sent">Submit</button>
                </form>
            
            </div>
        
        </div>
        <!--/Newsletter-->

 

The link is: http://www.ev2.me/test

Occasional Participant

Re: How to install my API key into an existing template

Any update or further information on how to make the API work? Site launch is Monday and need to try to iron this out. Thanks for your help!