Activity Map

Question Detail

Per the documentation, Activity Map tracks buttons by default. But, why it isn't working for button on a page?


Analytics AppMeasurement doesn't treat buttons defined using <input> tags with type="button" or role="button" as actual buttons. Hence, these buttons are not tracked by default.

The solution is to remove the type and/or role attribute. Alternatively, Link Tracking can be implemented as recommended for non-clickable links or elements that are not tracked by default.

Additional resources

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy