Skip to content

Archive and browser view

Two related things that are easily confused:

What it is Who sees it
Browser view A single sent newsletter as a web page. The „Is this newsletter not displaying correctly?" link from the mail Anyone who has the address — that is, every recipient
Archive A page with the list of sent issues Every visitor to your website

The browser view

Every supplied template carries the sentence „Is this newsletter not displayed correctly? View newsletter in your browser" at the top. Behind it sits the placeholder %nl_onlinelink%.

The link works as soon as the newsletter has been sent — regardless of whether the Show in archive checkbox is set. Whoever received the newsletter may read it again; the checkbox controls the list only.

Before sending it says: „This newsletter is not available for viewing."

Since 2.2.0 the link carries a check value

Newsletters are numbered consecutively. Without a check value anyone could look at every issue sent by counting the number in the address upwards — including one that went to a small list only.

Now every issue has a check value of its own, and it sits in the link. You will not notice: the placeholders build it in themselves.

Two exceptions where it also works without: issues with the Show in archive checkbox — those are public anyway — and issues that already existed before the update to 2.2.0, because their mails carry the old address.

Whom the view is rendered with

Never with the recipient of the mail. It is rendered with the subscriber entered under Page configuration as Subscriber for the archive view.

If nothing is entered there, the personal placeholders stay empty (%abo_vorname%, %abo_name%, …), and %deregisterurl% points at the subscription form instead of at a personal unsubscribe link.

Why it has to be this way

The same link goes to every recipient — so it cannot say who is clicking it right now. Subscriber IDs are sequential.

If the view accepted an ID from the address, anyone could count upwards and look at other subscribers' newsletters, complete with their valid unsubscribe link. Up to 2.0 that was exactly possible.

An ID in the address is therefore ignored. Old links keep working, they just no longer show anything belonging to someone else.

If you do enter a subscriber, make one up

The entry is useful: without it, the public view says „Dear ," instead of „Dear Ms Sample,". But the salutation and name of the entered subscriber then appear on a publicly reachable page.

Create a subscriber of your own for it — „Ms Sample" on an address that belongs to you — not a real person from your list.

Since 2.2.0 the view releases only their salutation, first and last name. Their email address, street, postcode and town stay empty, the unsubscribe and settings links point at the form, and nothing is counted. That makes the entry less harmful — the made-up subscriber is still the right answer.


The archive page

The archive page on the front end

The page entered under Page configuration as Archive page. The plugin replaces its content with the list of newsletters that

  • have been sent and
  • carry the Show in archive checkbox.

How many issues are listed is set on the same settings page under Newsletters in the archive (default 10), newest first.

The checkbox is the only field that can still be changed after sending — if an issue should leave the list afterwards, uncheck it in the newsletter form.

What it is good for

A public archive is the best advertisement for subscribing: anyone wondering whether to sign up can see what to expect. Put a link to it next to your subscription form.

It also makes the issues reachable for search engines — which can be an advantage or a disadvantage. If you do not want that, leave the Show in archive checkbox off; the browser view from the mail still works.


What does not happen in either view

Nothing is counted. Neither opens nor clicks: both views render without the sending hook, and the links appear exactly as you wrote them. If you look for a tracking address in the browser view you will not find one — that is not a bug.

Nothing is re-rendered. A sent newsletter keeps its shell. If you change the template or the accent colour later, that changes nothing about the issues in the archive.

No personal data is handed out — neither the recipient nor their unsubscribe link. See above.

The addresses

Browser view ?wpng_action=previewHTML&nl_id=<number>&hash=<check value>
Text version ?wpng_action=previewTEXT&nl_id=<number>&hash=<check value>
From the archive ?wpng_action=showArchiv&nl_id=<number>

The first two are still called preview… because the endpoint used to be a preview. The address sits in every mail already sent and therefore stays as it is; the placeholders for it have been called %nl_online…% since 2.0.

The difference between previewHTML and showArchiv is one more condition: showArchiv additionally requires the Show in archive checkbox.

They are built by the placeholders and by the archive list. You only need them yourself if you want to link to an issue by hand somewhere — and for that it is easiest to copy them out of the address bar.