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
BedrockMission!

Learn More

View all

Sign in to view all badges

[AAE] Have Adobe Analytics Global Variables fire on all AA rules

Avatar

Avatar
Validate 1
MVP
Jennifer_Kunz
MVP

Likes

313 likes

Total Posts

85 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Contributor
Seeker
Shape 10
Shape 1
View profile

Avatar
Validate 1
MVP
Jennifer_Kunz
MVP

Likes

313 likes

Total Posts

85 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Contributor
Seeker
Shape 10
Shape 1
View profile
Jennifer_Kunz
MVP

21-08-2018

The variables set in the Analytics extension's Global Variables seem to not fire on all rules/rule types (see Global Variables - Direct Call Rule ). This is similar to how it was in DTM.

It would be great if we had some control over this (maybe give me the ability to say "fire for all beacons" or "fire for all s.t beacons" or "fire immediately before any beacon, but after other rules" or something), or by default they DID fire anywhere the Analytics Extension was in a rule. Otherwise, folks still have to resort to using doPlugins, or setting up a rule for global variables that somehow fires on all other AA rules/beacons.

23 Comments

Avatar

Avatar
Ignite 3
Employee
danielv92670241
Employee

Likes

12 likes

Total Posts

10 posts

Correct Reply

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

Avatar
Ignite 3
Employee
danielv92670241
Employee

Likes

12 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Ignite 3
Ignite 1
Publish 1
Boost 5
Boost 3
View profile
danielv92670241
Employee

22-10-2018

Thanks for posting this idea. I have added this request to our analytics roadmap.

Avatar

Avatar
Validate 1
MVP
Jennifer_Kunz
MVP

Likes

313 likes

Total Posts

85 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Contributor
Seeker
Shape 10
Shape 1
View profile

Avatar
Validate 1
MVP
Jennifer_Kunz
MVP

Likes

313 likes

Total Posts

85 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Contributor
Seeker
Shape 10
Shape 1
View profile
Jennifer_Kunz
MVP

02-04-2019

As a followup, I just retested this.... and it is still a problem. It doesn't seem to make a difference whether the "subsequent" beacons are s.t() or s.tl()... my global variables only get set on my initial rule.

Avatar

Avatar
Coach
MVP
ursboller
MVP

Likes

525 likes

Total Posts

1,020 posts

Correct Reply

257 solutions
Top badges earned
Coach
Contributor
Bedrock
Seeker
Springboard
View profile

Avatar
Coach
MVP
ursboller
MVP

Likes

525 likes

Total Posts

1,020 posts

Correct Reply

257 solutions
Top badges earned
Coach
Contributor
Bedrock
Seeker
Springboard
View profile
ursboller
MVP

02-04-2019

would it be an option to "move" ALL s.tl() calls to the rule setup? would mean instead of doing all the config stuff in the analytics extension, the extension provides both a trigger for download-clicks/exit clicks which could be used similar to custom link tracking. that would allow to setup the rule just as we do with all the other rules ....

Avatar

Avatar
Boost 5
Level 2
stephenk6754559
Level 2

Likes

22 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Applaud 5
View profile

Avatar
Boost 5
Level 2
stephenk6754559
Level 2

Likes

22 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Applaud 5
View profile
stephenk6754559
Level 2

27-04-2019

I've achieved this by stacking rules, and pushing all analytics track events down through a single direct call which has a number of different rules listening, in a specific order. Some rules are conditional, some aren't - so this way, I can control certain variables that apply to everything, and certain variables that are conditional. The last rule fires the beacon. Maybe not ideal, but it works well for us.

This also allows us to reference analytics variables in a specific order: for example, we set hierarchy variables based on s.pagename (with some modification), if I do this in the extension I cannot control the order in which it is evaluated and therefore I end up with incorrect variable settings, but by doing this in stacked rules I can easily control the order of evaluation and ensure the result is correct. Even if we had the ability to choose when the global variables are evaluated (s.t vs s.tl / etc), it would not address my requirement to control the order of evaluation as that would be unique to my implementation and each property.

