eclipse-openj9 / openj9-website

openj9-website
24 stars 28 forks source link

Update dependency levels #341

Open doveye opened 1 year ago

doveye commented 1 year ago

We need to update the levels of the software that's used to build the website, eg Gatsby, React etc. There are multiple dependabot warnings about the levels that are currently in use.

There is also a change coming from Google Analytics, which could be investigated/addressed at the same time. Email from Google:

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. Enhanced Measurement will be configured to match only some of your Universal Analytics settings; review these settings to ensure they match your needs.

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.

Another thing that could be investigated at the same time is the nature of the links. We'd like them to be relative so that they work in the staging environment too. See https://github.com/eclipse-openj9/openj9-website/pull/342. For example, the link from the index.html root page to the News page is <a href="/openj9/news">News</a>, which works on the live website but not on the staged website, which has recently moved to https://eclipse-openj9.github.io/openj9-website-publish/. If we could get this link to be <a href="../news">News</a>, it should work in both places.