Seeing intermittent problems with iframes not loading content coming from the Ceros platform at view.ceros.com.
Problem occurs intermittently
Replicated in Chrome, Firefox, Safari.
Does not seem to be related to mixed content or privacy banner.
Empty iframe has attribute ‘data-hs-blocked=“true”’
Ceros platform reports no problems on their side
Happening on two pages, both of which have A/B tests, but the conditions on both pages and A/B parts are identical. But conceivable that the a/b bit has something to do with it.
Hubspot header, footer and lower section load fine, it’s just the iframe content.
Once triggered, the iframe fails to load on every page refresh. Just now loaded successfully twice in FF, third time failed, every reload of that window fails.
When the load fails, embedded doc request shows status ‘(canceled)’, timing stalled after <2ms. I attempted to preload the content in the header on the airlines page, but still show failed loads.
When I open the link in Chrome, everything loads and I’m not seeing errors in the dev console.
Can you take a screenshot of what it looks like when it fails to load and also confirm the section of the page with the iframe (what it should look like)?
When it intermittently fails, Hubspot page content loads, but an embedded iframe after the visual head section fails to load. It has a fixed height so shows a giant block of white; below the embed another Hubspot content + form section loads, then footer. In the inspector/devtools, iframe content document shows status “canceled”, iframe in html has ‘data-hs-blocked=“true”’, reloads will not bring in the iframe content.
When I open the link in an incognito window, it will typically fail to load the iframe content within a few tries; when it does load, it loads behind the unclicked privacy banner (so cookie acceptance not needed?). Interestingly, if it fails to load, accepting cookies will refresh the page and usually (always? not sure) load the iframe content.
Screenshots of proper iframe load, failed iframe load, and inspector network tab showing failed load, then successful load after accepting cookies.
@davidharding Thank you for the additional details - have you tried the iframe on a page with the cookie banner turned off?
It might be worth running a quick test on the hs-sites domain without cookie banner to see if the issue persists - it sounds like the iframe is using a cookie which is getting blocked until it’s accepted.
Testing this out would at least allow us to eliminate the possibility and further explore what could cause the issue without this additional layer.
Good suggestion. Actually was unaware of the content staging area, so thanks.
So… was pretty sure it’s something about how the privacy consent banner interacts with a/b tests.
To proceed with our ad campaign, we ended the a/b tests, selecting the version that seemed to load. (apparently no differences in the ceros platform between them apart from content). Embeds load now.
Tested embeds individually on hs-sites.com staging. No privacy consent banner, no loading problems for any.
Made a new a/b testing page; again one of the variations would not load in incognito until consent accepted; the other loads behind the privacy consent banner.
Cloned the variations into the staging area as individual pages (as required); both load fine without privacy consent banner.
So that seemed to make some sense. But now, turning all of that on its head - I also had a non-a/b-test page that would not load its iframe content on the regular domain until consent. A different embed works, but not the desired one. Loads fine on hs-sites staging w/o privacy consent banner.
So I simply duplicated it in the ceros platform editor and embedded the copy. Now it loads, so that’s not privacy consent but something in the embed? Beginning to wonder if this is impossible to diagnose without a “reset cache including cloudflare” control somewhere, is there such a thing?
This is still a problem, I have the same issue, hope someone have a solution, specially for vimeo videos, they just wont play, and I can’t alter the HTML because vimeo iframe auto appends on the page.
@JMendoza2 without having a page to check the code, my best guess is that you have a cookie consent banner and if the user doesn’t accept the cookies, it won’t load the iframe content / vimeo video.