
Mailster Google Analytics adds Google Analytics campaign parameters to links in the Mailster Newsletter Plugin for WordPress, and can record a page view of each newsletter’s public web version.
Use it when you send Mailster campaigns and want those clicks to show up in Google Analytics as email traffic, with a source, medium, and campaign name, instead of as direct visits.
This plugin requires Mailster. It does not include a Google Analytics account or connect to Google with an API key. When you save a Measurement ID, the newsletter web version loads Google’s tag. UTM parameters are added to link URLs. The plugin does not upload your subscriber list to Google.
utm_source, utm_medium, utm_term, utm_content, and utm_campaign to http and https links. Values are URL-encoded.newsletter, medium is email, term is %%LINK%%, content is empty, and campaign is %%CAMP_TITLE%%.%%CAMP_ID%%, %%CAMP_TITLE%%, %%CAMP_TYPE%%, %%CAMP_LINK%%, %%SUBSCRIBER_ID%%, %%SUBSCRIBER_EMAIL%%, %%SUBSCRIBER_HASH%%, and %%LINK%%. The settings screen has copy buttons for these except %%SUBSCRIBER_ID%%, which the plugin still replaces when you type it in.On Newsletter Settings Google Analytics:
G-XXXXXXXXXX. Loads gtag.js on the public newsletter page.UA-XXXXXXX-X ID. Loads the legacy ga.js snippet. Use a GA4 Measurement ID for current Google Analytics reporting._setDomainName. GA4 passes it as cookie_domain.That snippet runs in the newsletter web version only. It does not load Google’s tag on every page of the site.
Setup notes: Track your clicks with Google Analytics.