Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

DTM: Event based rules with AA code already present fire, but no AA beacon is generated

marco_rocciolet
Level 1
Level 1

Hi

I am trying to implement DTM with "AA page code already present on page", using the same s_code.js URL as for the present page code. I specify Object name = "s2".

Now Event based rules are fired, but it seems that the AA tool settings associated with it are not considered, no beacon is generated neither, while custom JavaScript associated to the same rule is executed just all right.

As soon as I uncheck the "AA code present" option, everything works well.

Am I missing something?

Many thanks

Marco

1 Accepted Solution
shawncreed1
Correct answer by
Level 3
Level 3

Marco,

Is 's2' the name of the object being used in your on-page implementation? If not, then this won't work.

When you check the "Adobe Analytics page code is already present" checkbox, DTM will not a) load s_code (which means it won't create any new s objects), or b) call s.t() for the page view.  Thus, if you've specified 's2' as the object name, but your current on-page implementation uses 's' (or some other object name), then DTM is trying to call s2.tl() which refers to an invalid object, and therefore fails to work.

Best,
Shawn

View solution in original post

0 Replies
shawncreed1
Correct answer by
Level 3
Level 3

Marco,

Is 's2' the name of the object being used in your on-page implementation? If not, then this won't work.

When you check the "Adobe Analytics page code is already present" checkbox, DTM will not a) load s_code (which means it won't create any new s objects), or b) call s.t() for the page view.  Thus, if you've specified 's2' as the object name, but your current on-page implementation uses 's' (or some other object name), then DTM is trying to call s2.tl() which refers to an invalid object, and therefore fails to work.

Best,
Shawn

View solution in original post