Tracking content performance frequently involves spreadsheets with countless Vlookups matching content URLs to metadata. Or tricky URL parsing functions that extrapolate information, like category or date. If you use Google Tag Manager (GTM) on your site, it doesn’t have to be this way. With a few tweaks you can have your very own front-end solution for tracking content metadata.
Now, let’s explore how to use this tool to capture metadata about your posts for use in Analytics reports. Our goal will be to take a blog post “category” value from a page and put it into a custom dimension in Google Analytics.