Thank you very much. I’m going to remove the “Google Tag Manager for WordPress” plugin and add the GTM scripts with the hooks above, following these helpful instructions:
https://docs.generatepress.com/article/implement-google-tag-manager/
On Google’s “Setup and install Tag Manager” page, there is a message that says:
“To ensure that tags do not fire twice, remove from your code any hardcoded tags that have been migrated to your Tag Manager container.”
What does that message mean? After I add the GTM scripts with the hooks above, are there any other steps that need to be taken?