Error, missing Report Suite ID in AppMeasurement initialization

Avatar

Avatar
Validate 1
Level 2
teot52416153
Level 2

Likes

5 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
teot52416153
Level 2

Likes

5 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile
teot52416153
Level 2

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
Boost 3
MVP
theGovernor
MVP

Likes

3 likes

Total Posts

4 posts

Correct reply

3 solutions
Top badges earned
Boost 3
Boost 1
Affirm 3
Affirm 1
View profile

Avatar
Boost 3
MVP
theGovernor
MVP

Likes

3 likes

Total Posts

4 posts

Correct reply

3 solutions
Top badges earned
Boost 3
Boost 1
Affirm 3
Affirm 1
View profile
theGovernor
MVP

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
Boost 1
Level 1
femi_ojemzy
Level 1

Likes

2 likes

Total Posts

1 post

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
femi_ojemzy
Level 1

Likes

2 likes

Total Posts

1 post

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
femi_ojemzy
Level 1

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
Validate 1
Level 2
teot52416153
Level 2

Likes

5 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
teot52416153
Level 2

Likes

5 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile
teot52416153
Level 2

31-08-2017

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

Avatar

Avatar
Boost 1
Level 1
bjohnson_evo
Level 1

Like

1 like

Total Posts

1 post

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
bjohnson_evo
Level 1

Like

1 like

Total Posts

1 post

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
bjohnson_evo
Level 1

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
Contributor
Level 3
andreis65119307
Level 3

Likes

13 likes

Total Posts

34 posts

Correct reply

7 solutions
Top badges earned
Contributor
Shape 1
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Contributor
Level 3
andreis65119307
Level 3

Likes

13 likes

Total Posts

34 posts

Correct reply

7 solutions
Top badges earned
Contributor
Shape 1
Give Back 5
Give Back 3
Give Back
View profile
andreis65119307
Level 3

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
Validate 50
Level 8
SarahEOwen
Level 8

Likes

269 likes

Total Posts

408 posts

Correct reply

17 solutions
Top badges earned
Validate 50
Validate 25
Validate 10
Validate 1
Ignite 1
View profile

Avatar
Validate 50
Level 8
SarahEOwen
Level 8

Likes

269 likes

Total Posts

408 posts

Correct reply

17 solutions
Top badges earned
Validate 50
Validate 25
Validate 10
Validate 1
Ignite 1
View profile
SarahEOwen
Level 8

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
Shape 25
MVP
Andrey_Osadchuk
MVP

Likes

537 likes

Total Posts

968 posts

Correct reply

263 solutions
Top badges earned
Shape 25
Bedrock
Coach
Boost 500
Affirm 250
View profile

Avatar
Shape 25
MVP
Andrey_Osadchuk
MVP

Likes

537 likes

Total Posts

968 posts

Correct reply

263 solutions
Top badges earned
Shape 25
Bedrock
Coach
Boost 500
Affirm 250
View profile
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
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,331 posts

Correct reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,331 posts

Correct reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile
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
Contributor
Level 3
andreis65119307
Level 3

Likes

13 likes

Total Posts

34 posts

Correct reply

7 solutions
Top badges earned
Contributor
Shape 1
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Contributor
Level 3
andreis65119307
Level 3

Likes

13 likes

Total Posts

34 posts

Correct reply

7 solutions
Top badges earned
Contributor
Shape 1
Give Back 5
Give Back 3
Give Back
View profile
andreis65119307
Level 3

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
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,331 posts

Correct reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,331 posts

Correct reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile
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
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,331 posts

Correct reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,331 posts

Correct reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile
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