Using Load Balancer to Route Based on Path/URI?

Hi everyone,

I am new to load balancers, essentially, I’m trying to follow a guide to set up server-side tracking from Google (Custom domain configuration  |  Google Tag Manager - Server-side  |  Google for Developers)

and it’s asking me to route traffic depending on the route:

  • If the path is /metrics/*, go to the Google Cloud Project IP
  • If the path is anything else, go to the Server IP (Wordpress Website in Siteground)

Does that sound like something I can do with Cloudflare? I looked into Page Rules but it doesn’t work that way.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.