Skip to main content

Hello,

My company’s web app uses subdomains to separate customer environments, in the following format: xxxxx.yyyyy.com.

How can I dynamically create cohorts based on the xxxxx value of a domain, so I can easily track statistics on a per-customer env basis?

Best regards,

Hi @Elias Hjellestad 

Are you capturing this value in some user property or your page view event property?
You will need these to build your cohort conditions.


Hi @Elias Hjellestad 

Are you capturing this value in some user property or your page view event property?
You will need these to build your cohort conditions.

Hello!
Actually, I figured it out. I was overlooking the tiny “+where” button on the cohort builder, that lets me set a “Property = Value” check.
Best regards,


Reply