Not Tracking Data with Adobe Analytics?

vitalin58577727

14-05-2019

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?

Accepted Solutions (1)

Accepted Solutions (1)

vitalin58577727

17-05-2019

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 {

}

Answers (4)

Answers (4)

PratheepArunRaj

Moderator

15-05-2019

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

vitalin58577727

15-05-2019

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

PratheepArunRaj

Moderator

15-05-2019

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