Dynamic Elements allow you to easily create Elements and manage their configuration through the Dashboard. Creating your Elements from the Dashboard will allow you to dynamically update your customizations without needing to update your site's code. This is the reccomended method for using Elements.
Visit the Dashboard to create your first Element.
To use Dynamic Elements, simply add a short HTML snippet on your page containing the Element ID. This short snippet will be provided to you in the Dashboard upon creation.
<div givebutter-element-id="123"></div> // Replace 123 with your Element ID.
Using multiple Givebutter accounts
Be sure to set the correct accountId during Installation. If the Element ID doesn't belong to the accountId in your installation script, you'll receive an error. If you need to use multiple accounts on the same page you can add the givebutter-account-id to each Dynamic Element HTML tag to specify which account to use.
Updated 11 months ago