Trigger Javascript on button click in CMS collections

Hey friends, I’m trying to figure out how to trigger a 3rd party javascript snippet when the donate button is pressed for each of my CMS collection entries.

<script src="" type="text/javascript" defer></script><link rel="stylesheet" href=""/><a class="giveforms-donation-button" href="" data-multi-step="true">Donate</a>

I’ve added a link field (GiveForms URL) for each new collection listing, but I don’t know how to go about inserting the code into the button and dynamically pulling in the URL from the CMS data. Please help!

Here is my public share link: LINK
(how to access public share link)