When using Mailster tags in links, remember to encode them with PHP’s rawurlencode. Prepend an exclamation mark (!) to the tag name (e.g., {!mytag}) for proper encoding. Avoid this method for tags containing full links to ensure functionality.
Articles Tagged: tags
Dynamic Custom Post Types
Mailster’s dynamic tag engine allows you to create custom post types that generate content on demand, enabling endless possibilities for newsletter personalization. You can display various content like popular posts or cart items using dynamic tags, enhancing user engagement in your campaigns.
Random Dynamic Posts
Mailster’s random posts feature complements dynamic posts by displaying a random post under the same conditions. Using tags like {post_title:~7}, you can ensure consistency within campaigns. Each random tag is linked to a unique seed, allowing for varied post displays without duplication within the same campaign.
Adding Posts to your Campaign
Mailster offers seamless integration with WordPress, allowing users to easily add posts, pages, or custom post types to campaigns. You can include static content, which remains unchanged, or dynamic content that updates upon sending. Customize your campaigns with filters for tailored content display.
Keep certain tags in your campaigns
Mailster automatically removes unused tags from your campaign, but you can whitelist specific ones using the ‘mailster_keep_tags’ filter. Add your desired tags, like {my-special-tag} and {my-other-tag}, to ensure they remain in your campaign with variations.
Changing the static Auto Tag Output
Mailster’s auto feature allows you to manage static content by modifying the functions.php file. You can customize the output using the “mailster_auto_post” filter, adjusting the title, content, and other parameters. The default data includes title, excerpt, and link, allowing for flexible email automation.
Add custom dynamic tags to your newsletter
Enhance your newsletters with dynamic content using custom tags. By adding code snippets to your theme’s functions.php, you can create unique tags like {mytag} or {coupon} for personalized content, such as coupon codes, tailored to each subscriber. This ensures engaging and relevant communication.
Tags in Mailster
Tags in Mailster serve as placeholders in your campaigns, dynamically replaced with subscriber-specific content during sending. Use the format {tagname} for tags, and set alternative content with {tagname|alternative}. Dynamic tags allow for customized content display, enhancing engagement in newsletters. Explore more in the “Tags” Tab on the Settings page!
Changing the dynamic Auto Tag Output
Enhance your Mailster campaigns by customizing dynamic post content through your theme’s functions.php file. Use a simple function to link post titles and include author names in excerpts. Target multiple elements for more tailored content, ensuring your edit bar reflects these changes.
Add a list of your latest post in your campaign
Engage your audience by linking to older blog articles, utilizing dynamic tags for a seamless experience. Enhance visibility with structured HTML, including post titles and dates, to keep content organized and appealing. Encourage exploration of your blog’s archives to maintain reader interest.
Use fullname instead of first- and lastname
For personalized newsletters, replace the {firstname} and {lastname} tags with {fullname} for a cleaner greeting, like “Hello John!” Instead of “Hello John!” with awkward spacing, you can also use a fallback like “Hello {fullname|my friend}!” to ensure every message feels personal.
How to add salutation to your subscribers?
To personalize subscriber greetings, establish custom fields for gender and salutation. Use code snippets to automate salutations based on gender in your Mailster subscriber list. You can also apply these changes to existing users through bulk actions or by adding a custom dynamic tag for flexibility.