If you’ve been around the internet for a while, you probably have heard terms such as “shortcode” or “macro” get thrown around, a lot. Essentially, these are all just ways to tell a program to do something standard, using a short, simple code or command. And you can do this to add links to your Mad Mimi emails, too!
Mimi automatically includes some standard links in your footer, and you can change these settings with our Promotion Tweaks add-on. But you can also add extra links, anywhere in your promotion, using the macros below. Just copy and paste the ones you need into any text module. When you preview the email or hit “Send”, Mimi will turn those macros into a clickable link!
Pro Tip: Macros and Link Syntax in Mad Mimi Emails
Mad Mimi uses a language known as Markdown, so the syntax of the link text is important. Even if you add a link using the composer buttons, the raw text of any link in your Mad Mimi promotion looks like this:
[Display Text That the Reader Sees](http://yourURLgoeshere.com)
The square brackets contain the text that a reader will see as clickable. In this case, your email would display only a clickable link that says “Display Text That the Reader Sees”. All the rest of that, in the parentheses, is hidden. The parentheses contain the actual URL that you’re connecting that link to.
Since these here are all macros, they aren’t full URLs when you type them in — they’re just a shot-cut for Mimi to know which URL to put in when she sends the email. So you can edit the text that’s in the first set of square brackets, but don’t change anything in the parentheses.
And be sure to always test your emails, before you send them out to your audience!
Mad Mimi Shortcode Macros
Forward to a Friend:
[Click here to Forward to a friend]([[forward_link]])
[Click here to Forward to a friend]([[forward]])
[Click here to unsubscribe]([[unsubscribe]])
[Click here to unsubscribe]([[opt_out]])
[Click here to subscribe]([[subscribe]])
This will add a link to your default web form.
[Click here to view this on the web]([[web_link]])
[Click here to view this on the web]([[web_view]])
[Click here to manage your subscription preferences]([[manage_subscription]])
If you have enabled the Manage Subscription add-on, this link will take the reader to a page where they can edit their name and email and list memberships.
Mad Mimi Social Macros
Social Icon Links:
By itself, without any display text, this will add the row of buttons for your active social profiles.
Social Sharing Links:
[Click here to Like this on Facebook]([[facebook_like]])
[Click here to share this on Twitter]([[twitter_share]])
[Click here to +1 this on Google+]([[plusone_share]])
[Click here to Pin this to Pinterest]([[pinterest_share]])
[Click here to share this on LinkedIn]([[linked_in_share]])
Advanced Mad Mimi Macros
There are also macros for just custom HTML and API users, too! These need to be used in special contexts, when creating HTML emails, from scratch. If you’re just using the regular Mad Mimi composer, don’t worry about any of these.
Add “Views” tracking:
[[tracking_beacon]] or [[peek_image]]
Add “Forward” tracking:
This will insert CSS that tries to track native forwards int heir email client (i.e. views when the audience member forwards the promotion without using Mimi’s forward to a friend feature).
[Click here to confirm your subscription]([[confirmation_link]])
Sending an email with this link in it will suppress the recipient, marking them as ‘Unconfirmed’. When they click on the confirmation link they will be automatically unsuppressed, confirmed and re-added to the active audience.
You can also include [[confirmation_link]] in place of a URL when using a Button module.
Display Preview Text:
This will add a short string of text, extracted from the content of the email. It can be shown in the inbox view for supporting clients (Gmail, for example), after the subject line.
If you want to add today’s date to your email (in a way that will always show the current day), you can do that easily too!
[[date]] will display the date in words, like “July 14, 2015.”
[[date(dd/mm/yyyy)]] will display the date like “14/07/2015.”
[[date(mm/dd/yyyy)]] will display the date like “07/14/2015/”
If you want to include a string of random numbers in your text, you can use either (uniquenumber) or (randomnumber).