forked from prebid/Prebid.js
-
Notifications
You must be signed in to change notification settings - Fork 0
DEM-2959 LiveConnect tracker module implementation #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
bf0222d
DEM-2959 LiveConnect tracker module implementation without tests
dcb5fe9
DEM-2959 LiveConnect tracker module tests
9aae1d5
DEM-2959 Update expiration of duid
2daf5b4
DEM-2959 Add jsdoc
3b358c7
DEM-2959 Add md file
96c4477
DEM-2959 Rename cookie
a1f0bb7
DEM-2959 Update default expiration
9816690
DEM-2959 Remove optional duid name
390caea
DEM-2959 Rename fpi to user identifier
618d0ab
DEM-2959 Rename scraped to additional identifiers
fbe83c8
DEM-2959 Make url https by default. Rename config options in the md a…
5370c60
DEM-2959 Override and send legacy duid
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,70 @@ | ||
| <!-- | ||
| This page shows an example of usage LiveConnect Identity Inception module. | ||
| --> | ||
|
|
||
| <html lang="en"> | ||
| <head> | ||
| <script> | ||
| var pbjs = pbjs || {}; | ||
| pbjs.que = pbjs.que || []; | ||
| </script> | ||
|
|
||
| <script async src="../../build/dev/prebid.js"></script> | ||
|
|
||
| <script> | ||
|
|
||
| pbjs.que.push(function () { | ||
| pbjs.setConfig({ | ||
| debug: true, | ||
| consentManagement: { | ||
| cmpApi: 'static', | ||
| timeout: 7500, | ||
| allowAuctionWithoutConsent: false, | ||
| consentData: { | ||
| getConsentData: { | ||
| 'gdprApplies': true, | ||
| 'hasGlobalScope': false, | ||
| 'consentData': 'BOOgjO9OOgjO9APABAENAi-AAAAWd7_______9____7_9uz_Gv_r_ff_3nW0739P1A_r_Oz_rm_-zzV44_lpQQRCEA' | ||
| }, | ||
| getVendorConsents: { | ||
| 'metadata': 'BOOgjO9OOgjO9APABAENAi-AAAAWd7_______9____7_9uz_Gv_r_ff_3nW0739P1A_r_Oz_rm_-zzV44_lpQQRCEA', | ||
| 'gdprApplies': true, | ||
| 'hasGlobalScope': false, | ||
| 'isEU': true, | ||
| 'cookieVersion': 1, | ||
| 'created': '2018-05-29T07:45:48.522Z', | ||
| 'lastUpdated': '2018-05-29T07:45:48.522Z', | ||
| 'cmpId': 15, | ||
| 'cmpVersion': 1, | ||
| 'consentLanguage': 'EN', | ||
| 'vendorListVersion': 34, | ||
| 'maxVendorId': 359, | ||
| 'purposeConsents': { | ||
| '1': false | ||
| }, | ||
| 'vendorConsents': { | ||
| '1': true | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| liveConnect: { | ||
| userIdentifier: "pubcid", | ||
| additionalUserIdentifiers: ["_parrable_eid"], | ||
| storage: { | ||
| type: "cookie", | ||
| expires: 600 | ||
| } | ||
| } | ||
| }); | ||
| pbjs.liveConnect(); | ||
| pbjs.requestBids({}); | ||
| }); | ||
| </script> | ||
| <title>LiveConnect</title> | ||
| </head> | ||
|
|
||
| <body> | ||
| <h2>Prebid.js LiveConnect</h2> | ||
| </body> | ||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please explain this -- why should the ConsentManagement module be related to LiveConnect?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we want to setting our cookie if the consent is not given