Not Tracking Data with Adobe Analytics? | Community
Skip to main content
Level 4
May 15, 2019 6:42 AM UTC
Solved

Not Tracking Data with Adobe Analytics?

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
vitalin58577727Accepted solution
Level 4
May 17, 2019 11:07 AM UTC

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 {

}

5 replies

vitalin58577727AuthorAccepted solution
Level 4
May 17, 2019 11:07 AM UTC

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 {

}

Translate
PratheepArunRaj
New Participant
May 15, 2019 12:22 PM UTC

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

Translate
Level 4
May 15, 2019 11:57 AM UTC

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

Translate
PratheepArunRaj
New Participant
May 15, 2019 11:10 AM UTC

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

Translate
Level 4
May 15, 2019 10:46 AM UTC

Can you provide more information, how you have implemented adobe analytics? Using javascript, DTM or launch?

Translate