Google ranks pages based on signals both on-page and off-page. This means that your SEO strategy needs to consist of both on-page SEO and off-page SEO tactics. On-page SEO refers to all optimization efforts that you can make directly to your website. For example, using relevant keywords throughout your content or in the URLs for each page. Technical SEO, such as making sure your website loads quickly and is user-friendly, is a form of on-page SEO as well.
Off-page SEO includes tactics that address ranking signals from outside of your website. For example, the backlinks that a page earns when a different website links to your website. Social signals, such as shares and likes, are also a form of off-page SEO, as are listings in local directories, such as Yelp or Angie’s List.