Developers

The theme hook

Placing the Contribute action in a theme.

Give any element the attribute data-enova-contribute:

{{#if @member}}
  <a href='#' class='button' data-enova-contribute hidden>Contribute</a>
{{/if}}

Once the snippet has decided who the visitor is, it removes hidden and makes the element the contribute action for an eligible member, or a link to the landing page for anyone else. With a placed element present, the floating button is not shown. Several elements may carry the attribute.

The element's own text and classes are yours; the script never sets content from data.

For a sponsor directory or a pricing block, link to the landing page directly (https://<site>.<our domain>/): it lists the active packages and the mapped tiers' signup links.