ttMETA Object Undefined on page reload | Community
Skip to main content
New Participant
October 13, 2023

ttMETA Object Undefined on page reload

  • October 13, 2023
  • 1 reply
  • 1399 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Gokul_Agiwal
New Participant
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

 

M_E_JAuthor
New Participant
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
New Participant
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.