google analytics

analytics

Passing clean meta tag data to Google Analytics

What this does: Cleans text from meta tags using basic JavaScript to pass to Google Analytics reports Requirements: Google Analytics deployed through Tag Manager, understanding of regular expressions & JavaScript, admin access to Google Analytics Over the years I’ve found one of the more useful tools in Google Analytics is the ability to pass custom […]

Read More
analytics

Segmenting pageviews by age and gender

Google Analytics’ Demographics report can provide a wealth of valuable data about the users of your website, including age, gender, interests and affinity categories. One of the cool but lesser known features of Google Analytics is the ability to create pivot tables with your web data. In this quick tutorial, we’ll make a simple pivot […]

Read More
python data analysis concept

Python for Marketers: Measuring click through rates by search position

What this is for: Analyzing and visualizing CTR and search position for organic search terms Requirements: Google Analytics data connected to Google Search Console, Python Anaconda Distribution Concepts covered: Simple data cleaning, Pandas dataframe, Matplotlib, search engine result position, click through rates Complete python file available for download  We all know search rankings matter. Users […]

Read More
python data analysis concept

Python for Marketers: Trend data from Google Analytics

What this is for: Identifying basic data trends, Creating future goals based on trends Requirements: Python Anaconda distribution, Google Analytics or comparable data, Basic understanding of Pandas dataframes and Matplotlib Concepts covered: Basic cleaning of data, linear regression, Scatter plot Complete Python file available for download One of the most basic forms of data analysis […]

Read More
analytics

Customizing virtual pageview paths with Tag Manager

I recently ran into a weird situation where I needed to change how the page path was being recorded in Google Analytics. If you’re firing pageviews through Google Tag Manager, you can easily change this with a couple of custom settings. First a short explainer. If you have URLs like www.example.com/facility?id=3 and www.example.com/facility?id=2, Google Analytics […]

Read More

Using Drupal tokens as Google Analytics custom dimensions

 Custom dimensions are an incredibly powerful tool to capture non-Google Analytics data and merge it with your Google Analytics data. Combined with Drupal tokens, this tool can very easily bring Drupal data into your analytics account. Take this scenario: You want to query Google Analytics data by your Drupal content type. An example of where […]

Read More