N-Grams analysis for Search marketing

An n-gram is a phrase made of n-words: a 1-gram is a single word, a 2-gram is a phrase made of two words, and so on. Within search marketing, they are used to assess the number of instances of a keyword or keyphrase within a set of keywords.

For example, if analysing laser eye treatment-related keywords, we could assess the number of times a 1-gram keyword like laser, eye, treatment or surgery occurs.  We could then assess the number of times a 2-gram or 3-gram occurs, for example, ‘laser eye surgery’ or ‘laser eye treatment’.

Using this approach helps us see the relative number of keywords that occur across all search terms. In this case we can see that ‘laser eye surgery’ with other qualifiers like location is much more important by search volume than ‘laser eye treatment’.

Use of N-grams within paid search

N-grams are most-widely used in Google Ads analysis as explained in this post

This N-grams analysis example from David Fothergill shows how you can review volume against other KPIs such as cost, conversion rate and ROI.

This shows the value of keywords like ‘free’ against ‘free delivery’, the former may attract visits that don’t convert while the latter has higher conversion. It can also be used to assess negative keywords to use since we can exclude keywords that don’t convert.

Resources available include this Google Ads script, another from Brainlabs and this spreadsheet approach.

Uses of N-grams within organic search

As well as the keyphrase-based analysis sheet, the Smart Insights keyword gap analysis download enables you to quickly assess the number of times a single keyword (1-gram) occurs across all keywords searched for. This is useful for long-tail analysis, for example, for a retail site we can see the number of searches by consumers for search term qualifiers like ‘prices’, ‘deals’ or ‘reviews’ and how effective we are in attracting them.

About

Welcome to my personal site where I blog about the latest developments in digital business to help students, professionals or lecturers using my books in their studies or careers.

I also write about assistive technology to help others teaching the visually impaired as part of my volunteering work for charity AbilityNet.

My latest books

Full details on Amazon:

Digital Marketing: Strategy, Implementation and Practice, 9th Edition, published 2025.

With Fiona Ellis-Chadwick and Majd AbedRabbo.

Used by: Undergraduate and post-graduate degree marketing students. Senior marketing professionals, e.g. marketing managers and directors.

Digital Marketing Excellence
6th edition

About Smart Insights

Dave Chaffey is lead author of several bestselling digital marketing books including Digital Marketing: Strategy Implementation and Practice, Digital Business Management and Digital Marketing Excellence. These are based on my 3 decades experience on digital marketing consulting and training work includin

This site is my personal blog which has ideas to help students, professionals or lecturers using my textbooks in their studies or careers. I recommend taking a look at the Digital Marketing Book Support pages on this site