Angular TealiumUtagService Error

Rookie Contributor

Hi everyone, I'm trying to install Tealium for Angular following this guide:

Install | Tealium for Angular |Tealium Developer Docs

But this file is giving an error in the line 26 https://raw.githubusercontent.com/Tealium/integration-angular/master/example/src/app/tealium/utag.se...

error.png

 

Do you know any alternative to replace that listener validation?

1 REPLY 1

Angular TealiumUtagService Error

Rookie Contributor

I made this edit to the code, and seems to be working properly

if ( d && d.addEventListener )