u/Ags_Angelides

Hi all,

Has anyone else run into issues with Vertex AI Search returning snippets that include completely unintended content?

In our case, Vertex seems to be picking up text from the Cookiebot consent dialog and showing it verbatim in search result snippets. This consent window is only injected into the DOM when a user first lands on the site or explicitly opens the consent settings, but Vertex still appears to treat it as primary page content.

We can’t simply hide or remove the Cookiebot <div> in the HTML, as it needs to be visible to real users for compliance reasons. We’ve tried adding data-nosnippet, but that doesn’t seem to be respected by Vertex AI Search at all.

Has anyone found a reliable way to prevent consent / cookie banner HTML from being included in Vertex-generated snippets, without breaking the consent UX for users? We use Drupal to host sites.

Any insight or workarounds would be much appreciated.

reddit.com
u/Ags_Angelides — 18 days ago