# How to restrict the triggering of a client-side tag?

## How to proceed

1. Go to the Tag edit tab and select the tag I want to restrict
2. Click on the + button to add a rule (perimeter or constraint)
3. Choose the type of constraint/perimeter you want and fill in the fields with the values corresponding to the logic of what you want to do (for example if my page\_name variable is equal to page\_basket)
4. Register the tag and generate the container
5. Deploy the container in pre-production to ensure that it is functional before going into production
6. If the recipe is validated, deploy the container to production.

<figure><img src="/files/FJIPlkaO5W48pMl9vpVk" alt=""><figcaption></figcaption></figure>

## Downloads

{% file src="/files/Ku9n082qVv5xUx0m49qz" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://community.commandersact.com/customer-success/cookbooks-and-tutorials/entreprise-tag-management/clientside/how-to-restrict-the-triggering-of-a-client-side-tag.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
