Reference direct call rule name in Adobe Analytics

Avatar

Avatar

KRAZ

Avatar

KRAZ

KRAZ

23-03-2018

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

KRAZ

Avatar

KRAZ

KRAZ

26-03-2018

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 !

Answers (3)

Answers (3)

Avatar

Avatar

StewSchilling

MVP

Avatar

StewSchilling

MVP

StewSchilling
MVP

26-03-2018

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%`

Avatar

Avatar

KRAZ

Avatar

KRAZ

KRAZ

26-03-2018

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.

Avatar

Avatar

FOX007

Avatar

FOX007

FOX007

25-03-2018

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.