How to use Privacy extension for GDPR?

jkunz

04-06-2018

I'v managed to get adobePrivacy.js working outside of DTM/Launch, just using straight-up javascript, but I haven't worked out how to do it using the Launch Privacy extension. Specifically, I'm not sure what I need to do with Data Elements to Retrieve/Remove Identities. The interface is less-than-clear:
1501518_pastedImage_0.png
And the only documentation I could find on it was even less helpful:
https://docs.adobelaunch.com/extension-reference/adobe-privacy-extension

I've done more advanced, code-based things in DTM/Launch just about as much as anyone, but I've never use a Data Element in conjunction with a function, much less a globally-accessible function.

Perhaps it's just me, but I could really use an example of what a data element would need to look like

Accepted Solutions (1)

Accepted Solutions (1)

StewSchilling

MVP

05-06-2018

Jen,

I'm with you regarding the level of documentation on this extension.  It could use a few concrete examples in order to guide people through the process of setup.  That said, I did manage to get it going (details below):

1) For testing, I created a data element (Core extension / custom code) like so:

Screen Shot 2018-06-05 at 8.46.12 AM.png

2) I named the data element, "privacyFunc"

3) I created a rule that runs on Library Load (page top), with an action from the Adobe Privacy extension.  I selected "privacyFunc" as my data element. (I think that this rule would be more appropriately triggered by an end user's action relative to a privacy related DOM element).

Screen Shot 2018-06-05 at 8.50.59 AM.png

4) I updated my dev library, published, and tested.

I saw a few interesting things in the console:

     A) These are new.  They look like the AA collection server. I did not enter my tracking server or visitorNameSpace, so it seems to be making some guesses.

Screen Shot 2018-06-05 at 8.53.28 AM.png

     B) This is the output of the function from the data element:

Screen Shot 2018-06-05 at 8.58.02 AM.png

=======================

Looking a bit deeper, I see different messaging on the action to Remove Identities

Screen Shot 2018-06-05 at 9.01.15 AM.png

I think that the purpose of the function is to allow you to provide feedback to the user of what identities exist, which have been removed, and which have not been removed.  That's my guess.

Anyway, I hope that this speeds you along.  I'd be interested in knowing how your findings once you get it all hooked up.

-Stew