ActiveCampaign Forum

Gender tagging your leads (use this script)

Hi Guys,

ActiveCampaign doesn’t have the possibility to tag a lead with it’s gender. So I programmed it myself.

To make it run:

  • Edit the setup section in
    ** Put your API URL (you’ll find that under: “Settings > Developer” in your account)
    ** Put your API Key
    ** Put the list id whose contacts you want to tag (to find the list id, go to Lists, then click on the list and in the URL there is a parameter which reveals the id. Example:

If you want, you can also edit the presets to rename the tags.

Default is:

  • Gender:Male
  • Gender:Female
  • Gender:Unknown

Then just run the script with:


It should pretty much work out of the box, if you have python installed.