Skip to content

Commit 12028df

Browse files
authored
Merge pull request #461 from readthedocs/davidfischer/advertiser-guide-link-subs
Details on link substitutions
2 parents 7cd2e0b + 135d3da commit 12028df

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

content/pages/learning-hub/advertiser-guide.md

+17-10
Original file line numberDiff line numberDiff line change
@@ -106,21 +106,28 @@ you're seeing from us against other networks you're using.
106106
We are confident in our performance and know the results will speak for themselves.
107107

108108
We also have a few variables you can use in your landing page links
109-
in order to capture data about the publisher where the ad was clicked or the specific advertisement:
110-
111-
* `${publisher_slug}` is used to insert the slug of the publisher
112-
* `${publisher_name}` is used to insert the name of the publisher
113-
* `${advertisement_slug}` is used to insert the name of the ad that was served
114-
* `${advertisement_name}` is used to insert the name of the ad that was served
115-
116-
The `slug` variable is useful because it doesn't change when the name of the publisher or ad changes.
117-
It's a lowercase representation of the name with spaces replaced by hyphens, generated when the publisher or ad is created.
109+
in order to capture data about the publisher where the ad was clicked or the specific advertisement
110+
or very-broad, non-identifying information about the visitor:
111+
112+
* `${publisher}` or `${publisher_slug}` is used to insert the slug of the publisher (all lowercase, no spaces)
113+
* `${publisher_name}` is used to insert the name of the publisher (may contain spaces)
114+
* `${advertisement}` or `${advertisement_slug}` is used to insert the slug of the specific ad that was served (all lowercase, no spaces)
115+
* `${advertisement_name}` is used to insert the name of the ad that was served (may contain spaces)
116+
* `${flight}` or `${flight_slug}` is used to insert the slug of the flight of the ad served (all lowercase, no spaces)
117+
* `${flight_name}` is used to insert the name of the flight of the ad served (may contain spaces)
118+
* `${country}` inserts the visitor's country
119+
(2 characters, [ISO 3166 Alpha 2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format or `None` when unknown).
120+
Examples: "US", "CA", or "GB".
121+
The country can be unknown even when an ad flight is targeted to a region or list of countries.
122+
Only impressions served within the targeted country list are billed to advertisers.
123+
* `${continent}` inserts the visitor's continent (2 characters or `None` when unknown).
124+
Examples: "NA" for North America, "EU" for Europe, "OC" for Oceania.
118125

119126
For example, using the landing page link below would let you measure EthicalAds as a whole
120127
as well as different publishers and specific ad creatives:
121128

122129
```pytb
123-
https://example.com?utm_medium=cpc&utm_source=ethicalads&utm_campaign=${advertisement_name}&utm_content=${publisher_slug}
130+
https://example.com?utm_medium=cpc&utm_source=ethicalads&utm_campaign=${flight}&utm_content=${advertisement}&country=${country}
124131
```
125132

126133
Our advertiser platform will measure all performance metrics before a user clicks-through

0 commit comments

Comments
 (0)