Skip to content

Commit 40fd39a

Browse files
update links for js sdk
1 parent 1427723 commit 40fd39a

6 files changed

+40
-40
lines changed

docs/guides/integration-google-ss.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -156,21 +156,21 @@ For details, see [Client-Side Integration Guide for JavaScript](integration-java
156156

157157
The following sample implementations are available to illustrate how to integrate with the Google Ad Manager secure signals feature:
158158

159-
- Server-side integration example using the UID2 JavaScript SDK with Google secure signals:
160-
- [Sample implementation](https://secure-signals-server-side-integ.uidapi.com/)
161-
- [Code repository](https://github.com/IABTechLab/uid2-web-integrations/tree/main/examples/google-secure-signals-integration/server_side)
162-
- Client-server integration example using the UID2 JavaScript SDK with Google secure signals:
163-
- [Sample implementation](https://secure-signals-client-server-integ.uidapi.com/)
164-
- [Code repository](https://github.com/IABTechLab/uid2-web-integrations/tree/main/examples/google-secure-signals-integration/with_sdk_v3)
165-
- Client-side integration example using the UID2 JavaScript SDK with Google secure signals:
166-
- [Sample implementation](https://secure-signals-client-side-integ.uidapi.com/)
167-
- [Code repository](https://github.com/IABTechLab/uid2-web-integrations/tree/main/examples/google-secure-signals-integration/client_side)
168-
- Client-side integration example using React, the UID2 JavaScript SDK, and Google secure signals:
169-
- [Sample implementation](https://secure-signals-react-integ.uidapi.com)
170-
- [Code repository](https://github.com/IABTechLab/uid2-web-integrations/tree/main/examples/google-secure-signals-integration/react_client_side)
159+
- Client-side integration example using the UID2 JavaScript SDK with Google Secure Signals:
160+
- Site: [Client-Side UID2 Integration with Google Secure Signals](https://secure-signals-client-side.samples.uidapi.com/)
161+
- Code: [uid2-examples/web-integrations/google-secure-signals/client-side](https://github.com/IABTechLab/uid2-examples/tree/main/web-integrations/google-secure-signals/client-side)
162+
- Client-server integration example using the UID2 JavaScript SDK with Google Secure Signals:
163+
- Site: [Client-Server UID2 SDK Integration Example with Google Secure Signals](https://secure-signals-client-server.samples.uidapi.com/)
164+
- Code: [uid2-examples/web-integrations/google-secure-signals/client-server](https://github.com/IABTechLab/uid2-examples/tree/main/web-integrations/google-secure-signals/client-server)
165+
- Server-side integration example using the UID2 JavaScript SDK with Google Secure Signals:
166+
- Site: [Server-Side UID2 Integration with Google Secure Signals](https://secure-signals-server-side.samples.uidapi.com/)
167+
- Code: [uid2-examples/web-integrations/google-secure-signals/server-side](https://github.com/IABTechLab/uid2-examples/tree/main/web-integrations/google-secure-signals/server-side)
168+
- Client-side integration example using React, the UID2 JavaScript SDK, and Google Secure Signals:
169+
- Site: [React Client-Side UID2 Integration with Google Secure Signals](https://secure-signals-react.samples.uidapi.com/)
170+
- Code: [uid2-examples/web-integrations/google-secure-signals/react-client-side](https://github.com/IABTechLab/uid2-examples/tree/main/web-integrations/google-secure-signals/react-client-side)
171171
- Client-side integration example using Prebid.js with Google Secure Signals:
172-
- [Sample implementation](https://prebid-secure-signals.samples.uidapi.com/)
173-
- [Code repository](https://github.com/IABTechLab/uid2-examples/tree/main/web-integrations/prebid-secure-signals)
172+
- Site: [Client-Side UID2 Integration with Prebid.js (with Google Secure Signals)](https://prebid-secure-signals.samples.uidapi.com/)
173+
- Code: [uid2-examples/web-integrations/prebid-secure-signals](https://github.com/IABTechLab/uid2-examples/tree/main/web-integrations/prebid-secure-signals)
174174

175175
Each sample implementation has its own instructions.
176176

docs/guides/integration-javascript-client-server.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ If you prefer to integrate with UID2 via **only** client-side JavaScript changes
2222

2323
For technical details about the SDK, see [SDK for JavaScript Reference Guide](../sdks/sdk-ref-javascript.md).
2424

25-
## Sample Implementation
26-
27-
For a sample implementation, see the UID2 SDK Integration example:
28-
- [Client-Server UID2 SDK Integration Example](https://example-jssdk-integ.uidapi.com/)
29-
- [Code Repository with Readme](https://github.com/IABTechLab/uid2-web-integrations/tree/main/examples/js-sdk)
30-
3125
## Introduction
3226

3327
This guide outlines the basic steps that you need to consider if you are building an integration without using an SDK. For example, you need to decide how to implement user authentication and data capture, how to manage UID2 identity information and use it for targeted advertising, and how to refresh tokens, deal with missing identities, and handle user opt-outs.
@@ -36,7 +30,7 @@ For a workflow diagram, see [Integration Steps](#integration-steps). See also [F
3630

3731
For details about the UID2 opt-out workflow and how users can opt out, see [User Opt-Out](../getting-started/gs-opt-out.md).
3832

39-
To facilitate the process of establishing client identity using UID2 and retrieving advertising tokens, the web integration steps provided in this guide rely on the SDK for JavaScript. Here's an [example application](https://example-jssdk-integ.uidapi.com/) that illustrates the integration steps described in this guide and the usage of the SDK (currently only for email addresses). For the application documentation, see [UID2 SDK Integration Example](https://github.com/IABTechLab/uid2-web-integrations/tree/main/examples/js-sdk).
33+
To facilitate the process of establishing client identity using UID2 and retrieving advertising tokens, the web integration steps provided in this guide rely on the SDK for JavaScript. For a sample implementation, see [Sample Implementation](#sample-implementation).
4034

4135
:::tip
4236
The first-party cookie and local storage implementation details might change in the future. To avoid potential issues, be sure to rely on the functionality documented in the [SDK for JavaScript API Reference](../sdks/sdk-ref-javascript.md#api-reference) for your identity management.
@@ -178,3 +172,10 @@ The client lifecycle is complete when the user decides to log out from the publi
178172
## FAQs
179173

180174
For a list of frequently asked questions for the publisher audience, see [FAQs for Publishers](../getting-started/gs-faqs.md#faqs-for-publishers).
175+
176+
## Sample Implementation
177+
178+
A sample implementation is available for client-server integration using the UID2 SDK for JavaScript:
179+
180+
- Site: [Client-Server UID2 Integration Example using JavaScript SDK](https://js-client-server.samples.uidapi.com/)
181+
- Code: [uid2-examples/web-integrations/javascript-sdk/client-server](https://github.com/IABTechLab/uid2-examples/tree/main/web-integrations/javascript-sdk/client-server)

docs/guides/integration-javascript-client-side.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,6 @@ If you want to use a debug build of the SDK, use the following URL instead:
5757

5858
- [https://cdn.integ.uidapi.com/uid2-sdk-4.0.1.js](https://cdn.integ.uidapi.com/uid2-sdk-4.0.1.js)
5959

60-
## Sample Implementation
61-
62-
For a sample implementation, see this example:
63-
- Code: [Example Client-Side Integration for JavaScript](https://github.com/IABTechLab/uid2-web-integrations/tree/main/examples/cstg)
64-
- Running site: [Client-Side Integration Example, UID2 JavaScript SDK](https://cstg-integ.uidapi.com/)
65-
66-
<!-- (Source code for running site: https://github.com/IABTechLab/uid2-web-integrations) -->
67-
6860
## Integrating with Single Sign-On (SSO)
6961

7062
<SnptIntegratingWithSSO />
@@ -407,3 +399,10 @@ function bytesToBase64(bytes) {
407399
return btoa(binString);
408400
}
409401
```
402+
403+
## Sample Implementation
404+
405+
A sample implementation is available for client-side integration using the UID2 SDK for JavaScript:
406+
407+
- Site: [Client-Side UID2 Integration Example using JavaScript SDK](https://js-client-side.samples.uidapi.com/)
408+
- Code: [uid2-examples/web-integrations/javascript-sdk/client-side](https://github.com/IABTechLab/uid2-examples/tree/main/web-integrations/javascript-sdk/client-side)

docs/guides/integration-prebid-client-server.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,5 +396,5 @@ if you're using Prebid.js, and you're planning to pass UID2 tokens to Google usi
396396
The following sample implementation is available to illustrate how to integrate UID2 with Prebid.js using client-server integration:
397397

398398
- Client-server integration example using Prebid.js:
399-
- [Sample implementation](https://prebid-client-server.samples.uidapi.com/)
400-
- [Code repository](https://github.com/IABTechLab/uid2-examples/tree/main/web-integrations/prebid-integrations/client-server)
399+
- Site: [Client-Server UID2 Integration with Prebid.js](https://prebid-client-server.samples.uidapi.com/)
400+
- Code: [uid2-examples/web-integrations/prebid-integrations/client-server](https://github.com/IABTechLab/uid2-examples/tree/main/web-integrations/prebid-integrations/client-server)

docs/guides/integration-prebid-client-side.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -252,13 +252,13 @@ A sample implementation for Prebid.js with Secure Signals is also available. For
252252
The following sample implementations are available to illustrate how to integrate UID2 with Prebid.js on the client side:
253253

254254
- Client-side integration example using Prebid.js:
255-
- [Sample implementation](https://prebid-client.samples.uidapi.com/)
256-
- [Code repository](https://github.com/IABTechLab/uid2-examples/tree/main/web-integrations/prebid-integrations/client-side)
255+
- Site: [Client-Side UID2 Integration with Prebid.js](https://prebid-client.samples.uidapi.com/)
256+
- Code: [uid2-examples/web-integrations/prebid-integrations/client-side](https://github.com/IABTechLab/uid2-examples/tree/main/web-integrations/prebid-integrations/client-side)
257257
- Deferred client-side integration example using Prebid.js:
258-
- [Sample implementation](https://prebid-deferred.samples.uidapi.com/)
259-
- [Code repository](https://github.com/IABTechLab/uid2-examples/tree/main/web-integrations/prebid-integrations/client-side-deferred)
258+
- Site: [Deferred UID2 Integration with Prebid.js](https://prebid-deferred.samples.uidapi.com/)
259+
- Code: [uid2-examples/web-integrations/prebid-integrations/client-side-deferred](https://github.com/IABTechLab/uid2-examples/tree/main/web-integrations/prebid-integrations/client-side-deferred)
260260
- Client-side integration example using Prebid.js with Google Secure Signals:
261-
- [Sample implementation](https://prebid-secure-signals.samples.uidapi.com/)
262-
- [Code repository](https://github.com/IABTechLab/uid2-examples/tree/main/web-integrations/prebid-secure-signals)
261+
- Site: [Client-Side UID2 Integration with Prebid.js (with Google Secure Signals)](https://prebid-secure-signals.samples.uidapi.com/)
262+
- Code: [uid2-examples/web-integrations/prebid-secure-signals](https://github.com/IABTechLab/uid2-examples/tree/main/web-integrations/prebid-secure-signals)
263263

264264
Each sample implementation has its own instructions.

docs/guides/integration-publisher-server-side.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@ If the user logs out, do not use the UID2 token.
131131

132132
## Sample Implementation
133133

134-
A sample implementation is available for server-side integration. See:
134+
A sample implementation is available for server-side integration:
135135

136-
- [Server-Only UID2 Integration Example](https://example-srvonly-integ.uidapi.com/login)
137-
- [Server-Only UID2 Integration Example (readme)](https://github.com/IABTechLab/uid2-examples/blob/main/publisher/server_only/README.md)
136+
- Site: [Server-Side UID2 Integration Example](https://server-side.samples.uidapi.com/)
137+
- Code: [uid2-examples/web-integrations/server-side](https://github.com/IABTechLab/uid2-examples/tree/main/web-integrations/server-side)
138138

139139
## FAQs
140140

0 commit comments

Comments
 (0)