Anchor links leading to /undefined
-
We are using the WP Google Analytics Events plugin. The update we received on June 9, 2021 caused many anchor tags to lead to <site URL OR current URL>/undefined. It happens with anchor tags on both internal and external links. The link in the anchor tag is correct (for instance, Rt click > Open Link in New Tab works in Chrome). It is the act of clicking on the anchor that is causing the failure.
Deactivating the plugin resolves the issue (and obviously also disables our event analytic tracking). We have fixed the site, so we do not have a broken version to show. However, we can reproduce the error if needed by turning the plugin back on. There are no related JS console errors.
Is there any explanation for why this latest update is causing these behaviors? What can we do to troubleshoot and get these analytics restored?
- The topic ‘Anchor links leading to /undefined’ is closed to new replies.