Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1323072

    Hey there,

    the Consent Manager is currently not actively prevented from being indexed. Thus it offers no real value to be used as Snippet or Search Result content.
    We encountered this issue on some sites, where Google guesses the content for the Snippets. Thus showing irrelevant snippet texts in the search result preview. There is an easy solution for that: Can you please add the following attribute to the root level element of the consent manager?

    data-nosnippet

    We use the “large” version of the CM, so the changed code should like this:

    
    ...
    <div id="av-consent-extra-info" data-nosnippet class="av-inline-modal main_color avia-hide-popup-close">
    ...
    </div>
    ...
    

    This attribute is documented here: https://developers.google.com/search/docs/advanced/robots/robots_meta_tag?hl=de

    Adding this will prevent Google from using content from the Consent Manager for their Snippets and thus should improve the content quality of the pages.

    Thanks and best regards,

    Jan

    #1323103

    Hey Jan,

    Thank you for the info.

    We will forward the issue to our channel and possibly include the changes in the next patch.

    Best regards,
    Ismael

    #1323153

    Hi,

    We added filter “avf_cookie_modal_html_attributes” which by default adds data-nosnippet to this div.

    Will be in next release.

    Best regards,
    Günter

    #1323412

    Thanks guys!

    #1323426

    Hi,

    You are welcome! Let us know if you have any other questions and enjoy the rest of your day :)

    Best regards,
    Yigit

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Prevent Consent Manager from being indexed by Google’ is closed to new replies.