To trigger a tag in Google Tag Manager based on a specific URL path, you should create a "Page View" trigger and configure it to fire only on pages that match your desired URL path.
This is achieved by using a "Some Events" condition within the trigger, and then specifying the "Page Path" variable to match a specific value or pattern.
Here's a step-by-step guide:
Create a New Trigger: In your GTM container, navigate to "Triggers" and click "New".
Choose Trigger Type: Select "Page View" as the trigger type.
Configure Trigger:
Under "This trigger fires on", choose "Some Page Views".
/products/, you would enter that value.
Save the Trigger: Give your trigger a descriptive name and save it.
Associate with Tags: Go to the tag you want to fire and select the newly created trigger under "Triggering".
Test and Publish: Use GTM's preview and debug mode to test the trigger and ensure it fires as expected before publishing the container.

Example:
Let's say you want to trigger a tag on all pages within the
/products/
section of your website. You would configure the trigger like this: