Question about analytics

how we can add queries metrics to checking on the query which people are doing in the google to reach out to you

And how I can add Cloudflare to my
Custom web development