@nate Can you help me with this also? I can’t seem to get it to work.
I got it. Add the JS to the Body not the Head section
Bump. Any help with this?
Are you trying to embed the same html embed code? If not, can you help to create a new post with the site details, read-only link to show how you have it setup, and share the custom code you are trying to embed?
Thanks in advance
I am trying the same but I wanted to see if this method could work on Script Tag. Do you still want me to create a new one?
The issue I am running into is it won’t accept JS tags.
Need help with the code.
Can anyone help with this?
Did you check the browser console on your published site to see if there are any errors?
Can you tell us the page where you want to add the script?
What about published link and screenshot of console?
It seems that you are missing
<style> tags in the HTML field of Ad 1 item, in your Blog Ads collection.
Not sure you can use the embed widget like this without tags tho… In the browser inspector, it seems that your embed code is empty for both Ad 1 and Ad 2:
Hope this can help, still trying to figure it out…
I can see
Actual generated value of the field:
You cannot directly insert HTML code from the designer, explained here
The workaround mentioned here only works for HTML without containing script tags (like links, images, text):
You might want to go with workaround two instead, so that the external script can be loaded on page load.
Also, feel free to contact me for further code help and/or customization of third-party plugins
Sorry I didn’t get a notification for this. I am reviewing the answer now.
What I am trying to accomplish here is to create ads for each blog post. There would be multiple ads created as a collection using Script tags and and HTML.
Reviewing your answer as a solution may not work. Still working through to a solution.