diff --git a/.vscode/launch.json b/.vscode/launch.json index 897bd4ff..36fed78d 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -8,7 +8,7 @@ "name": "Launch CSTG (Chrome)", "type": "chrome", "request": "launch", - "url": "http://localhost:9090", + "url": "http://localhost:9190", "webRoot": "${workspaceRoot}/", "sourceMaps": true, "preLaunchTask": "Start CSTG", @@ -30,7 +30,7 @@ "name": "Launch Secure Signals (Chrome)", "type": "chrome", "request": "launch", - "url": "http://localhost:9090", + "url": "http://localhost:9190", "webRoot": "${workspaceRoot}/", "sourceMaps": true, "preLaunchTask": "Start Secure Signals", diff --git a/.vscode/settings.json b/.vscode/settings.json index f74b7dee..7b36f739 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,7 @@ { "cSpell.words": [ "cstg", + "EUID", "googletag", "initialised", "initialising", diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 6fe2c907..91a11783 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -61,7 +61,7 @@ "containerName": "uid2-cstg-example", "ports": [ { - "hostPort": 9090, + "hostPort": 9190, "containerPort": 80 } ], @@ -75,8 +75,9 @@ "env": { "UID2_BASE_URL": "http://localhost:8080", "UID2_JS_SDK_URL": "http://localhost:9091/uid2-sdk.js", - "SERVER_PUBLIC_KEY": "UID2-X-I-MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEtXJdTSZAYHvoRDWiehMHoWF1BNPuqLs5w2ZHiAZ1IJc7O4/z0ojPTB0V+KYX/wxQK0hxx6kxCvHj335eI/ZQsQ==", - "SUBSCRIPTION_ID": "4WvryDGbR5" + "EUID_JS_SDK_URL": "http://localhost:9091/euid-sdk.js", + "SERVER_PUBLIC_KEY": "UID2-X-L-MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWyCP9O/6ppffj8f5PUWsEhAoMNdTBnpnkiOPZBkVnLkxOyTjPsKzf5J3ApPHzutAGNGgKAzFc6TuCfo+BWsZtQ==", + "SUBSCRIPTION_ID": "LBk2xJsgrS" }, "remove": true } @@ -118,7 +119,7 @@ "containerName": "uid2-secure-signals-example", "ports": [ { - "hostPort": 9090, + "hostPort": 9190, "containerPort": 3000 } ], @@ -129,7 +130,9 @@ "permissions": "ro" } ], - "envFiles": ["${workspaceFolder}/examples/google-secure-signals-integration/with_sdk_v3/.env"], + "envFiles": [ + "${workspaceFolder}/examples/google-secure-signals-integration/with_sdk_v3/.env" + ], "remove": true } }, diff --git a/examples/cstg/html/index.html b/examples/cstg/html/index.html index a5d364c9..dc0b9a53 100644 --- a/examples/cstg/html/index.html +++ b/examples/cstg/html/index.html @@ -7,53 +7,96 @@ + -

Client-Side Integration Example, UID2 JavaScript SDK

+

Client-Side Integration Example, UID2 & EUID JavaScript SDKs

This example demonstrates how a content publisher can follow the Client-Side Integration Example, UID2 JavaScript SDK to implement UID2 integration and generate UID2 tokens.

- - - - - - - - - - - - - - - - - - - - - -
Ready for Targeted Advertising:
UID2 Advertising Token:
Is UID2 Login Required?
UID2 Identity Updated Counter:
UID2 Identity Callback State:
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
UID2 Enabled
Ready for Targeted Advertising:
UID2 Advertising Token:
Is UID2 Login Required?
UID2 Identity Updated Counter:
UID2 Identity Callback State:
+ + + + + + + + + + + + + + + + + + + + + + + + +
EUID Enabled
Ready for Targeted Advertising:
UID2 Advertising Token:
Is UID2 Login Required?
UID2 Identity Updated Counter:
UID2 Identity Callback State:
+