Tracking & Attribution

トラッキングURLの構成方法

応答は、組み合わせるべき3つのソースを提示します。

  • Page-level trackers.impression: for example, a page impression uses type: "impression" and params including ts and iabConsentString.
  • Shared trackingTemplates: one set of client(relative) and server (absolute) URL templates, already containing session and placement query parameters.
  • Per-node trackers.click and/or trackers.addToCart on a module, row, or gallery item: type+ params for that specific event (for example, modId, rurl, productCode).

使用するテンプレート

Use the node’s tracking.type to look up trackingTypes.<type>. This defines the valid client.* and server.* keys for that interaction (for example, for link: client.clickRedirect, client.clickEvent, server.clickEvent).

クライアント対サーバー

  • Client (trackingTemplates.client.*): Values are relative paths (including query strings). Prepend your reverse‑proxy base URL (BASEURL).
  • Server (trackingTemplates.server.): Values are absolute URL templates on the Epsilon tracking host. Compose the final URL the same way as C2S: template + "&" + queryString(trackers.<slot>params).
📘

Do not change the template’s host or path, and do not send S2S calls through your reverse proxy.

使用例(擬似コード)

C2S click for a HERO CTA

url = BASEURL + trackingTemplates.client.clickRedirect + "&" + queryString(trackers.click.params)

S2S page impression

url = trackingTemplates.server.impressionEvent + "&" + queryString(trackers.impression.params)

S2S add-to-cart for a product row

url = trackingTemplates.server.addToCartEvent + "&" + queryString(trackers.addToCart.params)

Macro substitution

  • Replace {TS} with the current millisecond timestamp, {RURL} with the URL-encoded destination, and {TCF} with the current TCF v2 string from your CMP before firing.
  • For add-to-cart, also substitute {QTY} with the absolute quantity of that SKU in the cart at fire time (not a delta), and {CONVERSION_VALUE} with the absolute monetary value of those items (quantity × unit price, minus any applied discounts).
📘
  • Only trackingTemplates.client.impressionPixelUrls are true pixels (1×1 GIFs).
  • clickRedirect is a 302 redirect endpoint.
  • clickEvent and addToCartEvent are event beacons that return 204 No Content.
❗️

同じ論理イベントに対してC2SとS2Sの両方を発生させないでください(たとえば、同じクリックに対してC2SクリックイベントとS2Sクリック通知の両方を送信しないでください)。

トラッキング – クライアントからサーバーへ(C2S)

C2S tracking is implemented in the browser using composed URLs. Prepend BASEURL to the paths in trackingTemplates.client and append the appropriate trackers.<slot>params (see How to Compose a Tracking URL).

Only client.impressionPixelUrls are pixels (1×1 GIF). The other client templates are not pixels:

  • client.clickRedirect: 302 redirect endpoint. Epsilon logs the click and redirects the browser to the decoded rurl. Use this as a browser navigation target.

  • client.clickEvent: Event beacon returns 204 No Content). Fire using navigator.sendBeacon or fetch({ keepalive: true }). Do not render as <img>.

  • client.addToCartEvent: Event beacon (returns 204). Uses the same firing pattern as clickEvent.

実装手順

  1. APIが返すブランドページのコンテンツをレンダリングします。

  2. レンダリング後、ブラウザでインプレッションピクセルを起動します(trackingTemplates.client.impressionPixelUrls内のすべてのエントリを1x1画像として)。

  3. When a user clicks a trackable node, either:
    (a) redirect through the composed client.clickRedirect URL, or
    (b) fire the composed client.clickEvent URL as an event beacon and navigate to the destination yourself.
    Use one or the other per click, not both.

インプレッションピクセル

After the brand page renders, fire each path in trackingTemplates.client.impressionPixelUrls as a 1×1 image, (see How to Compose a Tracking URL).

<img src="https://www.retailer.com/epsilon/tracking/v3/impression/pixel/brandpage_djog...?...&ts=1737485823910"
     width="1" height="1" style="display:none" />

