Third Party Embed Form Not Showing

Hi all,

I’m working on placing an embed on a site from Omnisend, the email marketing platform, and I’m having a hard time and just wanted to see if anyone else has experience with this.

First they only gave me this code to put into an HTML block: div id=“omnisend-embedded-v2-68f7916e3bc49e96135ff5ed”></div. That was doing nothing.

Then I got this JS snippet from their chatbot, which I tried putting both in the code section and in an HTML block, neither of which worked. The embed code on this site that I got from Instagram is working and looks nothing like either of these so I’m wondering if the codes are just wrong? I don’t know what all Sitejet is capable of using in this arena since I’m not super experienced esp in JS.

script type=“text/javascript”>
window.omnisend = window.omnisend || ;
omnisend.push([“brandID”, “<YOUR_BRAND_ID>”]);
// Additional script content…
</script

(Both these codes were properly enclosed with </> and I did replace your_brand_id spot with my brand id)

I want seamless integration with Omnisend for newsletter sign ups, so I don’t have to go back and forth between Sitejet customer portal to check form submissions (I don’t want a recaptcha) and Omnisend to upload new contacts since there is usually multiple a week.

I’m also wondering if those codes look like they should be working if there’s something up with the cache. I have a form on that page that is currently set to “not visible” but it still showing up on all screen sizes. I have cleared the cache once already and it didn’t solve anything but am willing to try more if those codes look right.

Thanks in advance!

Do you have the Sitejet cookie banner activated on this project?
I had problems to get a mailerlite form working a few years ago.
After a loooong back and forth conversation with both Sitejet and Mailerlite support we finally found out that the cookie banner blocked the script.

2 Likes

Oh, I remember this haha. Yes, it could be that you need to whitelist the script. :heart: :slightly_smiling_face:

Great, thanks! So when whitelisting, does it take some time to propagate or should it be pretty much instant? I’ve tried a few different domains and none of them have worked, namely:

script>!function(w,s,b){Array.isArray(w[s])&&w[s].push(b)}(window,‘YETT_WHITELIST’,/app.omnisend.com|omnisend.com/)</script

It looks to me like these urls are correct (omnisend.com, then switches to app.omnisend.com when logged in) so I’m wondering if I accidentally deleted some other code somewhere in the script? (again actual code is properly enclosed <>, so other than that)

Or should my domain be something from the script?

Thanks!!