The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

The 'name' attribute is automatically stripped from custom html emails. What might I do?

Highlighted
New Member

The 'name' attribute is automatically stripped from custom html emails. What might I do?

I am uploading custom html emails via the v3 API. The upload works, but the "name" attribute is stripped from the code in all instances.

 

Furthermore, if I go to the Constant Contact web editor and re-add the "name" attribute, no errors are shown; however, upon saving and reloading the editor they are automatically stripped. 

 

This is problematic for me, as I am using anchoring on a newsletter. The Constant Constant previewer still shows the anchoring as working using the "id" tag. However, many email clients require the "name" attribute; When I send the same email without the "name" attribute (with only the "id" attribute) the anchoring does not work.

 

Eg, although. some email clients will allow id="anchor1", many require name="anchor1" for the href.

 

How can I stop Constant Contact from stripping my name tags?

1 REPLY 1
Highlighted
Moderator

Re: The 'name' attribute is automatically stripped from custom html emails. What might I do?

Hi @user142486,

 

The "name" tag is not currently supported in our newest custom code editor. I have provided feedback to our engineers to see if we can get this tag added.


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

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

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More
Featured