DTM Ignoring report suites set in code.

Avatar

Avatar
Validate 1
Level 3
daavq
Level 3

Likes

32 likes

Total Posts

9 posts

Correct reply

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

Avatar
Validate 1
Level 3
daavq
Level 3

Likes

32 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Boost 5
Boost 3
Boost 25
View profile
daavq
Level 3

15-10-2015

I have noticed a large number of calls reporting in our development report suite. Upon investigation it seems sometimes DTM is ignoring the report suites set in the code and instead leveraging the ones set in DTM itself. So in DTM I have default report suites set like this:

[img]https://omniture-help.custhelp.com/ci/fattach/get/877657/1433173821/filename/DTMissue.png[/img]

However in the code itself I am setting the s.account variable.  The ones set in the picture were required for DTM to allow me to save the changes.  Anyone have a similar issue?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile
ParitMittal
Level 10

21-07-2016

Hi Laura,

The problem is with the s.sa() function you are using.  It is not recommended to initialize a report suite using s.sa() function.The s.sa() function only lets you dynamically change a report suite at any time on the page, before or after an image request fires.

Hence please use the following code to in "customize page code" to properly initialize  the report suite id to be used for Page Load Rules and Event Based rules.

var r_suite = _satellite.getDataElement('reportingSuite') ; s_account=r_suite; s.account=s_account;

Thanks & Regards

Parit Mittal

Answers (6)

Answers (6)

Avatar

Avatar
Validate 1
Level 1
laura_vl
Level 1

Like

1 like

Total Posts

8 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
laura_vl
Level 1

Like

1 like

Total Posts

8 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
laura_vl
Level 1

20-07-2016

Hello, I am running into this same problem, was there any resolution? I am manually loading the AppMeasurement library but within "custom page code" I am dynamically setting the reporting suite. When I try to fire any event-based rule with Adobe Analytics variables defined, the reporting suite does not get set. 

Avatar

Avatar
Give Back 50
Level 6
Rahsing
Level 6

Likes

17 likes

Total Posts

368 posts

Correct reply

132 solutions
Top badges earned
Give Back 50
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Give Back 50
Level 6
Rahsing
Level 6

Likes

17 likes

Total Posts

368 posts

Correct reply

132 solutions
Top badges earned
Give Back 50
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
Rahsing
Level 6

15-10-2015

Hi,

Have you bee able to resolve this problem?

If yes, could you please post the solution for the benefit of other users.

Regards

Rahul

Avatar

Avatar
Give Back 50
Level 6
Rahsing
Level 6

Likes

17 likes

Total Posts

368 posts

Correct reply

132 solutions
Top badges earned
Give Back 50
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Give Back 50
Level 6
Rahsing
Level 6

Likes

17 likes

Total Posts

368 posts

Correct reply

132 solutions
Top badges earned
Give Back 50
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
Rahsing
Level 6

15-10-2015

Ah! it's usually suggested to let Adobe manage the library but I can understand why you'd need to use it.

Okay! could you share the code where you're setting the s.account variable please? (a snapshot like this would be good)

Avatar

Avatar
Give Back 50
Level 6
Rahsing
Level 6

Likes

17 likes

Total Posts

368 posts

Correct reply

132 solutions
Top badges earned
Give Back 50
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Give Back 50
Level 6
Rahsing
Level 6

Likes

17 likes

Total Posts

368 posts

Correct reply

132 solutions
Top badges earned
Give Back 50
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
Rahsing
Level 6

15-10-2015

Hi there,

Could you please share the code where you're setting the s.account variable please?

Rahul

Avatar

Avatar
Validate 1
Level 3
daavq
Level 3

Likes

32 likes

Total Posts

9 posts

Correct reply

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

Avatar
Validate 1
Level 3
daavq
Level 3

Likes

32 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Boost 5
Boost 3
Boost 25
View profile
daavq
Level 3

15-10-2015

Trying again....

As you can see the report suites are set, but I have the "Set report suites using the custom code below" because I have code in there that changes the report suites based on domain.

[img]DTMissue.png[/img]

Avatar

Avatar
Give Back 50
Level 6
Rahsing
Level 6

Likes

17 likes

Total Posts

368 posts

Correct reply

132 solutions
Top badges earned
Give Back 50
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Give Back 50
Level 6
Rahsing
Level 6

Likes

17 likes

Total Posts

368 posts

Correct reply

132 solutions
Top badges earned
Give Back 50
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
Rahsing
Level 6

15-10-2015

Hi,

Could you please upload the picture again? I'm unable to view it.

Rahul