Can I use prop values in event with visit or visitor? | Community
Skip to main content
Level 5
October 12, 2022
Solved

Can I use prop values in event with visit or visitor?

  • October 12, 2022
  • 1 reply
  • 1830 views

There is a click event which triggers on specific dom element visibility on page load. For example it will show some random number value in page load and the value is captured in prop. Can I use the prop value in that event along with visits and visitors to see how many visitors or visits were shown with that prop value?

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jennifer_Dungan

Absolutely. Props are just simple variables that have no custom expiry (i.e. they are always Hit level) and are limited to 100 characters. eVars are more complex variables that you can set a longer expiry (visit level, expire after event x, or yes, even set to Hit level) and are limited to 255 characters.

 

I use both props and evars on all my events. 

 

Anyone who says you can only use eVars on events (which seemed to be an old school belief - which didn't seemed to be based on any logic) is misinformed. Keep your implementation lean, you don't need to replicate values in both eVars and Props - use the dimension that makes sense based on their unique properties; and use them on page views and actions as needed. 🙂

1 reply

thelearningproject
Level 2
October 12, 2022

Hi aagk123,

 

I think you can easily do it with the help of Analysis Workspace. Workspace allows you to select props / vars as dimensions and break it with any of the metric available at the time of the hit being recorded. Check the below view. Is this the one you are looking for?

 

Regards,

Ritesh Gupta

www.thelearningproject.in

aagk123Author
Level 5
October 12, 2022

I know how to do it but my question is it right approach to use prop in event with visits or visitors?

Jennifer_Dungan
Community Advisor and Adobe Champion
Jennifer_DunganCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
October 12, 2022

Absolutely. Props are just simple variables that have no custom expiry (i.e. they are always Hit level) and are limited to 100 characters. eVars are more complex variables that you can set a longer expiry (visit level, expire after event x, or yes, even set to Hit level) and are limited to 255 characters.

 

I use both props and evars on all my events. 

 

Anyone who says you can only use eVars on events (which seemed to be an old school belief - which didn't seemed to be based on any logic) is misinformed. Keep your implementation lean, you don't need to replicate values in both eVars and Props - use the dimension that makes sense based on their unique properties; and use them on page views and actions as needed. 🙂