Button Click Event Not Triggered | Community
Skip to main content
Level 3
October 15, 2024
Question

Button Click Event Not Triggered

  • October 15, 2024
  • 2 replies
  • 866 views

Hi,

 

I have created a simple rule, which as event type is click, which is not triggered when i click on any button on page, I am also updating XDM eventType in action, attached screens below.

 

 

Thanks,

Parvathi

 

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

2 replies

Gokul_Agiwal
Community Advisor
Community Advisor
October 15, 2024

Hi @arunla 

From the first screenshot, what I can see that you've used button as css selector?   Is this correct? 

Can you use the right css selector either class name or ID and then try. 

ArunLaAuthor
Level 3
October 15, 2024

Hi @gokul_agiwal 

 

I used, class and id selector also, its same, event not triggered and not able to see in debugger. as class or id selector not working i was doing testing with button selector.

 

I even added customcode action to see if it gives me button id, that works. I can see button id in console. 

 

I have observed another issue, I created another rule for "a" tag click event, getting 400 bad request error.

 

 

 

kautuk_sahni
Community Manager
Community Manager
October 18, 2024

@arunla  If you have successfully found a solution on your own, we kindly ask that you share it with the community for future reference and mark it as the correct answer.

Kautuk Sahni