Is there a templating tag for subject?

I would like to be able to set up my template to bring in the subject from the email campaign. Is this possible?

Example
<title><subject>my email subject</subject></title>

or maybe

<title>[subject]</title>

Is http://www.campaignmonitor.com/create/ the only place to find the templating language or is there another resource I'm not seeing?

Thanks for the assistance!
Jules

Alex I., 4 years ago

The best and only (I think!) way to do this is to set up the title in your HTML to the same as your subject in your campaign. I'm probably wrong though!

roshodgekiss roshodgekiss, 4 years ago

Hi Jules, Alex is absolutely right - for now you manually have to add the subject line to the title tags. We're keen to look at improving this with a new template tag (as you've suggested), so I'll certainly add your interest in this internally. Thanks, Jules - I'll keep you posted :)


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
JulesWebb JulesWebb, 4 years ago

Thanks roshodgekiss, that would be great. Is there any way to get notification of this and other added features or improvements?

Some spam filters can flag the email if the title tag doesn't match your subject. I'm trying to decide if it wold be better to just omit the title tag rather than leave it in with generic text. Do you have in insights into this?

As far as adding it manually---though it's possible for individuals with html understanding it's hardly convenient. And for clients that the templates are being created for, it's just not realistic solution.

cheers!
Jules

roshodgekiss roshodgekiss, 4 years ago

Hi Jules, when we add a new feature like this, we generally get in contact personally with everyone who requested it. For improvements overall, your best bet is to subscribe to our blog, as we post all announcements there :)

Some spam filters can flag the email if the title tag doesn't match your subject.

Can you kindly show me where this is documented? It's the first I've heard of this, but I'd be well keen to look into this further. If it's legit, it's a good reason to get this behaviour changed.

Thanks Jules, this task is absolutely one that we'd be willing to work on - I'll keep you posted if it's one we make progress on in the future.


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
JulesWebb JulesWebb, 4 years ago

Hi roshodgekiss

I got this from running one of your Design and spam tests
Spam Assassin 3.1 - The HTML <title> tag does not match the subject line of your email. We recommend removing the <title> tag.

roshodgekiss roshodgekiss, 4 years ago

Ah, thanks for bringing that to our attention, Jules! I'll follow up with the provider of our design and spam tests and try to get to the bottom of what's happening here. Either way this goes, we'll certainly look into adding a subject line tag :)


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
JulesWebb JulesWebb, 4 years ago

roshodgekiss - appreciate you being on top of things:)

cheers!
jules

roshodgekiss roshodgekiss, 4 years ago

Hi Jules, I just received a response from our provider:

The SpamAssassin flag that we're detecting there is "HTML_TITLE_SUBJ_DIFF". It may not be in the standard SA database, I'd need to check that. We added some extended rulesets to our SA install in order to provide more detailed spam filter reasons to customers.

... so the skinny is that this may not be a 'standard' rule, thus why we've had trouble finding documentation on it. It's likely too that you won't have your email penalized by other junk mail filters. On our end, we'll certainly look at improving things so we're not faced with this issue in the future and keep you posted when we get a more definitive response.

Thanks, Jules! We absolutely appreciate you sharing your observations with us :D


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
JulesWebb JulesWebb, 4 years ago

Hi roshodgekiss

Appreciate the clarifications. Wasn't sure if I should pull the title tag for now or not. Looks like it would be fine to leave it in and update it when you have a new subject template tag.

Cheers!
Jules

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098