Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Coffee Break: Join us on Wednesday, April 5th at 10am PT to chat with Ben Gaines, Director of Product Management for Adobe Analytics. Ben will be online to answer your Analytics and Adobe Summit questions.

Does Activity Map track input type="button"?


Level 2

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"?

4 Replies


Community Advisor

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()".


Level 2
The script does not use preventDefault(), which was a surprise at first, but I guess an input with type="button" isn't the same as type="submit" or a button tag.


Level 1

As stated here:


"Button tags with the attribute type=“button” are not considered to be links by AppMeasurement. Consider removing type=“button” on the button tags and adding role=“button” or submit=“button” instead."

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now