Conditional logic to create a rule based on cookies

Hello there!

I need your help to learn how to use conditional logic effectively to create a rule based on cookies. Could you kindly assist me?

In the footer of a website, I have embedded Google Maps. With the automatic Iubenda cookie blocking, the map is not visible until the user accepts cookies. I would like to understand if it’s possible to insert a line of text below the map that is only visible when the user has not given their consent for tracking. In this case, the Google map won’t be visible, but instead, there will be a text message, more or less like, “To view the Google map, you need to accept cookies.” When the cookies are accepted, this message should no longer be visible.

I thought about doing this with conditional logic by creating a cookie rule, but I have no idea what to put in the “Key” and “Value” fields. Can you help me with this?

Thanks in advance!