The Complete SEO Pack for GTM

June 8, 2017

Our SEO Complete Pack includes all of our recipes to help dynamically enhance your site for greater search engine optimization.

Ingredients

Tags

CU - SEO - Canonical URL - LunaMetrics Plugin

CU - SEO - Meta Description - LunaMetrics Plugin

CU - SEO - Structured Data - LunaMetrics Plugin

CU - SEO - Title - LunaMetrics Plugin

Variables

Lookup - SEO Description

Lookup - SEO Title

Page Hostname - No WWW

Page Hostname - With WWW

Page Protocol

Page Query String

Page URL Canonical - HTTPS, No WWW

Page URL Canonical - HTTPS, WWW

Page URL Canonical - Protocol Relative, No WWW

Page URL Canonical - Protocol Relative, WWW

Instructions

1. Download Container File

Download the container JSON file.

(You may need to right-click on the link and choose “Save Link As” or “Save Target As” to save the JSON file to your computer.)

2. Import JSON File into GTM

Log into your own Google Tag Manager container and head to the Admin section of the site. Under Container options, select Import Container. Check out this blog post for more details about importing a container file.

3. Update With Your Own Company Info

For structured data, update the Tag named CU – SEO – Structured Data – LunaMetrics Plugin to reflect your own organization, link to logo, social links, etc.

For SEO Titles and Meta Descriptions, update the variables Lookup – SEO Title and Lookup – SEO Description to reflect the values you would like to use for your pages.

4. Preview & Publish

Use the Preview options to test this container on your own site. Try testing each of the events to make sure they’re working properly. If everything looks good, go ahead and publish!