ttMETA Object Undefined on page reload | Adobe Higher Education
Skip to main content
Level 2
October 13, 2023

ttMETA Object Undefined on page reload

We have a situation where when we reload a page, the ttMETA object is undefined. Why would this happen? If I check the network calls, I get the same thing whether undefined or not.

Any ideas why this would happen?

 

Thanks,

MJ

Ce sujet a été fermé aux réponses.

1 commentaire

Gokul_Agiwal
Community Advisor
Community Advisor
October 16, 2023

Hi @m_e_j - What's the first response when the page is getting loaded in browser, before reload? Are you able to see anything in 

window.ttMETA

 

Thanks, Gokul
M_E_JAuteur
Level 2
October 16, 2023

Hi,

I get the "ttMETA" object but it is empty. The weird thing is we have a rule that creates it and when debug mode is on, it shows the rule as firing every time, even when the object shows undefined in the console. 

 

The code at the top of the rule:

 

document.addEventListener(adobe.target.event.REQUEST_SUCCEEDED, function (e) { window.ttMETA= typeof(window.ttMETA)!="undefined" ? window.ttMETA : [];

 

Another bizarre thing is I can't reproduce the issue when injecting the dev. library. I can only reproduce in production. Here is the URL if you're interested?

 

https://wealth.bmo.com/wealth/onboard/onlineinvesting/#/set-expectation?lang=en

 

You may have to reload a few times to see issue? 

Thanks,

MJ

Gokul_Agiwal
Community Advisor
Community Advisor
October 17, 2023

Hi @m_e_j 

Thank you, I did check the page. QQ - Is any activity live on the page? I can't see anything to be loaded from Target.  

Thanks, Gokul