Google Analytics tracking not working
Asked by Jouni Hy?tyl?:

What might be the cause as we see no data while we have confirmed that the tracking code is correct.

There's one part that Atlassians own articles don't cover, which is "STREAM URL" in GA. We've tested with both statuspage URL (ending at .statuspage.io) and with the custom domain that we have set for the page.

No errors appearing on GA, but no data either...


Answers:
author: John M
body: Hi Jouni,

Currently, the Google Analytics integration with Statuspage is only configured to work with Universal Analytics (UA-XXXXXXXXX-X), but not GA4, which supports Data streams.

You may be able to integrate GA4 using the Custom HTML header option.

comments: author: Jouni Hy?tyl?
body: Check. Thank you John!


author: Adrian
body: Is there any way to use GA4 without the Custom HTML option? That requires a paid plan.


author: John M
body: Hi Adrian - I'm afraid, currently there is not.


author: Adrian
body: Got it, thanks John. Do you know if there are plans to support GA4 before UA is shut down in 2023?


author: John M
body: I would expect so, but let me check with our development team to be sure. I will update this thread again once I have a response from them.


author: John M
body: We do, in fact, have a feature request in our system for this - I'm guessing it will be released at some point before Google removes UA as an option but I don't have an exact date.


author: Adrian
body: Wonderful, thanks John!


author: Anders Ekkje Sletteb?
body: Any updates on this?


author: Brian North
body: [@John M](/t5/user/viewprofilepage/user-id/4625213) -Now that we are closer in date, can you confirm this feature will be in place prior to 7/1/2023? We have several status pages setup that will be impacted.


author: Ben Koca
body: We'd also be looking for a timeline on when this will be implemented as well.

It would also be great if you supported Google Tag Manager AND Analtyics 4 as use use the former to reduce the number of tags in our system.


author: Eric R Hartway
body: [@John M](/t5/user/viewprofilepage/user-id/3336652) Can you please provide a link to the feature request for adding GA4 functionality so we can keep up with it?


author: John M
body: Hi [@Eric R Hartway](/t5/user/viewprofilepage/user-id/4260838)

Statuspage tickets are not public currently, but you can check back with support using STATUS-477 for this feature. I don't see any updates on it yet but it should be completed in the next few months before UA reaches end of life.


author: John W
body: What's the status on this? We're now less than a month away...


author: John M
body: I just asked the dev team for an update on this [@John W](/t5/user/viewprofilepage/user-id/5057140) - I'll report what they say here


author: Brian North
body: I submitted a ticket to ask for an update for this issue (STATUS-477), and just received word from Atlassian support that this issue is on track to be completed by June 20th by the Statuspage engineering team.


author: John M
body: Thanks, Brian. That is correct, the team has confirmed that the feature should be completed before the end of the month.


author: steffan.giebels
body: [@John M](/t5/user/viewprofilepage/user-id/4625213) can you shortly describe what the solution will be? Or at least let me know if it will it be enough to simply change the "UA-\*" value in the field 'Google Analytics tracking' in \[Your page, Page info\] to the new "G-\*" value after 20-Jun?  


author: John M
body: [@steffan.giebels](/t5/user/viewprofilepage/user-id/5245492) We haven't gotten any specs back from engineering but typically when this type of update happens the goal is for a seamless experience for customers, so I would expect the same configuration requirements of entering your GA4 tracking ID.


author: Abraham Musalem
body: Hey All,   

Abraham here with Statuspage support. GA4 has now been implemented and is ready to be used inside of Statuspage. Please reach out via support.atlassian.com if you encounter any issues or have any questions.   

Best,  
Abraham, Statuspage Support


Tags: cloud