Avatar

Avatar
Validate 1
MVP
Jennifer_Kunz
MVP

Likes

313 likes

Total Posts

85 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Contributor
Seeker
Shape 10
Shape 1
View profile

Avatar
Validate 1
MVP
Jennifer_Kunz
MVP

Likes

313 likes

Total Posts

85 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Contributor
Seeker
Shape 10
Shape 1
View profile
Jennifer_Kunz
MVP

29-04-2019

I can see this working and is a good solution in the current set up, but I still definitely would like a way to do it without having to make sure my "global" rule gets triggered for ALL rules/beacons.

Avatar

Avatar
Validate 1
MVP
Jennifer_Kunz
MVP

Likes

313 likes

Total Posts

85 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Contributor
Seeker
Shape 10
Shape 1
View profile

Avatar
Validate 1
MVP
Jennifer_Kunz
MVP

Likes

313 likes

Total Posts

85 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Contributor
Seeker
Shape 10
Shape 1
View profile
Jennifer_Kunz
MVP

29-04-2019

even if I move all s.tl beacons to rules, this is still an issue.... my global variables don't fire on my s.tl rule-based beacons either.

Avatar

Avatar
Validate 1
Level 2
patrickh3033998
Level 2

Likes

9 likes

Total Posts

10 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
patrickh3033998
Level 2

Likes

9 likes

Total Posts

10 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
patrickh3033998
Level 2

30-10-2019

I do have the same issues on custom event calls. Solved it by a helper function, which sets all global variables on events. I once define the global variables in this function, and then call it in the AA Set Variables component (on every rule) in custom code and works perfectly. But yes, this should be handled without custom code.

Avatar

Avatar
Contributor
Level 4
analytics_union
Level 4

Likes

46 likes

Total Posts

63 posts

Correct Reply

5 solutions
Top badges earned
Contributor
Seeker
Ignite 1
Validate 1
Shape 1
View profile

Avatar
Contributor
Level 4
analytics_union
Level 4

Likes

46 likes

Total Posts

63 posts

Correct Reply

5 solutions
Top badges earned
Contributor
Seeker
Ignite 1
Validate 1
Shape 1
View profile
analytics_union
Level 4

26-11-2019

FYI I've never encountered this problem since using Launch in October 2019.

My setup:

  • Adobe Analytics extension: include all global variables to be set with all AA hits.
  • Rules: include variables that should be set in those rules.

Result:

All of my AA hits include my global variables, including s.tl() hits.

Avatar

Avatar
Validate 1
MVP
Jennifer_Kunz
MVP

Likes

313 likes

Total Posts

85 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Contributor
Seeker
Shape 10
Shape 1
View profile

Avatar
Validate 1
MVP
Jennifer_Kunz
MVP

Likes

313 likes

Total Posts

85 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Contributor
Seeker
Shape 10
Shape 1
View profile
Jennifer_Kunz
MVP

27-11-2019

Intriguing, thanks for letting me know! I'll have to test and see if this has, in fact, been resolved!

Avatar

Avatar
Coach
MVP
ursboller
MVP

Likes

525 likes

Total Posts

1,020 posts

Correct Reply

257 solutions
Top badges earned
Coach
Contributor
Bedrock
Seeker
Springboard
View profile

Avatar
Coach
MVP
ursboller
MVP

Likes

525 likes

Total Posts

1,020 posts

Correct Reply

257 solutions
Top badges earned
Coach
Contributor
Bedrock
Seeker
Springboard
View profile
ursboller
MVP

27-11-2019

the question is if you need a "clearVariables" at the end of all rules? otherwise I think it will keep the old variables/events and messing up tracking (eg. you set a specific event on s.t() and it will appear on the subsequent s.tl() call...