Hi,
I’m trying to track comments on blog posts as events in Google Analytics, through Google Tag Manager. I have an AJAX listener for my newsletter sidebar and contact form that work like a charm. But for comments I don’t seem to be catching any meaningful variables. When a comment is posted the page reloads with an anchor link to the comment (example: /hello-world#comment-2). I tried to create a trigger based on URL but the anchor portion of the link is not present in any variables.
Do you have any suggestions on how I can track blog comments with GTM in generate press?