createsend-node
createsend-node copied to clipboard
ConsentToTrack flag throws error.
ConsentToTrack is a settable attribute when adding to a subscription. https://www.campaignmonitor.com/api/subscribers/#adding-a-subscriber
However adding "ConsentToTrack": "Yes"
to user details on either subscribers.addSubscriber()
or subscribers.updateSubscriber()
returns "SyntaxError: Unexpected string".