Cookie notice coming in the top of the html page : Magento2
-
12-03-2021 - |
Question
i have installed https://meetanshi.com/magento-2-cookie-notice.html cookie extension in my website .
Now i am facing a serious issue .
In my page source this cookies content is coming before my page content . As the result google taking cookies content as page content and displayed in search result .
If i fill the meta description google taking that meta description , but if i forget to fill meta description google taking cookie content (By continuing to use this site you agree to our use of cookies) as page content.
So when i type my website in google i can see the page title , url and cookie content .
How can i solve this ?
Solution
You can try one of the below free extensions for the Cookie Compliance.
https://magecomp.com/magento-2-cookie-compliance.html
https://bsscommerce.com/magento-2-cookie-notice-extension.html
Hope it helps!!!