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

Button Click Event Not Triggered

  • October 15, 2024
  • 2 replies
  • 864 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

kautuk_sahni
Employee
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
Gokul_Agiwal
New Participant
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
New Participant
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.