mirror of
https://github.com/knadh/listmonk.git
synced 2025-12-05 16:00:03 +01:00
32
docs/docs/content/archives.md
Normal file
32
docs/docs/content/archives.md
Normal file
@@ -0,0 +1,32 @@
|
||||
# Archives
|
||||
|
||||
A global public archive is maintained on the public web interface. It can be
|
||||
enabled under Settings -> Settings -> General -> Enable public mailing list
|
||||
archive.
|
||||
|
||||
To make a campaign available in the public archive (provided it has been
|
||||
enabled in the settings as described above), enable the option
|
||||
'Publish to public archive' under Campaigns -> Create new -> Archive.
|
||||
|
||||
When using template variables that depend on subscriber data (such as any
|
||||
template variable referencing `.Subscriber`), such data must be supplied
|
||||
as 'Campaign metadata', which is a JSON object that will be used in place
|
||||
of `.Subscriber` when rendering the archive template and content.
|
||||
|
||||
When individual subscriber tracking is enabled, TrackLink requires that a UUID
|
||||
of an existing user is provided as part of the campaign metadata. Any clicks on
|
||||
a TrackLink from the archived campaign will be counted towards that subscriber.
|
||||
|
||||
As an example:
|
||||
|
||||
```json
|
||||
{
|
||||
"UUID": "5a837423-a186-5623-9a87-82691cbe3631",
|
||||
"email": "example@example.com",
|
||||
"name": "Reader",
|
||||
"attribs": {}
|
||||
}
|
||||
```
|
||||
|
||||

|
||||
|
||||
BIN
docs/docs/content/images/archived-campaign-metadata.png
Normal file
BIN
docs/docs/content/images/archived-campaign-metadata.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 253 KiB |
@@ -45,6 +45,7 @@ nav:
|
||||
- "Templating": templating.md
|
||||
- "Bounce processing": bounces.md
|
||||
- "Messengers": "messengers.md"
|
||||
- "Archives": "archives.md"
|
||||
- "Internationalization": "i18n.md"
|
||||
- "Integrating with external systems": external-integration.md
|
||||
- "API": apis/apis.md
|
||||
|
||||
Reference in New Issue
Block a user