MailNinja logoMailNinjaalpha

Features

Tracking

Tracking in MailNinja counts what happened after someone else's server accepted the email. A chain you can lean on: the server accepted the email, the open by pixel, the click, the page view, the click on the page, the unsubscribe. A spam complaint and a hard bounce stay nearby. Acceptance is a success code at that step. The Inbox folder is not visible from this code: no such code exists.

The script is installed on your domain once. From then on the email is counted even if the sender address or the sending domain change.

How to enable tracking

The short path from zero to a result:

Quick start

1
Open the Tracker tabIn the campaign window.
2
Download the ZIPtracker.php and .htaccess - into the root of your domain.
3
Click VerifyThe domain confirms itself - the counters open.
4
Set the redirectWhere clicks go: the email address or the landing page.

What the feature does

On the Tracker step of the campaign there are two independent switches. The tracking pixel counts opens. The tracker counts transitions on your domain. Turning the tracker off resets the last domain verification: the old checkmark does not remain in the off state.

The domain is the site where the script lives. A line with an asterisk, like https://*.nordline.ru, means a rotating subdomain label. Plus adds one more address. The transition address is where the click goes after counting. Several addresses go in turn, one per email. The page icon substitutes the published landing page. An empty transition address keeps the link's own address in the email.

The subdomain of an asterisk address is configured separately from the queue of transition addresses: a permanent name, a new verified name every N emails or on every email.

tracker.php and .htaccess are downloaded. Both go into the site root, then you press verification. Until the domain answers, the campaign must not pretend that clicks are already being written. The key lies inside the file, like with the landing page package, and is not rewritten onto the site by hand.

{{link}} and {{unsubscribe}} in the email get into this statistics when the tracker is enabled and verified. A complaint marks the address and can put it on the complainers list. A hard bounce arrives by mailbox on the Bounces tab, if the bounce address of the campaign points there.

A lead from a landing page form is not part of this chain. It is received by mn.php, and the address ends up in a list, not in a campaign conversion.

Where to set it up

  1. Put tracker.php and .htaccess into the root of the domain where you want to count clicks.
  2. In the campaign, open the Tracker step, enable the pixel and the tracker.
  3. Enter the domain. If you need a rotating label, use an asterisk in the name, not a list of random foreign domains.
  4. Press verification and wait for the domain to answer.
  5. Fill in the transition address if the click should go to a published landing page or to another URL of yours. Plus adds the next address to the queue.
  6. In the email, the link and the unsubscribe must be macros, not a bare address bypassing the tracker, if you want to see them in the numbers.

How this helps

The numbers stay on your domain. A From change does not reset the count: the script is the same. The queue of transition addresses spreads clicks across pages without a new campaign for every page. The asterisk in the domain rotates the subdomain by the rule you set, and this is visible in the card, not in a surprise after the sending.

The unsubscribe and the complaint stay with the address. The next campaign can skip the complainers.

What the tracker writes

EventHow it is captured
OpenA 1×1 pixel in the email HTML - fires when images load
ClickThe link is wrapped to the tracker domain and redirects to the email address or the landing page
UnsubscribeOne click from the email, List-Unsubscribe headers are set automatically
Landing page visitsA page view and a click on it - separate statistics, not mixed with email clicks

The tracker script goes into the root of your domain, the key is created by the program itself. Subdomain rotation: permanent, every N emails or on every email. Without a verified tracker the campaign does not start.

What the feature does not do

An open by pixel does not prove the person read the text. Some email clients do not load the image. A click does not prove a lead. A page view does not prove the form went out.

The tracker does not promise the inbox and does not see the folder. An email the server did not accept does not get into opens: there is nothing to count.

A switched-off tracker does not "catch up later". The verification after a new enabling is done anew.

How to tell the count is alive

The domain verification happened after the last enabling of the tracker. A test email to yourself gives an open after the images load and a click that is first recorded and then opens your transition address. In the campaign analytics these events exist for that address. The unsubscribe from the test email is visible on the address. The landing page form does not jump into the same column, though.

Enable the campaign tracker ↗

Frequently asked questions

Tracking in brief: which chain is counted and where the script lives.

Does acceptance by the server mean the inbox?

No. It is a success code at the email submission step. The folder is chosen by the other side, and there is no separate code for landed in the inbox.

Which events are counted?

Acceptance, the open by pixel, the click, the page view, the click on the page, the unsubscribe. Next to them a spam complaint and a hard bounce. A form lead is not written into the campaign.

Which files to put on the site?

tracker.php and .htaccess into the domain root. Then the domain is verified in the campaign. mn.php of the landing page is not replaced by this file.

Does changing the sender address reset the tracker?

No. There is one script on the domain, the counting continues even if the From or the sending domain change.

Why the asterisk in the domain?

An address like https://*.nordline.ru sets a rotating subdomain label: a permanent name, every N emails or every email. This is separate from the queue of transition addresses.

Where does the click lead?

To the transition address after counting. Several addresses go one per email. Empty - the link keeps its own address. The page icon substitutes the published landing page.

Does turning the tracker off keep the verification?

No. The last verification is reset. After a new enabling, the domain is verified again.