Custom User Action using Javascript variable

Hi wise community members,

I need to configure a Conversion Goal based on a Javascript Variable that I included in Session Properties, obviously this is not possible because I can’t configure a conversion goal based on that, but I can create a Custom User Action (extraction rule) for a JS variable and after create a conversion goal based on this User Action, great.

My point is:

I can see this variable in my user sessions (so session properties is working perfectly):

My question is:

What is the regex sintax that I need to fill in my Custom User Action Rule to just include in this action those that have this variable = TRUE?

Tks my great friends.

:wink:

Hi Rene, I would use a user action naming rule.

You can give a specific name to the user action containing your JS variable.

Then use that custom name in the definition of your conversion goal.

Let us know if that helps!

Adding some screenshots here: