--- title: "Tealium Implementation" slug: "tealium-implementation" updated: 2024-09-17T22:08:58Z published: 2024-09-17T22:08:58Z canonical: "help.yahooinc.com/tealium-implementation" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.yahooinc.com/llms.txt > Use this file to discover all available pages before exploring further. # Tealium Implementation ## Abstract Describes how to perform hashing and pass the email to DSP via Dot using Tealium iQ. ## Steps If you’re using Tealium, follow these steps to perform the hashing and pass the email to DSP via Dot. > [!WARNING] > Important > > Before you begin, ensure that you’re using the latest Yahoo Dot template in Tealium. Refer to [Yahoo Dot template for Tealium](/identity/docs/dot-template-in-tealium) for details. 1. Add a Data Layer Variable (also known as a UDO variable) and set the Source to: `customer_email_hashed`. 2. Add a JavaScript Code extension and paste in the following 3 lines of JavaScript code: ```javascript if (b.customer_email && !b.customer_email_hashed) {    b.customer_email_hashed = b["customer_email"].toLowerCase().trim(); } ``` > [!NOTE] > Note > > If you use a different Data Layer Variable for `customer email` addresses than `customer email`, change customer_email in the code above to match your Data Layer Variable name. Leave `customer_email_hashed` as is. 3. Set the title of this JavaScript Code extension to `Customer Email Lowercase and Trim Whitespace`. 4. Add the Crypto extension, making sure it appears below `Customer Email Lowercase and Trim Whitespace` in your list of extensions. 5. Set `Hash Method` to: sha256. 6. Click **Add Variable** and select the `customer_email_hashed` Data Layer Variable you created in Step 1. 7. Click the **Approve for publish** button in the `Customer Email Lowercase and Trim Whitespace` JavaScript code extension. 8. Save and publish to Dev or QA for testing and validation.