Add Google Tag Manager to your WordPress site with SEOPress

From Google Tag Manager websiteAdminSetup Google Tag Manager, copy the first code (head) using the icon on the right.

Then, go to your WordPress adminSEO, AnalyticsCustom Tracking tab, and paste your code into the field “[HEAD] Add an additional tracking code (like GTM, Facebook Pixel, Hotjar…)“.

Go back to GTM, copy the second part (body) and paste it into the field “[BODY] Add an additional tracking code (like Google Tag Manager…)“.

Save changes.

Clear your cache.

Done!