--- title: "How to use segment by URL" slug: "how-to-use-segment-by-url" updated: 2026-11-09T16:49:12Z published: 2026-11-09T16:49:12Z canonical: "help.userflow.com/how-to-use-segment-by-url" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.userflow.com/llms.txt > Use this file to discover all available pages before exploring further. # How to use segment by URL [How to segment posts by URL? - General](https://app.getbeamer.com/settings#product) from the sidebar. 2. Scroll to the **Categories and Segments** section and activate the **Segment posts by URL** option. ![](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/image(632).png) 3. Click **Save Settings**. 4. Once the option is enabled you'll see a new field called *Segment URLs (show only in these URLs)* in your post editing screen. 5. When you are creating or editing a post add the URL you want to match in the X field. Then save the changes. That will attach that post to that particular URL. ![Post settings example](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/66d55f8718c465ed7d9aac58_66d546e780378e00e0140e87_bmr-demo-segurl.webp) 6. You can **add multiple URLs by separating them with semicolons (;).** For example: http://www.getbeamer.com;http://www.hibox.co;https://intercom.com/ 7. You can also **use asterisks (*) as wildcards** to target an entire group of variable URLs. That will target all URLs that match the one written regardless of what replaces the *. This example will target all posts in our blog: http://www.getbeamer.com/blog/ 8. To make it work you need to include the parameter *filter_by_url* as *true* in your **Beamer Embed code,** as the parameter si set to *false* by default. If you include it as *false*, Beamer will ignore the filter. ```plaintext \ ``` ‍**Important:** Remember that the **Beamer Embed code** must include other parameters. If you need more information on how to use it, please consult our [Documentation](https://www.getbeamer.com/docs#segmentation) or [this tutorial.](https://www.getbeamer.com/blog/tutorial-how-to-use-beamer-in-your-website-or-app) 1. Once you have completed this for the pages and posts you like, Beamer will check the current URL and will fetch only the posts that match that URL.