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

Avatar

Avatar

Jennifer_Kunz

MVP

Avatar

Jennifer_Kunz

MVP

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.

16 Comments (16 New)
16 Comments

Avatar

Avatar

danielv92670241

Employee

Avatar

danielv92670241

Employee

danielv92670241
Employee

22-10-2018

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

Avatar

Avatar

Jennifer_Kunz

MVP

Avatar

Jennifer_Kunz

MVP

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

ursboller

MVP

Total Posts

1.0K

Likes

486

Correct Answer

252

Avatar

ursboller

MVP

Total Posts

1.0K

Likes

486

Correct Answer

252
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

stephenk6754559

Avatar

stephenk6754559

stephenk6754559

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

Jennifer_Kunz

MVP

Avatar

Jennifer_Kunz

MVP

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

Jennifer_Kunz

MVP

Avatar

Jennifer_Kunz

MVP

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

patrickh3033998

Avatar

patrickh3033998

patrickh3033998

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

analytics_union

Avatar

analytics_union

analytics_union

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

Jennifer_Kunz

MVP

Avatar

Jennifer_Kunz

MVP

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

ursboller

MVP

Total Posts

1.0K

Likes

486

Correct Answer

252

Avatar

ursboller

MVP

Total Posts

1.0K

Likes

486

Correct Answer

252
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...