YouTube videos that could help you do this task :

How to ad Google Tag Manager to WordPress :

https://www.youtube.com/watch?v=ANIuX_Wz1Uc

https://www.youtube.com/watch?v=hRMUG9Jqkyc

How To Install Google Tag Manager, Google Analytics, & Google Search Console On a WordPress Website :

https://www.youtube.com/watch?v=WFuwVKeUglU

Goal: To add Google Tag Manager to a WordPress site.

Ideal Outcome: Google Tag Manager is properly installed without any technical issues.

Prerequisites or requirements: This exact process only applies to WordPress.org sites.

Why this is important: Google Tag Manager is a great tool to add and manage multiple pixels and tracking codes without needing to edit the code of a site.

Where this is done: In your WordPress install and Google Tag Manager.

When this is done: Only once—the first time you install Google Tag Manager.

Who does this: The person responsible for website management or analytics.

Important: This SOP works only for self-hosted WordPress sites, aka WordPress.org and not WordPress.com

  1. Download the Google Tag Assistant Legacy Chrome Extension (Free)
  2. Sign up for Google Tag Manager (Free):
    1. You’ll need to log in to your Google account.
    2. If this is your first time creating a Google Tag Manager Account, you’ll be prompted to set up one right away.
      • You can just use your company/website name for both the account and container.
      • Under “Where to Use Container”, select “Web”

  1. Accept the terms and conditions.