Sometimes, you may wish to run an experiment that will target your homepage only.
The best way to target this page is to use the URL matches pattern option with this pattern:
^https:\/\/www\.example\.com[\/]?(\?.*)?$
This pattern basically will match the homepage, and ONLY the homepage.
We use the pattern option so that it will handle the query parameters correctly so visiting any of these versions of the homepage will work:
Made with ♥ in London