Learn business growth with Google Analytics 4 › Forums › Google Analytics 4 › Troubleshooting Issue with Classname Trigger for Element › Reply To: Troubleshooting Issue with Classname Trigger for Element
-
From your shared code, it’s hard to pinpoint the issue without additional details. However, common issues can be related to spelling/case-sensitivity in the class name or the structure of the HTML. You can use the Google Tag Manager’s preview mode feature for troubleshooting—this will help to ensure that clicks on the target element are properly recognized, and that the class of the clicked element matches exactly with what you’ve provided in the Google Analytics tag setup.