手順:

  1. trackingTemplates.client.impressionPixelUrlsの各文字列に対して、BASEURL を前に付けます(例:https://www.retailer.com/epsilon)。
  2. Append & + queryString(trackers.impression.params), substituting {TS} with the current millisecond timestamp and {TCF} with the current consent string from your CMP.
  3. ブラウザで1×1の< img src="...">として表示(または同等のもの)されます。

クリックトラッキング

オプションA:リダイレクトをクリックします(client.clickRedirect)

Navigate the user through the composed URL. Epsilon logs the click and responds with HTTP 302 to the decoded rurl. This endpoint is GET only, and rurl is required;

オプションB:クリックイベントビーコン((client.clickEvent)

Fire as a beacon and navigate yourself. Accepts GET or POST, returns 204 No Content. Not an image; do not render as<img>.

カートに追加(C2S)

Fire trackingTemplates.client.addToCartEvent as an event beacon (not a pixel) when the user adds a product to cart. Accepts GET or POST, returns 204 No Content.

📘

Do not combine C2S and S2S add‑to‑cart for the same cart action.

トラッキング – サーバー間(S2S)

S2S tracking is implemented on your backend. Compose URLs the same way as C2S: start from the appropriate trackingTemplates.server string, then append trackers.<slot>params. Server templates are already absolute — there is no BASEURLto prepend. (see How to Compose a Tracking URL).

📘

Do not change the host or path from the server template, and do not send S2S requests through your reverse proxy.

S2Sトラッキングを使用するタイミング

  • アーキテクチャにはサーバー側イベントの発生が必要です。
  • クライアント側のピクセルが信頼できない環境では、トラッキングが必要です。
  • You want to mix strategies - e.g. C2S impressions + S2S add-to-cart. This is supported but never fire both C2S and S2S for the same event.

S2Sインプレッション通知

After the brand page is rendered, your server issues a GET or POST to the composed impression URL: trackingTemplates.server.impressionEvent + trackers.impression.params (substitute {TS} and {TCF} before sending).

S2Sクリック通知

Compose: trackingTemplates.server.clickEvent + trackers.click.params (substitute {TS}, {RURL}, and {TCF}), then issue GET or POST.

S2Sカートへの追加通知

Compose: trackingTemplates.server.addToCartEvent + trackers.addToCart.params (substitute {TS}, {QTY}, {CONVERSION_VALUE}, and {TCF}), then issue GET or POST.

S2Sパラメーター

パラメーターソース備考
catalogId, sessionId, customerId, dtmId, placementId, lsid, utcOffsettrackingTemplates query stringsPreserve these values as-is when firing the request. Do not remove or modify them.
modIdtrackers.<slot>.paramsコンテンツモジュールまたは行識別子。
tstrackers.<slot>.paramsReplace {TS} with the current timestamp in milliseconds before firing the request.
iabConsentStringtrackers.<slot>.paramsReplace {TCF} with the current TCF v2 consent string from the CMP before firing the request. If a value is already provided, use it as-is.
rurltrackers.<slot>.paramsURL-encoded redirect destination. Replace {RURL} when present.
productCodesellerIdtrackers.<slot>.paramsValues derived from product nodes.
qtytrackers.addToCart.paramsReplace {QTY} with the absolute quantity of the SKU in the cart at the time the request is fired. Do not use the quantity delta.
conValtrackers.addToCart.paramsReplace {CONVERSION_VALUE} with the total monetary value of the items (quantity × unit price, minus any applicable discounts).

マクロリファレンス

記号説明Found InSubstitute with
BASEURL (your prefix)Your site's base URL with protocol and proxy path - prepend to each trackingTemplates.client.* path.C2S trackinghttps://www.retailer.com/epsilon
{TS}Cache-busting timestamp (milliseconds)trackers.<slot>.params1737485823910
{RURL}URLエンコードされたリダイレクト先trackers.<slot>.params.rurlhttps%3A%2F%2Fwww.retailer.com%2Fprodukt%2F9221200653341
{TCF}IAB TCF v2 consent string placeholder. Present when regs.consent was omitted on the request.trackers.<slot>.params.iabConsentStringCurrent TC string from your CMP, e.g. via __tcfapi getTCDatatcString
{QTY}Absolute quantity of this SKU in the cart at fire time (not a delta; e.g. if the shopper had 1 and adds another, send 2).trackers.addToCart.params.qty2
{CONVERSION_VALUE}Absolute monetary value of those items: quantity × unit price, minus any applied discounts.trackers.addToCart.params.conVal49.99
{RURL_KID}Redirect signing key ID. Present in trackers.click.redirectParams when platform redirect signing is enabled.trackers.click.redirectParams.rurlKidSigning key id returned by the batch sign endpoint
{RURL_SIG}Redirect signing signature. Present in trackers.click.redirectParams when platform redirect signing is enabled.trackers.click.redirectParams.rurlSigEd25519 signature (base64url) returned by the batch sign endpoint

URLエンコーディングリファレンス

{RURL}をエンコードする際は、標準パーセントエンコードを使用します:

文字エンコード形式
:%3A
/%2F
?%3F
=%3D
&%26

redirectParams and Redirect Signing

When platform redirect signing is enabled, trackers.click may include a redirectParamsobject alongside params. The keys in 7are merged only into client.clickRedirect URLs — not into clickEventor any server URL.

Two cases:

Embedded link destinations (URL baked into params.rurl): the platform signs the redirect at serve time and emits literal rurlKidand rurlSigvalues in redirectParams. Append these as-is to the clickRedirect URL.

Retailer-controlled redirects (params.rurl is {RURL}): redirectParams contains the macros {RURL_KID} and {RURL_SIG}. Call the batch sign endpoint (redirectSigning.url from the response) to obtain the key id and signature for your destination URL, then substitute before appending.

The top-level redirectSigningobject, when present, provides the batch POST /ads/v3/redirect/sign endpoint URL and the maxUrlsbatch limit. Contact Epsilon to confirm whether redirect signing is enabled for your integration.

clickRedirect composition with redirectParams:

BASEURL + trackingTemplates.client.clickRedirect + "&" + queryString(trackers.click.params) + "&" + queryString(trackers.click.redirectParams)

スタイルガイド

Before enabling Brand Pages on your site, we need to capture your site's visual identity. Fill in the table below with your design values. Our team will use this to configure the brand page preview experience.

ロゴ

フィールド説明
logoUrlサイトロゴのURL(SVGまたはPNG)

フィールド説明
プライマリカラーメインブランドカラー(16進数)
背景色ページ背景色(16進数)
表面の色カード/セクション背景色(16進数)
プライマリテキストの色メインテキストの色(16進数)
セカンダリテキストの色抑えたテキストの色(16進数)
プライマリカラー上のテキストプライマリカラー背景に使用されるテキストの色(16進数)
枠線の色デフォルトの枠線の色(16進数)

タイポグラフィ

フィールド説明
見出しフォントファミリー見出しに使用するフォント(例:「Google Sans, sans-serif」)
ボディフォントファミリー本文に使用するフォント(例:「Roboto, sans-serif」)
基本フォントサイズデフォルトの本文フォントサイズ(例:16px)

ボタン

フィールド説明
プライマリボタンの背景プライマリボタンの背景色
プライマリボタンのテキストの色プライマリボタンのテキストの色
プライマリボタンの枠線の半径角の丸み(例:8px)
二番目のボタンスタイル二番目のボタンの外観(アウトライン、ゴーストなど)について説明してください。

モジュールコンテンツの要件

ブランドページはコンテンツモジュールで構成されています。各モジュールタイプについて、サイトに必要なコンテンツ制約をご記入ください。私たちのチームはこれらを使用して、テンプレートの検証ルールを設定します。

IMAGE Modules

要件説明
最小幅画像の最小幅(ピクセル)(例:1920)
最小高さ画像の最小高さ(ピクセル)(例:500)
最大ファイルサイズMaximum file size in MB (e.g. 10). Must be less than 4MB.
受け入れ可能な形式受け入れられる画像形式(例:jpg、png、gif、svg)
キャプション最大文字数画像キャプションの最大文字数(該当する場合)
altタグのオプション性Whether alt is required on images.

TEXT Modules

要件説明
バリアント「headline」、「tagline」、「body」、「lines」のいずれか。テキストが表示されるスタイルを決定します。
配置「left」、「center」、「right」のいずれか。テキストの水平方向の配置を決定します。
「Lines」構成Configuration for multi-line text configuration (when variant = lines). For each line of text, provide the following:
  • name of the text field
  • “required” or “allowed”?
  • whether this is meant to be a hyperlink to another URL
見出しの最大文字数見出しテキストの最大文字数
説明の最大文字数説明文の最大文字数
本文/フッターの最大文字数本文またはフッターテキストの最大文字数
CTAボタン必須、任意、不要か?
CTAテキストの最大文字数CTAボタンラベルの最大文字数

PRODUCT_GRID Modules

要件説明
最小商品数表示する商品の最小数(例:4)
Max製品表示する商品の最大数(例:12)
セクション名必須か、それとも任意か?
セクションタイトルの最大文字数セクションタイトルの最大文字数
セクションの説明必須か、それとも任意か?
セクション説明の最大文字数セクション説明の最大文字数
CTAボタン必須、任意、不要か?

IMAGE_GALLERY Modules

画像ギャラリーモジュールは、IMAGEモジュールと同じ構成プロパティを継承します。さらに、次のギャラリー固有のプロパティも承認します。

要件説明
最小画像ギャラリー画像の最小数(例:2)
最大画像ギャラリー画像の最大数(例:4)
セクション名セクションタイトルのテキストが必須か任意か。
セクションの説明セクションの説明テキストが必須か任意か。
alt タグのオプション性Whether alt is required on images.
行動喚起の任意性コールトゥアクションボタンやリンクが必須か、許可されているか、無効か。
追加テキスト行For each additional text that is to be associated with each image in the image gallery, provide the following:
  • name of the text field
  • “required” or “allowed”?
  • whether the text should function as a hyperlink to another URL

SPLIT_LAYOUT Modules

分割レイアウトモジュールを使用すると、2つのモジュールを横に並べて表示できます。現在、テキストモジュールと画像モジュールのみに対応しています。テキストモジュールと画像モジュールの個別の構成設定(上記のセクションで説明したとおり)に加えて、以下の追加プロパティが必要です。

要件説明
レイアウト比率列比(50:50、33:67、または67:33)

アイデンティティーとプライバシー

受け入れ可能な識別子

  • Session ID - anonymous session identifier (non-PII)
  • Customer ID - retailer customer identifier (non-PII, e.g. loyalty ID hash)
❗️

ハッシュ化されたメールアドレス、電話番号、または個人情報(PII)を、パラメータやURLに含めて渡さないでください。

プライバシー要件

小売業者は以下を行う必要があります。

GDPR /同意

オブジェクトregsPOST /ads/v3/brand-pagesで渡します。

  • regs.gdpr: 1 when the request is subject to GDPR (EU/EEA/UK treatment per your policy); 0otherwise.
  • regs.consent: When gdpr is 1, pass the current TCF v2 consent string from your CMP (the same value you would surface to other ad partners). Do not invent or hardcode a string—use what the user’s browser / app has consented to.
  • iabConsentString: This appears in every tracker slot's params, not in trackingTemplates. When regs.consent was provided, the value is the literal TC string and no further action is needed.
  • When regs.consent was omitted, the value is the {TCF}macro — substitute the current TCF v2 string from your CMP at fire time before sending any tracking request.