- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
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
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:
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.
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
Copyright All Rights Reserved © 2008-2023