Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

Adobe Analytics Extension

Avatar

Level 2

Hi all,

 

There is an Adobe Analytics extension in the 'actions' part of a rule that allows for setting variables, sending a beacon, and clearing variables.

 

There seems to be a bit of confusion in my team whether to set the variables first, send beacons next, and then clear variables or to clear variables first, then set variables, and then beacon.

 

I am a bit new to this field so I am not sure but could someone clarify which is the correct order and more importantly why?

 

Thanks!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @aksum 

Actions in Rule define what you want to happen when the rule runs. 

When you select Adobe analytics extension as configuration in your rule which offers 3 choices - Set variables, Send Beacon, and Clear Variables. 

 

Set Variables is only used for sets the variables either eVars, props, or events.

In order to send the data to Adobe Analytics, you need to use the "Send Beacon" which either increment a page view with s.t() call and not increment page view with s.tl() call. 

and last Clear Variables, to clear everything so the variables value not persist and once the rule execute all variable set before gets cleared/empty. 

 

Now what sequence need to used it's completely based on your implementation and the rule type you used.  Generally it goes like set variables, send beacon.

To get more info on when do we use clear variables - read this interesting blog from @yuhuisgDon't use clearVars!

Hope this helps

View solution in original post

3 Replies

Avatar

Level 5

Set the variables first, send beacons next, and then clear variables - Follow this flow. It helps you get expected values.

Avatar

Level 2

Thanks for the reply but can you explain why?

Avatar

Correct answer by
Community Advisor

Hi @aksum 

Actions in Rule define what you want to happen when the rule runs. 

When you select Adobe analytics extension as configuration in your rule which offers 3 choices - Set variables, Send Beacon, and Clear Variables. 

 

Set Variables is only used for sets the variables either eVars, props, or events.

In order to send the data to Adobe Analytics, you need to use the "Send Beacon" which either increment a page view with s.t() call and not increment page view with s.tl() call. 

and last Clear Variables, to clear everything so the variables value not persist and once the rule execute all variable set before gets cleared/empty. 

 

Now what sequence need to used it's completely based on your implementation and the rule type you used.  Generally it goes like set variables, send beacon.

To get more info on when do we use clear variables - read this interesting blog from @yuhuisgDon't use clearVars!

Hope this helps