# Discourse embed crawls cookie warning text

**URL:** https://meta.discourse.org/t/discourse-embed-crawls-cookie-warning-text/218671
**Category:** Support
**Created:** [February 18, 2022, 10:14am UTC](https://meta.discourse.org/t/discourse-embed-crawls-cookie-warning-text/218671 "2022-02-18T10:14:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Justinvolved](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justinvolved/32/246076_2.png) [@Justinvolved](https://meta.discourse.org/u/Justinvolved)
#### Post date: [February 18, 2022, 10:14am UTC](https://meta.discourse.org/t/discourse-embed-crawls-cookie-warning-text/218671/1 "2022-02-18T10:14:00Z")

</div>

Hello,

Im have succesfully embedded Discourse to my website using this guide:

> [@Embed Discourse comments on another website via Javascript](https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963):
>
> Discourse has the ability to embed the comments from a topic in a remote site using a Javascript API that creates an IFRAME. For an example of this in action, check out [Coding Horror’s blog](http://blog.codinghorror.com/welcome-to-the-internet-of-compromised-things/#discourse-comments). The blog is run via [Ghost](https://ghost.org/) but the comments are embedded from his [Discourse forum](http://discourse.codinghorror.com/t/welcome-to-the-internet-of-compromised-things/3550). One important thing to note with this setup is that users have to navigate to your forum to post replies. This is intentional, as we feel that the posting interface on a Discourse forum is currently much richer than what we …

However the content of the automatically generated post contains the text of the Cookie warning that is first show when entering the site, which makes sense because that is the content the site will server to the crawler.

I’m not sure if it is possible to change this behaviour, and how to do that if possible.  
Any pointers where to start?

Thanks,

Justin

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [February 18, 2022, 12:35pm UTC](https://meta.discourse.org/t/discourse-embed-crawls-cookie-warning-text/218671/2 "2022-02-18T12:35:48Z")

</div>

That means your cookie banner is badly positioned on your page markup. Either try to fix that or go to Admin → Customize → Embed and set a CSS selector rule to remove the cookie banner.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [March 20, 2022, 12:36pm UTC](https://meta.discourse.org/t/discourse-embed-crawls-cookie-warning-text/218671/3 "2022-03-20T12:36:29Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
