Hi I am looking to see if I can dynamically pull code from a database and then run this code in an iframe to display the content.
I have already done this using URL’s using the onMessage script line.
However I require code to be transferred to the Iframe and then run.
For example my code looks like this that will be housed in my dataset.
<!-- Ad: Clipcentric Pushdown; Size: 970x90; Campaign: Clipcentric Tag Testing; Publisher: Media Drive; (c) 2022 Clipcentric, Inc. -->
<script>cc1374433={dest:"%%DEST_URL_UNESC%%",click:"%%CLICK_URL_UNESC%%",view:"[view-track-url]",host:"%%PATTERN:url%%",SITE:"%%SITE%%",ADVERTISING_IDENTIFIER_PLAIN:"%%ADVERTISING_IDENTIFIER_PLAIN%%",eaid:"%eaid!",eadv:"%eadv!",ebuy:"%ebuy!",ecid:"%ecid!",eenv:"%eenv!",epid:"%epid!",esid:"%esid!",storage:"0"};</script>
<script id="ccfid1374433" src="https://clipcentric-a.akamaihd.net/ad/B=1/F=1374433/C=228/P=114964/ST=1648126506/S=4vgwPsQi/ad.js" async></script>
Now I appreciate this example will probably not work due to the nature of how it acts and performs.
But is it possible for me send scripts like this from a dataset?
Thank you in advance!
Alexander.