How to translate the GDPR cookie bar on an AMP

Please note that the snippets in this article will only work for pages using the new and improved page generator, the Thor Rendering Engine. We recommend testing the snippet functionality in case your page was created before 2019 or duplicated from an older page, as the two render engines have a different code structure in the backend. To migrate your older pages to the new Thor Rendering Engine, you can contact our support team at

In case you need to translate the message and buttons present on our cookie bar because your page experience is in a language other than English as well, you can use the code below to achieve this.

First, make sure you have the cookie bar enabled and set up according to this dedicated article here:

Then, copy this code and paste it under HTML/CSS > Head:

You will need to change the text after "content:" on lines 38, 42, 46, and 50, between the quotes, according to your desired language. 


In case you need help with a custom functionality or any code customization that is not provided through our Help Center articles we have a Professional Services team that can help our Convert users. The Convert plan includes Professional Services as well as additional features and services that can be seen here: