Error, missing Report Suite ID in AppMeasurement initialization

Avatar

Avatar

teot52416153

Avatar

teot52416153

teot52416153

25-07-2017

I started getting this error from DTM: Error, missing Report Suite ID in AppMeasurement initialization.

The reporting suite working just right, but i'm not sure what is causing it.

Any help would be appreciated!

Thank you

Teo

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

theGovernor

Avatar

theGovernor

theGovernor

10-08-2017

Starting with either AppMeasurement v2.2.0 or v2.3.0, when setting var s = new AppMeasurement(), AppMeasurement expects you to pass a parameter containing the RSID(s). If you exclude the parameter, you get the "missing report suite ID" message you are seeing.

I haven't researched the purpose or need for the new parameter enough to tell you why it is now "required," but I can confirm that passing the parameter gets rid of the message. I've tried passing in both invalid data (ie// "xxxx") and legitimate RSIDs ("ie// "mydevrsid" or "myprodrsid"), with both having the same result.

EDIT: A quick example:

var myrsid = (prod) ? "myprodrsid" : "mydevrsid";

var s = new AppMeasurement(myrsid);

Answers (10)

Answers (10)

Avatar

Avatar

femi_ojemzy

Avatar

femi_ojemzy

femi_ojemzy

22-09-2017

Hi guys, I've been all over the internet and spent almost half a day looking for a solution.

var getAnalyticsAccount = function () {

   for (var toolid in _satellite.tools) {

   if (_satellite.tools[toolid].settings.engine == "sc") {

   return toolid;

  }

  }

};


s = new AppMeasurement(getAnalyticsAccount());

The above works but I actually quite like @teot52416153 solution so switching to it instead.

Is there any-chance DTM / Analytics documentation can be updated? Or better still assign "Tracker Variable Name"  in the configuration tool to _satellite.getToolsByType('sc')[0].getS(); automatically in DTM's codebase?

Thanks once again for posting the solutions.

Avatar

Avatar

teot52416153

Avatar

teot52416153

teot52416153

31-08-2017

I also found this to do the trick
window.s = _satellite.getToolsByType('sc')[0].getS();

Avatar

Avatar

bjohnson_evo

Avatar

bjohnson_evo

bjohnson_evo

10-08-2017

I haven't had the chance to fully research this yet. I only got so far as to verify that by passing the parameter the error message went away.

That said, my expectation is that both s_account and s_gi should still work as documented. If you find they don't, please let me know!

~ b

Avatar

Avatar

andreis65119307

Avatar

andreis65119307

andreis65119307

10-08-2017

Thank You, that clears the error.

This is what I have now:

var rsid = (_satellite.settings.isStaging==true) ? "bitdefenderstaging" : "bitdefenderproduction";

var s = new AppMeasurement(rsid);

var s_account = s.account;

var s=s_gi(s_account);

Is s_account and s_gi still required as per documentation?

Avatar

Avatar

SarahEOwen

Avatar

SarahEOwen

SarahEOwen

03-01-2018

Hi all -

I realize this is a little bit of an older post and thread, but wanted to chime in that I reached out to Adobe Customer Support about this error and this was their reply:

1385864_pastedImage_0.png

Thanks -

Sarah

Avatar

Avatar

Andrey_Osadchuk

MVP

Avatar

Andrey_Osadchuk

MVP

Andrey_Osadchuk
MVP

19-10-2017

femi ojemzy,
I wonder if you have tested your script for compatibility with the implementation using multiple report suites IDs divided by a comma (global report suite scenario)?

Avatar

Avatar

jantzen_belliston-Adobe

Community Manager

Total Posts

1.9K

Likes

312

Correct Answer

570

Avatar

jantzen_belliston-Adobe

Community Manager

Total Posts

1.9K

Likes

312

Correct Answer

570
jantzen_belliston-Adobe
Community Manager

10-08-2017

andreis65119307​ - It sounds like the error isn't impacting your implementation, but you could always ask Customer Care to open an engineering ticket about the issue.

It sounds like the previous answer may provide a fix for the issue though.

Avatar

Avatar

andreis65119307

Avatar

andreis65119307

andreis65119307

10-08-2017

Hi,

I have the same issue, the rsid is set in DTM UI.

Customer Care said that I should ignore it however something is not right.

The URL is bitdefender.com.

Thank You,

Andrei

Avatar

Avatar

jantzen_belliston-Adobe

Community Manager

Total Posts

1.9K

Likes

312

Correct Answer

570

Avatar

jantzen_belliston-Adobe

Community Manager

Total Posts

1.9K

Likes

312

Correct Answer

570
jantzen_belliston-Adobe
Community Manager

09-08-2017

Hi Teo - Did you still need assistance with this? If not, I'd live to get the solution posted and the questions closed.

Avatar

Avatar

jantzen_belliston-Adobe

Community Manager

Total Posts

1.9K

Likes

312

Correct Answer

570

Avatar

jantzen_belliston-Adobe

Community Manager

Total Posts

1.9K

Likes

312

Correct Answer

570
jantzen_belliston-Adobe
Community Manager

26-07-2017

Hi Teo,

Do you have a URL where we can view this error? Are you setting the report suite in the DTM UI or somewhere else?

Thanks,
Jantzen