Capturing Clicked Button Text into eVar4 Using Adobe Experience Platform Web SDK schema | Community
Skip to main content
Level 2
March 21, 2025
Solved

Capturing Clicked Button Text into eVar4 Using Adobe Experience Platform Web SDK schema

  • March 21, 2025
  • 1 reply
  • 706 views

Hello Adobe Community,

I am currently implementing the Adobe Experience Platform Web SDK on my website and facing a challenge. I need to capture the text from any button that a user clicks and store this text into the eVar4 variable. Please do refer attached screenshots for reference.

Best answer by bjoern__koth

Hi @esakkidevi 

 

Assuming that your core click rule is attached to buttons, you may want to have a look at Jim Gordon's cheat sheet

https://jimalytics.com/wp-content/uploads/2017/11/Adobe-Launch-Cheat-Sheet.pdf

 

In your eVar4, you can then just use the percent placeholder syntax e.g.,  %this.@cleanText%

 

1 reply

bjoern__koth
Community Advisor and Adobe Champion
bjoern__kothCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
March 21, 2025

Hi @esakkidevi 

 

Assuming that your core click rule is attached to buttons, you may want to have a look at Jim Gordon's cheat sheet

https://jimalytics.com/wp-content/uploads/2017/11/Adobe-Launch-Cheat-Sheet.pdf

 

In your eVar4, you can then just use the percent placeholder syntax e.g.,  %this.@cleanText%

 

Cheers from Switzerland!
Level 2
March 24, 2025

Hi @bjoern__koth ,

Thankyou for the reply, your suggestion was spot on and incredibly helpful. I've successfully implemented your advice, and it's working perfectly!