Expand my Community achievements bar.

Button Click Event Not Triggered

Avatar

Level 1

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.

 

ArunLa_0-1728984148172.png

 

ArunLa_1-1728984241986.png

Thanks,

Parvathi

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

3 Replies

Avatar

Community Advisor

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. 

Avatar

Level 1

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. 

ArunLa_1-1728991468843.png

 

ArunLa_0-1728991289132.png

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

 

ArunLa_2-1728992718338.png

ArunLa_3-1728992770925.png

 

 

Avatar

Administrator

@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