How Do I Embed A Weather Forecast

I am trying to pull in a dynamic weather report from Google or Yahoo. I would like the 3-day forecast to display in my email, and stay updated regardless of when the email is deployed. Any ideas on how to do that???

Thanks

Mathew Mathew, 6 years ago

Unfortunately, you can't run script in an email, so the normal way you'd do it won't work.

However, if you could have an image URL which would return a dynamic image, you could do that:

<img src="http://weathersite.com/forecast.jpg" cm_dontimportimage />

The cm_dontimport tells Campaign Monitor not to download the image when you import the campaign, so it will be downloaded at the time the recipient opens the email. If that image is kept up to date, then it will be correct.

That may not work for your needs, but it might be helpful. Otherwise, it might be best just to link to a forecast site.


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

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