Ok, so I figured it out.
I used the placeholders for subscriber id and subscriber key to put in the URLs. For the campaign ID, I got it directly from the DB inside the acym_mail
table.
So finally, the URLs look like this:
web copy:
https://example.com/index.php?page=acymailing_front&ctrl=archive&task=view&id=%_ID FROM DB_%&userid={subscriber:id}-{subscriber:key}&noheader=1&language=en-US&noheader=1
unsubscribe:
https://example.com/index.php?page=acymailing_front&ctrl=frontusers&task=unsubscribe&id={subscriber:id}&key={subscriber:key}&noheader=1&language=en-US&mail_id=%_ID FROM DB_%&noheader=1
Is there an option to get the mail id dynamically rather than search it in the DB? This id is not shown also in the dashboard, so maybe put it there will be enough.
I really suggest you make these URLs dynamic with only a placeholder. It would be much easier to configure. 😄