Link to home
Start Free TrialLog in
Avatar of rascal
rascalFlag for United States of America

asked on

Constant Contact tracking image causing gap at top of html emails

We are using Constant Contact, building a custom html email and have pasted the code into the advanced editor section.

When we send out a test email, the top of the email actually begins about 1 inch down from the top when viewed in Outlook.

That 1 inch gap at the top is caused by Constant Contact's automatic insertion of a tracking image - an image that when the recipient opens the email, it is recorded at Constant Contact.

Here is the code for your reference of that code that is auto-inserted by CC when the email is sent (see code)

Is there a way to tell CC NOT to insert this code? It is breaking our html email.

Or perhaps it can be configured to instead insert it at the very bottom of the email?

Anyone else run into this? Any solutions?

Thanks experts!
<img alt=" " height="1" src="http://rs6.net/on.jsp?t=1102201804531.0.1011306087038.0&o=http://ui.constantcontact.com/images/p1x1.gif" width="1"/>

Open in new window

Avatar of gwkg
gwkg
Flag of United States of America image

Have you tried contacting Constant Contact?  They have live chat and a toll free number for support.

http://ui.constantcontact.com/support/index.jsp?content=options.jsp


Avatar of rascal

ASKER

I did:
CC: If you don't want to link text, then don't surround it with <a> tags.
ME: ??WHAT?? did you even read my question?
CC: CC does not insert this code.
ME: Yes it does (demo follows)
CC: Oh, ok. This code does not cause a problem though.
ME: Yes it does (demonstration)
CC: Oh, ok. We'll get back to you.
ME: Yeah right - that was days ago....
To all web designers and developers - if a choice between iContact and Constant Contact, choose iContact if you don't want the CC auto-inserted link tracking code to break your html.
ASKER CERTIFIED SOLUTION
Avatar of gwkg
gwkg
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rascal

ASKER

That may be possible, I tried adding a style for img that made it invisible, but that didn't help. I am inclined to think it may be related to some other aspect of the cc-inserted code. Here is the html that gets sent to the client. Note the <img> tag immediately following the <body> tag. That is the tag that is causing the gap.

<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:cctd="http://www.constantcontact.com/cctd">
<head>
<base href="http://www.luminositymarketing.com/enewsletter/" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Luminosity Marketing E-Newsletter</title>
<style type="text/css">
<!--
html {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	padding-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	padding-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	background-color:#efecea;
}
 
-->
</style>
</head><body><img alt=" " height="1" src="http://rs6.net/on.jsp?t=1102629588287.0.1011306087038.0&o=http://ui.constantcontact.com/images/p1x1.gif" width="1"/>
 
<center>
  <table width="577" border="1" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
    <tr>
      <td width="577" align="left" valign="top">&nbsp;</td>
    </tr>
  </table>
</center>
<br/>
<table bgcolor="#ffffff" padding="0" width="100%"><tr align="center"><td><table bgcolor="#ffffff" width="595"><tr><td colspan="2"><font face="verdana,arial" size="1"><b><a href="http://ui.constantcontact.com/sa/fwtf.jsp?m=1011306087038&ea=mfindlay%40speakeasy.org&a=1102629588287&id=preview" style="color: #0000ff;" target="_blank">Forward email</a></b></font><br/>
<br/>
</td></tr>
<tr><td><font face="verdana,arial" size="1"><FooterContent><a href="http://visitor.constantcontact.com/d.jsp?p=un&v=001SXjH9_45WOEyk5YnivJHRoNNC-ir0Vt8c49vnR83aTEe1eqjj5aG1re9rjiokBr_OVsHmwreU06rxYVjStq4rfHcU-JpDP0n&id=preview.1011306087038" target="_blank"><img alt="Safe Unsubscribe" border="0" src="http://img.constantcontact.com/letters/images/safe_unsubscribe_logo.gif"/></a>
<div>This email was sent to mfindlay@speakeasy.org by <a href="mailto:mfindlay@speakeasy.org" style="color:#0000ff;">mfindlay@speakeasy.org</a>.</div>
<div><a href="http://visitor.constantcontact.com/d.jsp?p=oo&v=001SXjH9_45WOEyk5YnivJHRoNNC-ir0Vt8c49vnR83aTEe1eqjj5aG1re9rjiokBr_OVsHmwreU06rxYVjStq4rfHcU-JpDP0n&id=preview.1011306087038" style="color:#0000ff;" target="_blank">Update Profile/Email Address</a> | Instant removal with <a href="http://visitor.constantcontact.com/d.jsp?p=un&v=001SXjH9_45WOEyk5YnivJHRoNNC-ir0Vt8c49vnR83aTEe1eqjj5aG1re9rjiokBr_OVsHmwreU06rxYVjStq4rfHcU-JpDP0n&id=preview.1011306087038" style="color:#0000ff;" target="_blank">SafeUnsubscribe</a>&trade; | <a href="http://ui.constantcontact.com/roving/CCPrivacyPolicy.jsp?id=preview" style="color:#0000ff;" target="_blank">Privacy Policy</a>.</div></FooterContent></font>
</td>
<td><font face="verdana,arial" size="1"><FooterLogo><div style="word-wrap:normal;color:#666666;padding-bottom:5px;"><a href="http://www.constantcontact.com/index.jsp?cc=custom01" style="text-decoration:none;color:#666666;" target="_blank">Email Marketing</a> by</div><a href="http://www.constantcontact.com/index.jsp?cc=custom01"><img border="0" src="http://img.constantcontact.com/letters/images/cc-logo-color-sm.gif"/></a></FooterLogo></font>
</td>
</tr>
<tr><td colspan="2"><font face="verdana,arial" size="1"><br/>Sage Computer Services | 8717 31st Ave NW | Seattle | WA | 98117</font>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br/>
</body>
 
</html>

Open in new window

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rascal

ASKER

I tried that, didn't work - I'm inclined to think it has something to do with the jsp processing, but I couldn't say what.
It is strange that a 1px image after the opening body tag would break the content.  

All it should do is push the table down 1px.
Avatar of rascal

ASKER

Constant Contact support has admitted defeat - they cannot fix it.