Create a newsletter archive on your website
A list of campaigns can be retrieved from myMailMarket, via a simple < iframe > url. Such a code consists of various components. Start with this default code and add your website id, numbers of listed items and css file to complete the < iframe >.
Default code: http://secure.mymailmarket.be?l=e/forms/rendercampaigns?
1. Add your website id
Login to your myMailMarket account, head to "API" menu in the top right, and copy the "Site ID". Add this ID to the default URL via i=id. For myMailMarket this results in:
2. Set the maximum amount of items that can be displayed
Choose how many newsletters may display on your website. For example, we choose to set the maximum on 5 newsletters: &max=20. All items are automatically sorted by date descending, so last sent campaigns are displayed on top of the list.
3. Style the hyperlinks with css file
To fit the format of the hyperlinks into the design of your website, you can also make add your CSS file. By adding the element &c= the complete URL will look like this:
In the iframe this eventually results in this code:
<iframe src="http://secure.mymailmarket.be?l=e/forms/rendercampaigns?i=0826062504724&max=20&c=http://mymailmarket.com/css/global.css" frameborder="0"></iframe>
Copy the iframe and paste it into the HTML code of your website. This code ensures that if new campaigns are sent out myMailMarket, they automatically appear in your website (not relevant for test campaigns).
- Only campaigns that have status ‘sent’ and that are not indicated as test-campaigns will be retrieved by our system
- You can both use http or https to load the campaign archive
- European clients should use the secure.mymailmarket.be currently
Is your question missing?
Please do certainly not hesitate to contact us.
Create emails that convert with the inverted pyramid method
Presenting our new drag-and-drop email editor
Multiple unsubscribe option in myMailMarket
Get started with email marketing presentation
Make a killer impression with your welcome message
Email marketing trends in 2015
5 ways to integrate email & social media marketing
Tips and tricks for reducing bounces