I am seeing a message that says "Cannot detect if the Google tag is in your container."
Why does this happen?
This is a validation check that GTM is doing when you configure this tag.
How to Resolve this Situation
The steps below will show you how to do this.
- Step 1
- Log into your GA4 account.
- Step 2
- Click on Admin in the bottom left-hand corner.
- Step 3
- Click on Data Streams under Property Settings --> Data collection and modification.
- Step 4
- Click the chevron arrow to the right.
- Step 5
- Copy the Measurement ID.
- Step 6
- Return to your GTM setup and use this values as the Measurement ID.
- Step 7
- You should now see this.