Highlighted

HOWTO suppress a utag.link currently developed on page code

Bronze Contributor
Bronze Contributor

Hi there,

 

There are tracking scroll events (50%, 75% and 100%) developed on page by utag.link. I want to delete them without change anything on code -IT developers can't do it right now-, so I'd like to delete them by a workaround made on Tealium, I've find out the following code I've add to an extension:

 

 

 

//event utag data variable is filled with these values (scroll50, scroll75, scroll100) when an user scrolls down 
if (b.event[0] == "scroll50" || b.event[0] == "scroll75" || b.event[0] == "scroll100") { window.utag_cfg_ovrd = window.utag_cfg_ovrd || {}; window.utag_cfg_ovrd.noload = true; }

 

I have tried that extension in the following scope cases:

- Scope: Adobe Analytics tag scope  --> doesn't work

- Scope: Pre-Loader scope --> doesn't work

- Scope: All tags & Execution type: 'Before load rules' --> doesn't work

 

It doesn't work, the extension does not execute at the right time and it doen't suppress the u.link developed on page code. 

 

Any idea?

Thank you in advance,

 

 

4 REPLIES 4
Highlighted

HOWTO suppress a utag.link currently developed on page code

Employee Emeritus

Hello @mutuadigmkt. Does this post help at all?

 

https://community.tealiumiq.com/t5/Tealium-iQ-Tag-Management/How-to-get-the-percentage-page-scrolled...

 

Thank you and I look forward to your reply. 

Remember to give me a kudo if you like my post! Accepting my post as a solution is even better! Also remember that search is your friend.
Highlighted

HOWTO suppress a utag.link currently developed on page code

Bronze Contributor
Bronze Contributor

Hi @kathleen_jo,

 

I am sending event to SiteCatalyst and I need suppress a utag.link in Tealium to does not send this events.

 

Thank you

Highlighted

HOWTO suppress a utag.link currently developed on page code

Tealium Employee

Hi @mutuadigmkt. You can code a 'return false' with those conditions and scope it to the tag you want to supress. 

 

try{
if ((typeof b.event !='undefined')&&( b.event[0] == "scroll50" || b.event[0] == "scroll75" || b.event[0] == "scroll100")) { return false; }
}catch(e){}

 

Highlighted

HOWTO suppress a utag.link currently developed on page code

Bronze Contributor
Bronze Contributor

 

Thanks @robert_sabec! It works successfully :)

 

Thank you very much!