Email Marketing Help Guide

Learn how newsletter tracking and analytics work

How Email Tracking Works
Automatic tracking happens behind the scenes for every newsletter
1

Newsletter Preparation

When you click 'Send Newsletter', the system prepares your email content and determines the recipient list based on your selection (all subscribers or specific recipients).

2

Tracking Pixel Injection

Each email gets a unique, invisible 1x1 pixel embedded at the end. This pixel contains encoded information about the newsletter ID and recipient ID. The pixel looks like this:

<img src="https://your-app.com/functions/trackEmailOpen?newsletter_id=123&subscriber_id=456&[email protected]" style="display:none;width:1px;height:1px;" />
3

Link Wrapping

Every link in your newsletter is automatically wrapped with a tracking URL. Original links like:

<a href="https://eliahcove.com/listings">View Properties</a>
↓ Becomes:
Becomes: <a href="https://your-app.com/functions/trackEmailClick?newsletter_id=123&subscriber_id=456&link_url=https://eliahcove.com/listings">View Properties</a>
4

Email Delivery

The email is sent to each recipient via the SendEmail integration. Each recipient receives a personalized version with their unique tracking identifiers.

5

Open Tracking

When a recipient opens the email, their email client loads the tracking pixel. This triggers the trackEmailOpen function which:

  • Records the open event in the EmailAnalytics entity
  • Captures the timestamp, user-agent, and IP address
  • Returns a transparent 1x1 GIF image
  • Updates the newsletter's open statistics in real-time
6

Click Tracking

When a recipient clicks a link, they're first routed through the trackEmailClick function which:

  • Records the click event with the specific URL clicked
  • Captures timestamp, user-agent, and IP address
  • Immediately redirects to the original destination URL
  • Updates click statistics for both the newsletter and subscriber

Privacy & Technical Notes

  • • Tracking pixels are standard 1x1 transparent images used by all major email platforms
  • • Some email clients (like Apple Mail with Privacy Protection) may pre-load images, which can affect open rate accuracy
  • • Click tracking uses 302 redirects, so users experience no delay
  • • All tracking data is stored securely in your app's database
  • • Only active subscribers receive newsletters (unsubscribed users are excluded)