> For the complete documentation index, see [llms.txt](https://help.citrusad.com/retail-media-interface/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.citrusad.com/retail-media-interface/integration/sv/brand-pages/brand-page-retailer-integration-guide/integration-architecture.md).

# Integrationsarkitektur

## Integrationskomponenter

**Komponenter som krävs**

1. API-klient – Hämtar innehåll för varumärkessidan.
2. Innehållsrenderare – Visar moduler på din webbplats. Hanterar moduler och fält som kan saknas eller vara tomma utan att generera fel; faller tillbaka eller döljer användargränssnittsblock när valfria data för annonskreativ saknas.
3. Spårningshanterare – Skapar spårnings-URL:er från `trackingTemplates` och per slot `trackers.<slot>params`och utlöser sedan C2S- och/eller S2S-händelser.
4. Reverse Proxy – Dirigerar spårning genom din domän.

Det här avsnittet beskriver körsekvensen på hög nivå för visning och spårning.

## Integrationsflöde

**Spårningsalternativ (välj ett)**

| Metod                    | När den ska användas                                                                                                                                                                                                    |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| (Klient-till-server) C2S | Standardwebbimplementering: webbläsarbaserade visningspixlar plus klickomdirigeringar eller händelsesignaler (klick och lägg i varukorg). Den här metoden rekommenderas starkt av Epsilon för de flesta återförsäljare. |
| (Server-till-server) S2S | Används när din arkitektur kräver att händelser utlöses på serversidan, pixlar på klientsidan är otillförlitliga eller när du vill ha bekräftelse på serversidan utöver C2S.                                            |

{% hint style="info" %}
**En reverse proxy krävs endast för C2S-spårning (webbläsare). S2S-anrop går direkt till Epsilon spårningsvärden med hjälp av URL:er som du skapar från `trackingTemplates.server`** **`+`** **`trackers.<slot>params` (samma recept som C2S, utan `BASEURL`). Dirigera inte S2S-anrop via en reverse proxy och ändra inte mallens värd eller sökväg.**
{% endhint %}

<br>


---

# 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, and the optional `goal` query parameter:

```
GET https://help.citrusad.com/retail-media-interface/integration/sv/brand-pages/brand-page-retailer-integration-guide/integration-architecture.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
