> For the complete documentation index, see [llms.txt](https://community.commandersact.com/customer-success/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://community.commandersact.com/customer-success/expand-your-uses/boost-your-usage/tracking-optimisation-commanders-act-gateway.md).

# Tracking Optimisation: Commanders Act Gateway

### The impact of third-party tracking on your business:

* **Data loss:** Up to 30% of events are blocked by ad blockers.
* **Limited lifespan**: Measurement cookies are often restricted to 24 hours or 7 days on Safari (ITP).
* **Distorted attribution**: Underestimated ROI and less effective advertising algorithms (Google, Meta).

### IT'S TIME FOR A CHANGE: Commanders Act Gateway

Rather than multiplying complex DNS configurations (A-Record, CNAME), Commanders Act now offers a unique, vendor-agnostic solution: the Commanders Act Gateway.

This unified gateway uses a single path on your own domain (e.g. `/metrics`) to feed your entire ecosystem.

### **One configuration, four strategic uses:**

1. **Google Tag Gateway**: Serve your `gtag.js` and `gtm.js` scripts directly from your domain for maximum accuracy on GA4 and Google Ads.
2. **First-party hosting of partners**: Load third-party scripts (Meta, TikTok, etc.) via obfuscated file names, making them undetectable by adblockers.
3. **First-party tracking (server-side):** Collect and process your events via your own domain before distribution, ensuring clean and compliant data.
4. **Optimised container hosting**: Host your tag containers & CMP in First-Party to reduce latency and protect your tracking from browser restrictions.

### Immediate benefits for your success:

* **Maximum resilience:** Bypass adblockers with automatic obfuscation of JavaScript file names.
* **Signal accuracy**: Restore cookie lifetime in the face of Safari ITP, ensuring better attribution.
* **Web performance:** A centralised infrastructure that reduces the number of requests to third-party domains.
* **Optimised match score**: Richer data sent to advertising agencies to reduce your CPA.

### How to deploy this solution?

Deployment is carried out in three key stages, orchestrated with your technical teams and our consultants:

{% embed url="<https://doc.commandersact.com/developers/commanders-tag-gateway>" %}

> 💡 CSM's insight: Don't see this as a technical project, but as a security update for your data capital. Once the Gateway is activated, you regain control of your tracking without depending on restrictive third-party browser policies.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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/expand-your-uses/boost-your-usage/tracking-optimisation-commanders-act-gateway.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.
