Skip to content

Add Campaign Id to an email

JayJay
edited November 2012 in Questions
Hey,

Is there a way to add a campaign id to the body of an email? I want to use a customized unsubscribe form and pass the campaign id to it so I can have it keep track of which email caused a user to unsubscribe. I'd like to have an unsubscribe link point to something like http://mysite.com/unsubscribe/

Possible?

Alternately, where does Unsubscribe here get replaced with the link. I could edit that, but can't find the correct file.

Thank you.

Comments

  • Well, I've answered my own question. I've added a bit of code to scheduled.php, w.php, includes/create/send-now.php, and includes/create/test-send.php to enable custom unsubscribe links. Now I just have to remember to save that when installing updates.

    If there is an easier way, I'm all ears.
This discussion has been closed.