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

Reference direct call rule name in Adobe Analytics

KRAZ
Level 4
Level 4

Hi all,

Is there a possibility to reference the direct call rule name in the Adobe Analytics section e.g. as eVar. Imagine the following scenario:

I have 5 Tabs and each click on the tab triggers a different direct call rule. Now in Launch I can finally handle everything in one rule and set all direct call rule names as trigger. Nevertheless I want to know at the end which tab has been clicked. Hence I would need to reference the direct call rule name e.g. in an eVar or in the custom link section. How can I find out which rule was the triggering one?

Thanks for your help!

Best,

Konstantin

1 Accepted Solution
KRAZ
Correct answer by
Level 4
Level 4

Brilliant comment, this gave me the hint where I need to look into. The event object in my case looks the following:

event.$rule.name:"RULE_NAME"

event.$type:"RULE_TYPE" e.g. core.direct-call

event.identifier:"DIRECT_CALL_RULE_NAME"

In my case I was looking for the identifier. So problem solved !

View solution in original post

0 Replies
FOX007
Level 2
Level 2

I don't think you can do what you are proposing. I think it is a 1:1 relationship with direct call rules (and possibly 1:many). Meaning that each direct call will have to have at least one rule attached to it. I also don't think there is any way of referencing the trigger event.  What I would do is update the data layer with whatever tab you are clicking on and fire the same direct call rule for all 5 tabs. In your one rule you can set the evar to the value in the data layer.

KRAZ
Level 4
Level 4

Thanks @FOX007 for your response. Good idea to go over the Data Layer, nevertheless I cannot change the application anymore, hence I will go for 5 separate rules and just write the value manually into the eVar.

StewSchilling
Community Advisor
Community Advisor

I saw this about a week ago in the Adobe Launch Developers slack channel.

Hot off the press, you can access the rule name to send it off to Analytics or whatever: `%event.$rule.name%`

KRAZ
Correct answer by
Level 4
Level 4

Brilliant comment, this gave me the hint where I need to look into. The event object in my case looks the following:

event.$rule.name:"RULE_NAME"

event.$type:"RULE_TYPE" e.g. core.direct-call

event.identifier:"DIRECT_CALL_RULE_NAME"

In my case I was looking for the identifier. So problem solved !

View solution in original post