Hello,
we have problems with our Adobe Analytics figures.
Too few visits are displayed, although we still have many visitors.
It's not ranking or marketing measures, it's Adobe Analytics.
Can you tell us exactly what is wrong here?
That comes as an error message:
Error, missing Report Suite ID in AppMeasurement initialization
Can the problem be? And how do I solve it?
Solved! Go to Solution.
Views
Replies
Total Likes
Hall all together,
I solved the problem.
My DataLayer was only on a subpage.
My script queried the data on every page, and of course didn't find the DataLayer on all pages.
That's why it always produced errors.
My new code
Rules -> Data Elements -> comparisonBrandrisonBrandArray
var resultcomparisonBrand = "";
var comparisonBrandArray = digitalData.comparisonInfo;
if ( comparisonBrandArray !== undefined ) {
var arrayBig = comparisonBrandArray.length;
var comparisonBrand =new Array();
console.log(comparisonBrandArray.length);
for (var i = 0; i < arrayBig; i++) {
comparisonBrand += digitalData.comparisonInfo[i].comparisonBrand + "|";
}
var sillyString = comparisonBrand.slice(0, -1);
return sillyString;
} else {
}
Views
Replies
Total Likes
Can you provide more information, how you have implemented adobe analytics? Using javascript, DTM or launch?
Views
Replies
Total Likes
Dear Vitalin,
Can you share you public URL? If you cannot share here, you can message. Will validate and advice you.
As said by Vinoth, we would need more information to understand and debug.
Thank You!
Arun
Views
Replies
Total Likes
I found the mistake,
but not how I can handle it?
The error is in the JavaScript loop.
This is my JavaScript Script:
var resultcomparisonBrand = "";
var comparisonBrandArray = digitalData.comparisonInfo;
var arrayBig = comparisonBrandArray.length;
var comparisonBrand =new Array();
console.log(comparisonBrandArray.length);
for (var i = 0; i < arrayBig; i++) {
comparisonBrand += digitalData.comparisonInfo[i].comparisonBrand + "|";
}
var sillyString = comparisonBrand.slice(0, -1);
return sillyString;
Unfortunately I get an error message in the Adobe Analytics console.
satelliteLib-246d9334a8fac8f7242fe07a80421dd5e091a6aa-staging.js:15 Uncaught TypeError: Cannot read property 'length' of undefined
at Object.customJS (satelliteLib-246d9334a8fac8f7242fe07a80421dd5e091a6aa-staging.js:15)
at Object.A.realGetDataElement (satelliteLib-246d9334a8fac8f7242fe07a80421dd5e091a6aa-staging.js:11)
at Object.A.getDataElement (satelliteLib-246d9334a8fac8f7242fe07a80421dd5e091a6aa-staging.js:11)
at Object.A.getVar (satelliteLib-246d9334a8fac8f7242fe07a80421dd5e091a6aa-staging.js:11)
at satelliteLib-246d9334a8fac8f7242fe07a80421dd5e091a6aa-staging.js:11
at String.replace (<anonymous>)
at Object.A.replace (satelliteLib-246d9334a8fac8f7242fe07a80421dd5e091a6aa-staging.js:11)
at o (satelliteLib-246d9334a8fac8f7242fe07a80421dd5e091a6aa-staging.js:11)
at s (satelliteLib-246d9334a8fac8f7242fe07a80421dd5e091a6aa-staging.js:11)
at Object.A.preprocessArguments (satelliteLib-246d9334a8fac8f7242fe07a80421dd5e091a6aa-staging.js:11)
but why?
This is the URL from the Site.
Reifen online günstig kaufen beim Shop von ReifenDirekt.de
Only in the Debug and Staging Mod see.
https://chrome.google.com/webstore/detail/launch-and-dtm-switch/nlgdemkdapolikbjimjajpmonpbpmipk
BR,
Vitali
Views
Replies
Total Likes
Dear Vitalin,
The Data Layer 'digitalData' didn't have comparisonInfo at all and thus it is throwing error. The Data Layer only have 'pageinfo' and also there are no arrays. Can you check?
Thank You!
Arun
Views
Replies
Total Likes
Hall all together,
I solved the problem.
My DataLayer was only on a subpage.
My script queried the data on every page, and of course didn't find the DataLayer on all pages.
That's why it always produced errors.
My new code
Rules -> Data Elements -> comparisonBrandrisonBrandArray
var resultcomparisonBrand = "";
var comparisonBrandArray = digitalData.comparisonInfo;
if ( comparisonBrandArray !== undefined ) {
var arrayBig = comparisonBrandArray.length;
var comparisonBrand =new Array();
console.log(comparisonBrandArray.length);
for (var i = 0; i < arrayBig; i++) {
comparisonBrand += digitalData.comparisonInfo[i].comparisonBrand + "|";
}
var sillyString = comparisonBrand.slice(0, -1);
return sillyString;
} else {
}
Views
Replies
Total Likes