How to insert current campaign ID into an email?

Your software
My Mautic version is: 4.4.2
My PHP version is: 7.4.30
My Database type and version is: MySQL 8.0.30

Your problem
In order to create a service to unsubscribe from a single campaign, i want to link to a specific url containing the campaign id as a parameter. Is there a way to insert the ID of the current campaign in an email? for example {campaignfield=id}

I am not sure how to exactly do what you are wanting to do, however you can create your own landing page that is an unsubscribe center and you can provide the liftoff campaigns the person wishes to unsubscribe from.

Hi, you can also make it this way:

  1. create a landing, like Mike mentioned.
  2. create a segment called “unsubbed from nurture campaign”
  3. Create a separate campaign (called Watch for Campaign Unsub)
    in this campaign the source is the segment above and the only step is to unsub someone from the campaign.