---
title: "PUT /auth/tracking-attribution"
method: PUT
path: "/auth/tracking-attribution"
tags: ["Auth"]
---

# PUT /auth/tracking-attribution

`PUT /auth/tracking-attribution`

## Request

- Base URL: `https://api.tikzet.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tikzet.com/auth/tracking-attribution`
- Auth: API key in header `Authorization`

## Request body

- TikzetApiUseCasesAuthCommandsUpsertUserTrackingAttributionUpsertUserTrackingAttributionCommand
  - `facebookClickId` string, nullable: The browser's fbc cookie. Recorded as a click, not on the attribution row.
  - `facebookBrowserId` string, nullable
  - `googleClickId` string, nullable: The current gclid. Recorded as a click, not on the attribution row.
  - `ga4ClientId` string, nullable
  - `ga4SessionId` string, nullable
  - `utmSource` string, nullable
  - `utmMedium` string, nullable
  - `utmCampaign` string, nullable
  - `utmTerm` string, nullable
  - `utmContent` string, nullable
  - `clicks` TikzetApiUseCasesAuthCommandsUpsertUserTrackingAttributionUpsertUserTrackingAttributionCommandClick[], nullable: The click IDs the browser holds, with the time each first landed when the browser knows it. Clients that send none still get GoogleClickId and FacebookClickId recorded, dated now.
    - `type` string, nullable: The URL parameter the ID arrived in: gclid, gbraid, wbraid or fbclid.
    - `id` string, nullable
    - `landedAt` string, date-time, nullable: When it first reached a Tikzet page; null when the browser did not record it.
    - `landingUrl` string, nullable
    - `utmSource` string, nullable
    - `utmMedium` string, nullable
    - `utmCampaign` string, nullable
    - `utmTerm` string, nullable
    - `utmContent` string, nullable
    - `ga4ClientId` string, nullable
    - `ga4SessionId` string, nullable
    - `fbp` string, nullable: The browser's _fbp cookie when the click was captured; Meta clicks only.

## Response `200`

OK

---

[API](https://skmtc.dev/tikzet/apis/tikzet-api.md) - [All operations](https://skmtc.dev/tikzet/apis/tikzet-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tikzet/apis/tikzet-api/revisions/e52faf8c803c?raw)
