Cookie Consent - Setup Consent Mode

One of our clients needs to configure this Consent Modes from Google:

We have the opt-in cookie running, we have the cloudflare configured but I may need some help to understand how I can use fs cookie consent to send this info to google

We need to do what is inside this link: