Tag: null

Retrieving value of hidden input DOM element in Google Tag Manager (GTM)

When implementing event tracking of user comments using Google Tag Manager for WordPress I came across a pretty strange behavior when trying to retrieve the value of a hidden <input>¬†field holding the current comment post id (comment_post_ID) that should serve as event label for Google (Universal) Analytics. WordPress Comment Form Below you find the WordPress […]