I’ve not seen this happen before. A onebox displaying the embedded markup for Google analytics instead of body text.
Is there a workaround? I believe the site it is on is a Squarespace site.
In a support discussion titled ‘Onebox displaying JavaScript embed code,’ nibl reports an issue where a onebox displays Google Analytics embed code instead of body text, suspecting it’s from a Squarespace site. awesomerobot identifies the root cause: the site’s Open Graph description meta tag incorrectly contains JavaScript ad code, visible via the Facebook Open Graph debugger. They suggest contacting the site maintainer to fix the OG tag. nibl thanks them for the diagnostic tool and confirms they’ll relay the issue to the site owner. No workaround is available on the Discourse side.
I’ve not seen this happen before. A onebox displaying the embedded markup for Google analytics instead of body text.
Is there a workaround? I believe the site it is on is a Squarespace site.
Their OG Description tag isn’t set correctly (that’s how the body text is determined), if you view source here’s what it contains:
<meta property="og:description" content="&lt;script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"&gt;&lt;/script&gt; &lt;!-- Ad 1 --&gt; &lt;ins class="adsbygoogle" &nbsp; &nbsp; &nbsp;style="display:block" &nbsp; &nbsp; &nbsp;data-ad-c"/>
This can also be seen in the Open Graph validator: https://developers.facebook.com/tools/debug/sharing/?q=https%3A%2F%2Fwww.arthistorybabes.com%2Fepisode-113-airink
Maybe send an email to the person who maintains that site and let them know? There’s not much else to be done.
Thanks for the debugger info. It pinpoints the problem. I will pass that on to their website maintainer.