# Best Practices

- [FAQ](https://doc.commandersact.com/features/sources/sources-catalog/web/containers/best-practices/faq.md): Some answers from your questions
- [Common Container Strategies](https://doc.commandersact.com/features/sources/sources-catalog/web/containers/best-practices/common-container-strategies.md): Container strategies for common setups.
- [Common Trigger Strategies](https://doc.commandersact.com/features/sources/sources-catalog/web/containers/best-practices/common-trigger-strategies.md): Data Layer strategies for common setups.
- [Performance Optimization](https://doc.commandersact.com/features/sources/sources-catalog/web/containers/best-practices/performance-optimization.md): Strategies to improve the onsite performance of TagCommander.
- [tC.\* attributes and methods](https://doc.commandersact.com/features/sources/sources-catalog/web/containers/best-practices/tc.-attributes-and-methods.md)
- [APIs](https://doc.commandersact.com/features/sources/sources-catalog/web/containers/best-practices/apis.md)
- [Onsite API](https://doc.commandersact.com/features/sources/sources-catalog/web/containers/best-practices/apis/onsite-api.md)
- [TMS & Consent banners IDs](https://doc.commandersact.com/features/sources/sources-catalog/web/containers/best-practices/tms-and-consent-banners-ids.md): This is how you can retrieve IDs of sites, containers, privacy.


---

# 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://doc.commandersact.com/features/sources/sources-catalog/web/containers/best-practices.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.
