If you’re curious about how many people are opening your newsletter, you can insert a tiny, invisible image beacon into your email’s HTML code. This image, just 1 pixel by 1 pixel, does the trick. When it loads, Piwik PRO keeps a record of your reader’s session.
To start tracking email openings, follow these steps:
- Here’s the code that you’ll use:
<img style="border: 0;" src="https://example.piwik.pro/piwik.php?idsite=00000000-0000-0000-0000-000000000000&rec=1&bots=1&url=https%3A%2F%2Fexample.com%2Femail-opened%2Fnewsletter_XYZ&action_name=Email%20opened&_rcn=internal%20email%20name&_rck=newsletter_XYZ">
Parameters
https://example.piwik.pro
Change it to your Piwik PRO account address.
idsite=00000000-0000-0000-0000-000000000000
Change it to your site ID. (Where to find it?)
https%3A%2F%2Fexample.com%2Femail-opened%2Fnewsletter_XYZ
An encoded version of the page URL that is recorded when a reader opens your newsletter.
action_name=
An encoded version of the name of the action recorded when a reader opens your newsletter.
_rcn=
An encoded version of the name of the campaign recorded when a reader opens your newsletter.
_rck=
An encoded version of the name of the keyword recorded when a reader opens your newsletter. - Customize the code to your needs and paste it into your newsletter’s HTML.
- Well done! Now, when someone opens your newsletter, you will see a page view recorded under the
"Email opened"
page in Menu > Analytics > Reports > Pages > Page titles.Tip: You can monitor link clicks in your newsletter by adding campaign parameters to the destination URL. To learn more, read our “Analytics for Beginners” guide.