# Pinterest Ads macros: the full list for tracking

> Every Pinterest Ads tracking macro: click ID, campaign and placement tokens, an example tracking link, and how to send conversions back. Checked November 2026.

Source: https://hoplytic.com/blog/pinterest-ads-macros · Updated 2026-11-19 · Hoplytic Guides

Pinterest Ads fills in macros on every click, so your tracker knows which campaign, ad group and ad it came from. Here is the full list we use, where it comes from, and how to set it up.

**Short answer:** Pinterest Ads adds its own click ID (`epik`) to every ad click by itself. For campaign and ad details, add macros to the URL: `{campaignid}` (campaign ID), `{adgroupid}` (ad group ID).

## Pinterest Ads macros

| Parameter on your link | Pinterest Ads macro | Filled with |
| --- | --- | --- |
| `campaign` | `{campaignid}` | Campaign ID |
| `adgroup` | `{adgroupid}` | Ad group ID |

The parameter names on the left are your choice; the macros on the right must be copied exactly, brackets included.

## The automatic click ID

Pinterest Ads appends `epik` to the landing URL on its own. You don't add a macro for it: your tracker reads it from the URL and stores it with the click. Keep it intact: link shorteners or redirects that drop query strings will lose it.

## Good to know

Set the parameters on the ad, not on the Pin.

## Example tracking link

`https://go.yoursite.com/vpn-offer?campaign={campaignid}&adgroup={adgroupid}`

Pinterest Ads replaces each macro when someone clicks. Your tracker stores the values, creates its own click ID, and passes it to the affiliate network's sub-ID so the sale can be matched back to this exact ad.

## Sending conversions back to Pinterest Ads

Pinterest Ads has no click ID macro, so it can't receive sales back per click; judge placements on your tracker's reports instead.

## Where this list comes from

Checked against Pinterest Ads' own documentation (help.pinterest.com "third-party and dynamic tracking") in November 2026. Platforms rename macros now and then: if a value arrives empty or literal, check Pinterest Ads' current list.

## On Hoplytic

Pick **Pinterest Ads** in the link maker and these macros are added for you, and `epik` is stored automatically. Reports can then group by any of them, for example campaign → ad → country, with cost, profit and ROAS. See [every ad platform's macros](https://hoplytic.com/blog/ad-platform-macros) or the guide to [sub-ID tracking](https://hoplytic.com/blog/sub-id-tracking).

## Questions people ask

### What is the Pinterest Ads click ID?

Pinterest Ads adds epik to the landing URL by itself. A tracker stores it with the click so the sale can be reported back to Pinterest Ads later.

### Why does my tracker show {campaignid} literally instead of a value?

The ad platform didn't fill it in. Usually the macro is misspelled, uses the wrong brackets, or the ad was created before the parameter was added. Copy the macro exactly as Pinterest Ads writes it and check a live click.
