How to pass User ID to Tealium so that it forwards it to Piwik

Bronze Contributor
Bronze Contributor

Hi,

Based on my understanding, utag.view({}) and utag.link({}) can be used for tracking on a Single Page App. Piwik offers a setUserId method through its JS client tracker (piwik.js) so that logged in user can be set. How can this be done through Tealium? 

Thanks!

1 REPLY 1

How to pass User ID to Tealium so that it forwards it to Piwik

Tealium Employee

Hi @juniper,

It doesn't look like the template nativity supports it.
You can, access the piwik object through a scoped extension and set the user Id there.

 window._paq.push([‘setUserId’, ‘USER_ID_HERE’]);

 

 Adrian

Ask me anything Tealium related or TypeScript/JavaScript, or NodeJS.
Please remember to mark solutions as accepted for future searchers.
Public