codeforcroatia / imamopravoznati-theme

Frontend theme for Croatian Alaveteli site
http://imamopravoznati.org
MIT License
1 stars 1 forks source link

Universal Analytics will be going away - Switch to GA4 for analytics #144

Closed schlos closed 1 year ago

schlos commented 1 year ago

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Google Analytics 4 is our next-generation measurement solution, and it's replacing Universal Analytics. On July 1, 2023, standard Universal Analytics properties will stop processing new hits. If you still rely on Universal Analytics, we recommend that you prepare to use Google Analytics 4 going forward.

Describe alternatives you've considered

Additional context

https://support.google.com/analytics/answer/11583528 https://support.google.com/analytics/answer/11583528

schlos commented 1 year ago

Upstream: https://github.com/mysociety/alaveteli/issues/6973 WTDK: https://github.com/mysociety/whatdotheyknow-theme/issues/1295

schlos commented 1 year ago

---------- Forwarded message --------- From: Google Analytics analytics-noreply@google.com Date: Fri, Feb 10, 2023 at 5:34 AM Subject: We’ll soon configure Google Analytics 4 for you

Google Analytics Google Analytics We’ll soon configure Google Analytics 4 for you

Hello.

Universal Analytics standard properties will stop processing data on July 1, 2023. To maximize historical data and to ensure that Google Analytics 4 (GA4) meets your specific needs, we recommend you make the switch to Google Analytics 4 now. This will give you the opportunity to customize the setup including using the latest site tag.

For any customer who does not set up a GA4 property with basic settings, starting in March, we will configure one with a few basic settings consistent with the existing Universal Analytics property; this includes certain conversion events, Google Ads links, and existing website tags.

For Universal Analytics customers whose websites are tagged with gtag.js or analytics.js (including through tag management systems like Google Tag Manager), we will create a connected site tag that will reuse existing tags when possible to send traffic to the new GA4 property. If you do not wish to have a GA4 property created and configured based on your Universal Analytics property and existing tags, you may opt-out.

Learn more Sincerely,

The Google Analytics Team

You've received this mandatory email service announcement to update you about important changes to your Google Analytics account.

Google © 2023 Google LLC 1600 Amphitheatre Parkway, Mountain View, CA 94043

schlos commented 1 year ago

Infos: https://support.google.com/analytics/answer/9216061?hl=en https://support.google.com/analytics/answer/7686480?hl=en https://support.google.com/tagmanager/answer/12329709 https://support.google.com/tagmanager/answer/11994839

<!-- Google tag (gtag.js) - Google Analytics GA 4-->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P5CEPXK547"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-P5CEPXK547');
</script>
schlos commented 1 year ago

https://www.optimizesmart.com/how-to-turn-on-ip-anonymization-in-google-analytics-and-google-tag-manager/ https://www.optimizesmart.com/beginners-guide-google-tag-manager-v2/

schlos commented 1 year ago

https://tagmanager.google.com/#/admin/?accountId=6077282690&containerId=104885982&containerDraftId=0