Mbox.js to At.js upgrade causing < Uncaught ReferenceError: CQ_Analytics is not defined > console error

Avatar

Avatar

ganeshboggavara

Avatar

ganeshboggavara

ganeshboggavara

28-07-2020

Hi @ryanr701 ,

I recently got below Alert when logged into Adobe Target, so I started migrating mbox.js to at.js and as part of that installed Adobe TargetV2 Launch extension(we are using Adobe Launch for Tag Management) and modified the All Pages - Library loaded rule, and we had mbox.js calls replaced with , https://clientId.tt.omtrdc.net/rest/v1/delivery?    which i am thinking is pretty much the upgrade process, but we started seeing Uncaught ReferenceError: CQ_Analytics is not defined console error

image-20200715-141805 (1).pngCapture.PNG

Can someone let know what was missed? we are using AEM 6.5.5

We are also implementing Component Targeting using Target Engine, but the targeted experience is loading and the disappearing on the page for the components which had some action, Is that because of this as well? Can someone guide please?

Appreciate any responses!!

Thanks,

Ganesh

aem6.5 at.js 2 components ComponentTargeting CQ_Analytics mbox Upgrade

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

Nirmal_Jose

MVP

Avatar

Nirmal_Jose

MVP

Nirmal_Jose
MVP

29-07-2020

Are you using any async methods for at.js injection. It can sometime create the mentioned error.

 

Can you try making at.js inclusion a synchronous call and confirm the same.