Using GTM to avoid (not set) in Google Analytics

If you use a Google Tag Manager variable whose type is “number” to send data to Google Analytics, you may notice that some of your data comes through as (not set), rather than the value you wanted. The example above shows an event label which is pulled in from the...

adwordsR: How to get Adwords API data using R

R has many uses, a particular highlight being its simple integration with various APIs, such as the Google Analytics API. These simple API integrations usually rely on packages, and integration into the Google Adwords API is no different. We have built our own R...

How to handle URL query parameters in Google Analytics

Do you ever look at your Google Analytics page report and see that your pageviews report has many items for the same page, and you have to filter to get the “real” total value? The screenshot above shows that /page-1 has 137K pageviews, but a filtered view (including...

The power of R: Google Analytics and other assorted APIs

If you’re reading this post, you’re probably familiar with data. And if you’re familiar with data, you’ve probably at least heard of R, that great statistical programming tool. We’re going to focus on Google Analytics in this post, but these skills are transferable to...