I am trying to debug a page. The page is connected to analytics but still debugger is not tracking any hits. What can be the possible reason for this? It used to work for me earlier, but lately, I am unable to track hits on the page. Please share a resolution.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @ShwetaSh ,
[UPDATE]I took the freedom to google the page behind your screenshot, hope you don't mind.
You have a consent issue. As soon as I release all consent with approveAll, I see your page view event firing.
So, also seeing that you are using a OneTrust CookiePro setup, this is likely a consent management setup issue.
OneTrust loaded
I see the following OptanonConsent Cookie
isGpcEnabled=0&datestamp=Mon Jan 20 2025 18:54:27 GMT+0100 (Central European Standard Time)&version=202210.1.0&isIABGlobal=false&hosts=&consentId=e63c418c-5bd9-4887-98e4-c1634300d4fd&interactionCount=0&landingPath=NotLandingPage&groups=1:1,2:0,3:0,4:0&geolocation=CH&AwaitingReconsent=false
so presumably, you are not properly initialising the previous consent in the Visitor ID service.
This should return an object with opt-in settings based on this cookie that onetrust sets.
Below is a sample Data Element that properly initializes the Adobe tools based on other Data Elements for Analytics, Target and Visitor ID service.
// initializes the Adobe opt-in service (extension > Visitor ID Service)
var optInSettings = {
aa: _satellite.getVar('JS - Consent - Analytics'),
ecid: _satellite.getVar('JS - Consent - Analytics'),
target: _satellite.getVar('JS - Consent - Targeting'),
// unused
aam: false,
adcloud: false,
campaign: false,
livefyre: false,
mediaaa: false,
}
return optInSettings;
---------------
[Initial message]
first of all, are you sure a request should be triggered?
Possible causes that come to my mind
1. the debugger is not properly attached to the underlying page -> Try reloading the page below. Can you see any "/ss" requests in the network tab. Alternatively, you can also use other browser extensions like Omnibug or the Universal Adobe Debugger which is useful for many other tags as well
2. cookie consent issue. Are you using a cookie consent platform and have opt in enabled on the visitor ID extension? -> try executing "adobe.optIn.approveAll()" in the console and see if this releases your requests from being queued
See also https://experienceleague.adobe.com/en/docs/id-service/using/implementation/opt-in-service/launch
Hi @ShwetaSh ,
[UPDATE]I took the freedom to google the page behind your screenshot, hope you don't mind.
You have a consent issue. As soon as I release all consent with approveAll, I see your page view event firing.
So, also seeing that you are using a OneTrust CookiePro setup, this is likely a consent management setup issue.
OneTrust loaded
I see the following OptanonConsent Cookie
isGpcEnabled=0&datestamp=Mon Jan 20 2025 18:54:27 GMT+0100 (Central European Standard Time)&version=202210.1.0&isIABGlobal=false&hosts=&consentId=e63c418c-5bd9-4887-98e4-c1634300d4fd&interactionCount=0&landingPath=NotLandingPage&groups=1:1,2:0,3:0,4:0&geolocation=CH&AwaitingReconsent=false
so presumably, you are not properly initialising the previous consent in the Visitor ID service.
This should return an object with opt-in settings based on this cookie that onetrust sets.
Below is a sample Data Element that properly initializes the Adobe tools based on other Data Elements for Analytics, Target and Visitor ID service.
// initializes the Adobe opt-in service (extension > Visitor ID Service)
var optInSettings = {
aa: _satellite.getVar('JS - Consent - Analytics'),
ecid: _satellite.getVar('JS - Consent - Analytics'),
target: _satellite.getVar('JS - Consent - Targeting'),
// unused
aam: false,
adcloud: false,
campaign: false,
livefyre: false,
mediaaa: false,
}
return optInSettings;
---------------
[Initial message]
first of all, are you sure a request should be triggered?
Possible causes that come to my mind
1. the debugger is not properly attached to the underlying page -> Try reloading the page below. Can you see any "/ss" requests in the network tab. Alternatively, you can also use other browser extensions like Omnibug or the Universal Adobe Debugger which is useful for many other tags as well
2. cookie consent issue. Are you using a cookie consent platform and have opt in enabled on the visitor ID extension? -> try executing "adobe.optIn.approveAll()" in the console and see if this releases your requests from being queued
See also https://experienceleague.adobe.com/en/docs/id-service/using/implementation/opt-in-service/launch
Hi @ShwetaSh,
Looking at the screen shot it looks like AA library has loaded on your website. I'd perform few initial checks as below to investigate,
Cheers!