If you update any Communication Channel to Opt-In or Legitimate Interest, all Web Widgets that collect communication consents must be updated to ensure they show the correct options to supporters.
Keep Communication Consents Up to Date
Follow the steps below to update each Web Widget that collects supporter consent preferences.
Open Your Web Widgets
Go to Settings, then click Configuration.
Select Web Widgets.
Generate New Widget Code
Click the Web Widget you want to update.
Scroll to the bottom of the page and click Generate Widget HTML Code.
When the process completes, click Copy Widget HTML Code.
Click Save Changes.
Paste the copied HTML into Notepad or another plain-text editor so it is ready to insert into your website.
Understand What Changes in the Code
The HTML displayed to the donor will change depending on whether each Communication Channel is set to Opt-In or Legitimate Interest.
Your newly generated HTML reflects the correct configuration, and this is what you must place onto your website.
Add the Updated HTML to Your Web Page
Open the donation page in your website’s editor.
Locate the existing Communication Consent section.
A standard Opt-In example looks like:
<label> I would like to be kept up to date with your projects and activities by the methods I choose below<br /> <input type="checkbox" value="2" class="KeepInTouch"> Email<br /> <input type="checkbox" value="4" class="KeepInTouch"> Post<br /> <input type="checkbox" value="8" class="KeepInTouch"> Sms<br /> <input type="checkbox" value="16" class="KeepInTouch"> Phone<br /> </label> </div>
Replace this block with the updated consent code generated from Donorfy.
For example, if Post is now set to Legitimate Interest, your updated widget may look like:
<label> I would like to be kept up to date with your projects and activities by the methods I choose below<br /> <input type='checkbox' value='2' class='KeepInTouch'> Email<br /> <input type='checkbox' value='8' class='KeepInTouch'> Sms<br /> <input type='checkbox' value='16' class='KeepInTouch'> Phone<br /> </label> </div> <div> <label> I would NOT like to be kept up to date with your projects and activities by the methods I choose below<br /> <input type='checkbox' value='4' class='DoNotKeepInTouch'> Post<br /> </label> </div>
Save your website changes.
Repeat these steps for every Web Widget that includes Communication Consents.
⚠️Important:
Web Widgets are a Professional only feature. Essential subscribers, please contact us to find out more about upgrading.
