I have an email that I'm sending to contacts to request for them to click on a button if they would like to be subscribed to our new newsletter.
When a person clicks, it will take them to a CloudPage (landing page) created in Marketing Cloud that simply says "thank you". Behind the scenes, I want to update a checkbox in Salesforce to be true using AMPscript's UpdateSingleSalesforceObject.
Below is the snippet I'm using, however, it breaks my landing page.
What am I doing wrong? Thank you!