When you import your content into Campaign Monitor, we automatically download all your images and convert all your links so they can be tracked through the reports. Works well. Everyones happy.
But, what if on the odd chance you didn’t want us to do that? What if you’ve got a dynamically created image that you want to be different for each recipient (perhaps using data you pass in through a custom field).
Well we’ve just added a couple of simple attributes you can add to your code that let us know to leave certain bits alone. What do they look like? All you need to do is add either the
cm_dontconvertlink attribute to your image or link tags. As a quick example, here’s the image tag in action:
Turning off image importing
<img src="http://www.myserver.com/filename.jpg" width="20" height="20" alt="alt text here" cm_dontimportimage>
Turning off link tracking
<a href="http://www.myserver.com" cm_dontconvertlink>this is a link</a>
Although we don’t do any conversion when we detect these values, we do remove the
cm_dontconvertlink values when we actually send your campaign.