I've tried to report this elsewhere:
https://jira.atlassian.com/browse/BSERV-14067
The analytics tracking in bitbucket cloud will break on July 1, 2023, because google is transitioning from Universal Analytics to a G4 property tracking tag.
See:
https://support.google.com/analytics/answer/12938611#zippy=%2Cin-this-article
But bitbucket cloud has not updated their interface to the tag, and switching the tag to the G4 tag doesn't do anything. It should be a simple fix, but we need to make them aware of this issue.
As far as I can tell, they simply need to embed this into the html (where G-TAG is your tag from the g4 property).
<!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-TAG"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-TAG'); </script>