Target based on a URL parameter
To enable a feature based on a URL parameter, first pass the page URL to Hypertune.
Then add a rule to your flag to check if the URL contains the parameter:

The order of targeting rules is important.
In the example above, the rule runs before the default rule that contains the Split Control. As a result, users with the matching URL parameter will exit the flag logic immediately. They won’t enter the Split, which keeps exposures and analytics clean.
For this reason, we recommend keeping all targeting logic within a single flag rather than spreading it across multiple flags or hardcoding it in your application.
Hypertune makes this possible via its flexible configuration language, Hyperlang.
Last updated