BlueKai email hash howto

Bronze Contributor
Bronze Contributor

Hi,

 

Can you please help me how to add the email address hash function of BlueKai:

bk_addEmailHash

 

Do I have to update the template or I can flag one of my variables with the "email" flag or I have to do it in an extension?

 

Thanks,
Csaba

2 REPLIES 2

BlueKai email hash howto

Community Manager
Community Manager

Hi @csaba_ozsvath,

Yes, the utility function is defined in the BlueKai tag template. You can use it in an extension to add an email hash parameter to your BlueKai tracking. For example, if you have a data layer variable named customer_email, you would put this line into a JavaScript Code extension (scoped to BlueKai):

window.bk_addEmailHash(b.customer_email);

Here's what the extension might look like:

bluekai-jscode-email-hash-extension.png

 

You can also create hash values yourself using the Crypto Extension. This might work for BlueKai if you know the name of the phint parameter to use in the data mapping for the hashed email.

Remember to "Accept as Solution" when your question has been answered and to give kudos to helpful replies.

BlueKai email hash howto

Bronze Contributor
Bronze Contributor

Hi @TealiumJustin,

 

Thanks for your answer. In the meantime I've sorted this by adding the hash function call to the template of my tag and this seems to be a working solution.

 

Thanks,
Csaba

Public