Highlighted

Tealium utagxx.js file is getting loaded for every event when the scope of the adobe analytics.

maanya_sai
Bronze Contributor
Bronze Contributor maanya_sai

So the functionf(a,b) is getting binded and calling entire piece of code for every time an event is done like clicking of elements.the code is written in Javascript Extension.and condition is kept for
URL contains "somestring in the url of a commerce page like PLP or PDP"

example if i write something on page load console.log('load some random text') it is being called when the click is done though it is not written within the click event.

the function is getting binded and called for every time an event happening in the page so are there any steps or soultion so that the function loads only once and events like click dosen't get any unecessary triggering of events.

1 REPLY 1

Tealium utagxx.js file is getting loaded for every event when the scope of the adobe analytics.

Tealium Employee

Hi @maanya_sai 

Have you tried assigning a condition on the extension to check if "ut.event" EQUALS "view" so it limits the functionality to the initial page view event, and not on link events?