Pinterest Ads URL Macro Glossary

A list of all dynamic URL macros & parameters supported by Pinterest Ads.

On this page you'll not only find an overview of all macros available for Pinterest's advertising platform, but you'll also find an explanation as to what purpose they serve. If you're unfamiliar with the topic of URL macros, this guide is a good place to start your journey to successful ad tracking via UTM parameters.

Aa

{adgroupid}

Pulls the ID of the ad group, which serves as the ad group's unique identifier.

Supported purpose(s):

{adgroupname}, {ad_group_name}

Those macros capture the respective ad group's name. Pinterest Ads supports two different macros for the name of the ad group.

Supported purpose(s):

{adid}

Captures the Pin promotion ID, which serves as its unique identifier.

Supported purpose(s):

Cc

{campaignid}

Pulls the ID of the campaign, which serves as its unique identifier.

Supported purpose(s):

{campaignname}, {campaign_name}

Those macros capture the respective campaign's name. Pinterest Ads supports two different macros for the name of the campaign.

Supported purpose(s):

{creative_id}

Captures the Pin promotion ID, which serves as its unique identifier.

Supported purpose(s):

Dd

{device}

Captures the device of the Pinterest user who clicked on the ad. Pinterest Ads abbreviates the various devices as follows:

  • Computer: c
  • Mobile: m
  • Tablet: t
Supported purpose(s):

Kk

{keyword}

Captures the keyword string that matched the standard ad. The keyword string is percent-encoded, sometimes also referred to as URL encoded. This means that certain characters that are not accepted for usage in URLs. A space will for example replaced with %20. So, if the keyword is cell phone case the captures keyword string will be cell%20phone%20case.

Supported purpose(s):

{keyword_id}

Captures the ID of the keyword that matched the standard ad.

Supported purpose(s):

Ll

{lpurl}

Pulls the URL from either the ad_link or the link field. It's important to note that the URL will be pulled differently depending on the placement of the macro. If the macro is placed in or after a tracking URL, certain characters (e.g., slash, question mark, colon, equal sign, quotation mark, hash, ampersand, space) will automatically be percent-encoded. For example, a colon will be replaced with %3A, while a slash will be replaced with %2F. So, https:// would be encoded as https%3A%2F%2F. If, however, the macro is placed before the tracking URL, no percent-encoding will take place, meaning the URL will be pulled as is.

Supported purpose(s):

Oo

{organic_url}

Captures the entirety of the URL given at Pin creation. This macro applies to manually created collection ads that don't use the catalog sales objective.

Supported purpose(s):

Pp

{product_id}

Pulls the ID of the product, which serves as its unique identifier.

Supported purpose(s):

{product_name}

This macro captures the name of the product in question.

Supported purpose(s):

{product_partition_id}

Captures the ID of the product group, which serves as its unique identifier.

Supported purpose(s):

{promoted_product_group_id}

This macro pulls the ID of the product group within the Ads Manager, which serves as its unique identifier.

Supported purpose(s):

Uu

{unescapedlpurl}

Unlike the {lpurl} macro, the {unescapedlpurl} macro pulls the URL as is. This means that the placement of the macro has no bearing on the pulled URL and no percent-encoding of characters takes place.

Supported purpose(s):

Use our free UTM paramater generator for Pinterest Ads tracking!

Includes the supported URL macros - often also referred to as dynamic URL parameters - of Pinterest Ads.

UTM Generator

Build taylored tracking URLs for your Pinterest Ads. Includes all supported dynamic URL macros.


The companies responsible for developing the macros listed across this website may change their functionality at any time. We have no control over this and cannot guarantee the accuracy of any information regarding macros across this website.