Open techanvil opened 3 months ago
@techanvil Thanks for creating this issue. I reviewed this initially and then discussed it on our AC sync today.
"We will not check if the Google Tag points to an actual GA4 web data stream until perhaps direct API support is available to find these details from a Google Tag ID"
The above is pretty much the only thing we can do now, i.e. when Analytics is not already connected, we can tell the user for sure now that their Google Tag Manager container contains a tag that points to a Analytics 4 Measurement ID. We agreed that this isn't something that is worth our time and effort as this information doesn't change anything for our users. We already "assume" this to be the case and suggest the user connect Analytics when we implemented issue #7990.
So I think we can close this issue. This is good documentation that we have reviewed #7989/#7990 after the Google Tag API development.
c.c. @aaemnnosttv
Thanks @jimmymadon – it sounds like there isn't much benefit to implementing this as defined as you noted but I'd like to get @techanvil 's perspective in case we've missed anything in our review.
Thanks @jimmymadon @aaemnnosttv.
Sorry, I must have missed the point toward the end of the https://github.com/google/site-kit-wp/issues/7989#issuecomment-1915654586 about the scenarios about switching to Analytics for the tag placement no longer being needed when creating this issue. Makes sense, thanks for clarifying that Jimmy.
We agreed that this isn't something that is worth our time and effort as this information doesn't change anything for our users.
This also mostly makes sense. It could make a difference in the case where a user doesn't already have a relevant Analytics web data stream set up. We could improve the accuracy of our messaging and the associated user journey, but to fully address this we'd want to ensure that not only does the GTM tag ultimately point to an Analytics measurement ID, but also that the measurement ID is for a web data stream with a URL which matches the current site. That way we could remove the ambiguity from the message ("Looks like you may be using Google Analytics within your Google Tag Manager configuration..."), and ensure the user will always land on a fully populated setup page when clicking through to activate Analytics.
What's debatable is whether it's worth the time and effort to make this change. Personally I think it's out there in the margins but it's still nice to be more accurate, so I do see this as an improvement it would be nice to make as time allows. However a downside would be that it would involve potentially making a couple of additional Google API requests each time we select a new container in the Tag Manager setup flow.
WDYT?
@techanvil
Personally I think it's out there in the margins but it's still nice to be more accurate, so I do see this as an improvement it would be nice to make as time allows
Yes, this is exactly why I ran this past @aaemnnosttv in our AC sync to just get his thoughts on the ROI here. I remember @marrrmarrr saying that only 10% of Site Kit users had Tag Manager set up - which further reduces the value of this issue and the accurate messaging. So we both thought that it wasn't a "big" enough enhancement that would help many users in any significant way.
However a downside would be that it would involve potentially making a couple of additional Google API requests each time we select a new container in the Tag Manager setup flow.
Well, this is fine I think as these requests won't have to be made on frequently accessed pages like the dashboard.
So in summary, I could improve the ACs here if we think we want to proceed with this. I would let @aaemnnosttv make the final call here!🙂
Feature Description
Now that we have the ability to lookup a Tag Manager container by tag ID, we should implement the more specific messaging for the GTM and GA integration screens that was originally specced for https://github.com/google/site-kit-wp/issues/7990 (see https://github.com/google/site-kit-wp/issues/7989#issuecomment-1915654586).
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
googtag
) which has the measurement ID as a destination, then display the following screen (which was originally shown when UA was setup and a property ID matched).googtag
) which has a measurement ID as a destination, then display the following screen:/wp-admin/admin.php?page=googlesitekit-dashboard&slug=analytics&reAuth=true
). The text which should be added just below the heading and above the "Please select the account information below." line is as follows:Implementation Brief
Test Coverage
QA Brief
Changelog entry