
內容簡介
Mailster Google Analytics 外掛為 Mailster 郵件外掛添加 Google Analytics 活動參數,能夠記錄每封電子報的公開網頁版本的瀏覽量。此外掛可讓 Mailster 活動的點擊在 Google Analytics 中顯示為電子郵件流量,並提供來源、媒介和活動名稱。
【主要功能】
• 自動為郵件連結添加 UTM 參數
• 支援 Mailster 的點擊追蹤功能
• 可設定 GA4 測量 ID 以追蹤流量
• 提供合併標籤以自訂參數
• 允許設定每個活動的專屬參數
• 僅標記本網站域名的連結(可選)
外掛標籤
開發者團隊
原文外掛簡介
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 parameters on newsletter links
Campaign parameters — Adds utm_source, utm_medium, utm_term, utm_content, and utm_campaign to http and https links. Values are URL-encoded.
Defaults — On first activation, if these options are not saved yet, source is newsletter, medium is email, term is %%LINK%%, content is empty, and campaign is %%CAMP_TITLE%%.
Merge tags — You can use %%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.
Mailster click tracking — When the campaign tracks clicks, Mailster’s redirect adds the parameters after the click. When click tracking is off, the parameters are written into the link in the email.
External domains — When this option is off, only links on this site’s domain are tagged. On first activation the option allows external domains.
Per campaign — Turn on campaign-based values to show a Google Analytics box in the campaign editor. Finished and active campaigns keep those fields locked, as does an autoresponder while you view its statistics.
Newsletter web version
On Newsletter → Settings → Google Analytics:
G-Tag ID — GA4 Measurement ID, such as G-XXXXXXXXXX. Loads gtag.js on the public newsletter page.
Web Property ID (legacy) — Older UA-XXXXXXX-X ID. Loads the legacy ga.js snippet. Use a GA4 Measurement ID for current Google Analytics reporting.
SetDomainName — Optional cookie domain. Legacy tracking passes it to _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.
How to set it up
Install and activate Mailster, then activate Mailster Google Analytics.
In Google Analytics, copy the GA4 Measurement ID for the property that should receive the hits.
Open Newsletter → Settings → Google Analytics, paste the Measurement ID, review the default UTM values, and save.
Enable campaign-based values if a campaign needs its own source, medium, term, content, or name.
Send a test campaign and open a tracked link. When the destination site uses that Google Analytics property, the visit can be reported under Acquisition → Traffic acquisition. See Google’s URL builder guide.
Setup notes: Track your clicks with Google Analytics.
