Skip to content

Commit 734f63d

Browse files
committed
Merge branch 'main' into gwh-APIDOCS-2801-sample-apps-standardize-uid2
2 parents 221123a + 4fd0d51 commit 734f63d

File tree

5 files changed

+94
-8
lines changed

5 files changed

+94
-8
lines changed

docs/getting-started/gs-normalization-encoding.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This page provides information about normalizing and encoding <Link href="../ref
1313

1414
## Introduction
1515

16-
When you're taking user information such as an email address, and following the steps to create a raw UID2 and/or a UID2 advertising token, it's very important that you follow all the required steps. Whether you normalize the information or not, whether you hash it or not, follow the steps exactly. By doing so, you can ensure that the UID2 value you create can be securely and anonymously matched up with other instances of online behavior by the same user.
16+
When you're taking user information such as an email address, and following the steps to create a raw UID2 and/or a UID2 advertising token, it's very important that you follow all the required steps. Whether you normalize emails or not, and whether you hash emails and phone numbers or not, follow the steps exactly. By doing so, you can ensure that the UID2 value you create can be securely and anonymously matched up with other instances of online behavior by the same user.
1717

1818
:::important
1919
- Raw UID2s, and their associated UID2 tokens, are case sensitive. When working with UID2, it's important to pass all IDs and tokens without changing the case. Mismatched IDs can cause ID parsing or token decryption errors.
@@ -71,10 +71,8 @@ For additional examples, see [Normalization Examples for Email](#normalization-e
7171

7272
## Phone Number Normalization
7373

74-
If you send unhashed phone numbers to the UID2 Operator Service, the service normalizes the phone numbers and then hashes them. If you want to hash the phone numbers yourself before sending them, you must normalize them before you hash them.
75-
7674
:::important
77-
Normalization before hashing ensures that the generated UID2 value will always be the same, so that the data can be matched. If you do not normalize before hashing, this might result in a different UID2, reducing the effectiveness of targeted advertising.
75+
You **must** normalize phone numbers before sending them in a request to the UID2 Operator Service, regardless of whether you apply hashing and encoding.
7876
:::
7977

8078
Here's what you need to know about phone number normalization rules:
@@ -143,7 +141,7 @@ The tool does the following:
143141
- Hashed value
144142
- Base64-encoded value
145143

146-
:::note
144+
:::important
147145
For phone numbers, you must first normalize the data.
148146
:::
149147

docs/ref-info/updates-doc.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ import Link from '@docusaurus/Link';
1111

1212
Check out the latest updates to our UID2 documentation resources.
1313

14+
### New: Zoom-In Tool for Images
15+
16+
December 15, 2024
17+
18+
The UID2 docs site now includes a zoom-in tool for images.
19+
20+
Just hover over the image and the tool appears as a magnifying glass... click to view a magnified version of the image.
21+
22+
<!-- APIDOCS-2237 for both -->
23+
1424
### New: UID2 Portal Audit Trail Page
1525

1626
November 15, 2024
@@ -333,11 +343,11 @@ These documents were further updated in later revisions. Updated links are as fo
333343
- [UID2 Client-Server Integration Guide for Prebid.js](../guides/integration-prebid-client-server.md)
334344
:::
335345

336-
### New: Opt-Out
346+
### New: Opt-Out Page
337347

338348
October 31, 2023
339349

340-
This new "getting started" topic provides an overview of user opt-out.
350+
This new reference topic provides an overview of user opt-out.
341351

342352
For details, see [User Opt-Out](../getting-started/gs-opt-out.md).
343353

docusaurus.config.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ const config = {
9191
containerId: "GTM-K3NQMDX",
9292
},
9393
],
94+
require.resolve("docusaurus-plugin-image-zoom")
9495
],
9596

9697
presets: [
@@ -308,7 +309,17 @@ const config = {
308309
// apiKey: "58f35480017be37aca9f762323a0b4d1", //staging
309310
// indexName: "UID2", //staging
310311
},
312+
zoom: {
313+
selector: '.markdown :not(em) > img',
314+
config: {
315+
// options you can specify via https://github.com/francoischalifour/medium-zoom#usage
316+
background: {
317+
light: 'rgb(255, 255, 255)',
318+
dark: 'rgb(50, 50, 50)'
319+
}
320+
}
321+
}
311322
}),
312-
};
323+
};
313324

314325
export default config;

package-lock.json

Lines changed: 66 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"@mdx-js/react": "^3.0.1",
2727
"@types/lodash": "^4.17.10",
2828
"clsx": "^2.1.1",
29+
"docusaurus-plugin-image-zoom": "^2.0.0",
2930
"docusaurus-plugin-sass": "^0.2.5",
3031
"lottie-react": "^2.4.0",
3132
"prism-react-renderer": "^2.4.0",

0 commit comments

Comments
 (0)