Does Activity Map track input type="button"?

Avatar

Avatar
Boost 1
Level 1
SiriusRex
Level 1

Like

1 like

Total Posts

16 posts

Correct reply

1 solution
Top badges earned
Boost 1
Give Back
Validate 1
Affirm 1
View profile

Avatar
Boost 1
Level 1
SiriusRex
Level 1

Like

1 like

Total Posts

16 posts

Correct reply

1 solution
Top badges earned
Boost 1
Give Back
Validate 1
Affirm 1
View profile
SiriusRex
Level 1

24-06-2021

One of our site owners is not getting Activity Map data for a dropdown menu. The code for this is: 

<input type="button" value="Go" class="dropDownButton">

Which seems to be valid per this line from Adobe's docs:

"Is this an INPUT tag or SUBMIT button with a value or child text?"

 

It *is* an input tag and has a value. The other part of this is that we have some JS that listens for the click on the input to perform the action. But again, Adobe's docs seem to say that Activity Map should be capturing the clicks. 

 

Any ideas about what might be happening here? Do I have it wrong and Activity Map doesn't capture clicks on an input type="button"?

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Publish 1
MVP
yuhuisg
MVP

Likes

196 likes

Total Posts

600 posts

Correct reply

119 solutions
Top badges earned
Publish 1
Affirm 100
Springboard
Bedrock
Validate 1
View profile

Avatar
Publish 1
MVP
yuhuisg
MVP

Likes

196 likes

Total Posts

600 posts

Correct reply

119 solutions
Top badges earned
Publish 1
Affirm 100
Springboard
Bedrock
Validate 1
View profile
yuhuisg
MVP

25-06-2021

Your understanding of Activity Map is correct. It does detect clicks on INPUTs.

But you also mentioned that there's a JS script that listens for clicks on the INPUTs. That script might be interfering with Activity Map's detection, e.g. if your script uses "preventDefault()".