Using Campaigns to track Category Popularity in WordPress and Google Analytics

In my last post, I discovered a means of tracking WordPress categories by dynamically passing the category names in the script code for Google Analytics. The problem with the approach is that each time you instantiate the tracking function, it results in a page view. So, if you have multiple categories identified, you wind up executing multiple page views. Yuck!

So I did some digging and identified that you can set up a campaign in Google Analytics and capture the category names as keywords for that campaign. With some minor changes in the code, you can easily build a campaign, called “Category”.

You must now set up a custom filter for your campaign! Within a couple days, you’ll be able to track campaigns in Google Analytics! The campaign name will be “category”, the ad source will be “post”, the ad type will be “request” and the version will be “1.0”!

Your Cart

Our Latest Podcasts

We are in the midst of a cultural shift from mass-market, generic outreach and offerings, to targeted messaging and product choice. With the adoption of social media outlets as forums for communications, customer expectations have changed. We expect companies to monitor our reactions and respond to us as individuals. Companies who adapt their products to…

This was such a fun interview, you won't want to miss it. Douglas interviews Robert Rose and Joe Pulizzi on their newest book, which documents how businesses can turn marketing from an expense into a profit center. Killing Marketing is a book every business should pick up and give some attention as their working on…

A marketing stack is the group of platforms that marketers implement to execute, analyze and improve their marketing efforts. This includes all technologies, from publishing tools, to marketing automation tools, to the marketing performance and reporting tools that are implemented. Companies have to make the decision of whether or not they should invest in an…

Michael is a well-respected CEO of an agency in Indianapolis. Like many other agencies, his team struggled with deploying high-performing, compliant, beautiful sites. Existing content management systems are often based on technology and code that's over a decade old. Existing CMSs weren't built for the demands of today, nor for the incredible technology we now…

In preparation for a presentation at Dell's headquarters on Podcasting, I wanted to dive deep on microphone technologies and there's no one better than Shure in the industry. From broadcast, to music, to podcasting, Shure were pioneers in the industry and continue to lead the pack. In our own podcast studio, you'll find a variety…

Many business buyers have been there. They’re trying to make a quick, routine order to restock inventory, but the website keeps throwing them ads and offers for miscellaneous products they’ve never needed. With the product at the center of the commerce strategy, the customer never wins. However, when a company bases every interaction off of…

Kevin Souers is the Chief Product Officer of Aprimo and leads product and platform development and ensures Aprimo’s technology platform is the leading solution for marketing operations. Prior to Aprimo, Kevin was the Chief Technology Officer of Revenew, Inc., the leading through-channel marketing automation platform. In July 2016, Revenew was acquired and merged into Aprimo.…