Integrate Fundraisingbox script after consent
-
Hi, I need to integrate the following script on my site and display a placeholder before consent, but the documentation for script center unfortunately didn’t fully help me.
<div class="fundraisingbox-consent"> <script type="text/javascript" src="https://secure.fundraisingbox.com/app/paymentJS?hash=473894775"></script><noscript>Bitte Javascript aktivieren</noscript><a target="_blank" href="https://www.fundraisingbox.com"><img border="0" style="border: 0 !important" src="https://secure.fundraisingbox.com/images/FundraisingBox-Logo-Widget.png" alt="FundraisingBox Logo" /></a> </div>
I have “consent per service” on my site.
What I tried is:
In script center, I added a new script/plugin/iframe to block and added the .js file as URL to block:
https://secure.fundraisingbox.com/app/paymentJS?hash=473894775
I activated a placeholder and added the CSS class “fundraisingbox-consent”.
On my page, I the code above in the div with the CSS class, as you can see above.
That activates a placeholder, but when I click it, the code loads but without the JS. This part is missing:
<script type="text/javascript" src="https://secure.fundraisingbox.com/app/paymentJS?hash=473894775"></script>
When I whitelist the URL of the js file as I read somewhere in documentation, everything looks like it is working fine, but if you look into Storage, the cookies get set anyways, which means the javascript runs somehow in the background without being blocked before consent.
Can you help?
Thank you!
The page I need help with: [log in to see the link]
- The topic ‘Integrate Fundraisingbox script after consent’ is closed to new replies.