Skip to content

Commit

Permalink
Merge branch 'main' into 19814-update-npm-dependencies-for-the-projec…
Browse files Browse the repository at this point in the history
…t-root-packagejson
  • Loading branch information
keisterj-oddball committed Dec 18, 2024
2 parents fa047f3 + 8c876c6 commit c17f49f
Show file tree
Hide file tree
Showing 11 changed files with 67 additions and 250 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
/docroot/modules/custom/va_gov_login # @department-of-veterans-affairs/platform-cms-drupal-engineers
/docroot/modules/custom/va_gov_lovell @department-of-veterans-affairs/facilities-cms
/docroot/modules/custom/va_gov_magichead @department-of-veterans-affairs/public-websites-cms
/docroot/modules/custom/va_gov_manila @department-of-veterans-affairs/facilities-cms
/docroot/modules/custom/va_gov_media # @department-of-veterans-affairs/platform-cms-drupal-engineers
/docroot/modules/custom/va_gov_menu_access # @department-of-veterans-affairs/platform-cms-drupal-engineers
/docroot/modules/custom/va_gov_menus # @department-of-veterans-affairs/platform-cms-drupal-engineers
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
NODE_TLS_REJECT_UNAUTHORIZED: 0

- name: Cypress run
uses: cypress-io/github-action@f1f0912d392f0d06bdd01fb9ebe3b3299e5806fb # v6.7.7
uses: cypress-io/github-action@57b70560982e6a11d23d4b8bec7f8a487cdbb71b # v6.7.8
with:
wait-on: "${{ inputs.preview_url }}"
command: 'npm run test:cypress:parallel'
Expand Down
59 changes: 59 additions & 0 deletions READMES/ga4-glossary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Google Analytics 4 - Glossary Terms

The goal of this document is to provide a guide for VA users to navigate the Google Analytics 4 (GA4) dashboard. While this file will go through the most pertinent items in our dashboard, an exhaustive list of terms can be found here: https://www.lovesdata.com/blog/google-analytics-glossary

## Landing Page - Home Landing Page

![Home landing page](images/ga4-home.png)

This is the initial landing page for when you come to the analytics url. It provides a snapshot of what google considers to be key items for your attention. Per the advice of the sitewide analytics team, this page is typically not all that useful to your interests. It gives the past week's data as reference.

## Landing Page - Reports Snapshot

![Reports snapshot](images/ga4-reports.png)

This landing page for your reports is a bit more useful, providing longer trends and updates on any of your created metrics at a glance. A more in-depth description can be found here: https://support.google.com/analytics/answer/10659091?hl=en&utm_id=ad

## Landing Page - Library

![Library](images/ga4-library.png)

The Library landing page (seen on the bottom left of your screen once you are inside the reports section) is where you can manage your collections and custom reports. GA4 supplies you with stock options for both collections and reports, but it is important for you to create one that makes sense for your use case.

## Collection - Life cycle - Engagement overview

![Engagement overview collection](images/ga4-collection.png)

Each collection you create will populate the sidebar navigation and provide the pages associated with the directories and reports you include. For example, we are taking a look at the engagement overview page within the "Life cycle" collection. We have provided GA4 with some parameters and metrics we would like to track for this collection (like average engagement time and engaged sessions per active user), and GA4 gives us an interactive graph to visualize those metrics over a time period we can specify.

## Terms

### Active Users

Active users is the primary metric used in GA4 to show you how many people have visited our site. To be considered active, a user needs to have an engaged session (a user on the site longer than 10 seconds) or be reported as a new user (note: being listed as new would also include people who have cleared their cookies or on a different device).

### Views

Views collect the total number of times events have been collected. For example, a user who navigates to the ‘about us’ page, then the ‘contact us’ page, and then back to the ‘about us’ page will result in two views of the ‘about us’ page and one view of the ‘contact us’ page.

### Events

GA4 treats all data as "events". If you interact with a webpage at all, that is an event. There are automatic events that google collects for you (like page_view, scroll, click, and more), and there are also ways to create custom events and add recommended events for tracking purposes. Here's a helpful guide on creating custom events: https://www.lovesdata.com/blog/google-analytics-4-events#custom-events

### Session

A session is when a user visits a page and logs an event (this is done as soon as a user views the page and is tracked by the session_start event by GA4). A session will include any and all events a user does until either they have stayed on the same page for over 30 minutes (in which time a new session will be created) OR they navigate away from the page.

### Bounce Rate

A bounce rate is the percentage of sessions that last less than 10 seconds, have no key event (previously called a conversion), and/or only include one page view (the initial page view upon landing on the page). Think of this as the percentage of users who are not really engaged on the site.

### Key Event

Key events are used to report actions that you have chosen that align with your business objectives. After choosing one or several key events, you can then see this number surfaced in your reports. This will give you an idea of if your users are interacting with the site in your predicted ways.

### Filter

You can add filters to reports to further refine your results. For example, I can add a filter to exactly match the prod.cms.va hostname to make sure I have excluded metrics from lower or unwanted environments as seen in the image below. NOTE: Filters are not exported to reports and will only persist on a user basis. If I create a filter, I cannot share that with you directly in the dashboard (I can, however, export the filtered report or guide you how to create that filter for yourself).

![Filtering reports](images/ga4-filter.png)
Binary file added READMES/images/ga4-collection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added READMES/images/ga4-filter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added READMES/images/ga4-home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added READMES/images/ga4-library.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added READMES/images/ga4-reports.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@
"drupal/crop": "^2.0",
"drupal/csv_serialization": "^4.0",
"drupal/ctools_block": "^4.0",
"drupal/danse": "^2.3",
"drupal/danse_content_moderation": "^2.0@beta",
"drupal/default_content_deploy": "^2.1",
"drupal/devel_entity_updates": "^4.1",
"drupal/diff": "^1.0",
Expand Down Expand Up @@ -171,7 +169,6 @@
"drupal/restui": "^1.16",
"drupal/role_delegation": "1.3.0",
"drupal/s3fs": "^3.6",
"drupal/samlauth": "^3.9",
"drupal/schemata": "^1.0",
"drupal/search_api": "^1.29.0",
"drupal/seckit": "^2.0",
Expand Down
250 changes: 5 additions & 245 deletions composer.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "aa992d810ef45398cacf8ee73a2a1bd9",
"content-hash": "3cd3f7a9eb318a034ebda92c45809a33",
"packages": [
{
"name": "asm89/stack-cors",
Expand Down Expand Up @@ -4762,119 +4762,6 @@
"source": "https://git.drupalcode.org/project/ctools"
}
},
{
"name": "drupal/danse",
"version": "2.3.6",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/danse.git",
"reference": "2.3.6"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/danse-2.3.6.zip",
"reference": "2.3.6",
"shasum": "9d9e9634dbb32016040a5f8bef85a70dc22757ca"
},
"require": {
"drupal/core": "^10.3 || ^11",
"php": ">=8.1"
},
"require-dev": {
"drupal/eca": "^2.0",
"drupal/push_framework": "^2.3"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "2.3.6",
"datestamp": "1724743561",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "danielspeicher",
"homepage": "https://www.drupal.org/user/3621778"
},
{
"name": "jurgenhaas",
"homepage": "https://www.drupal.org/user/168924"
}
],
"description": "Event driven framework to audit system activity, create notifications from them and allow users to subscribe to them.",
"homepage": "https://www.drupal.org/project/danse",
"keywords": [
"Drupal",
"Notification",
"Subscription"
],
"support": {
"source": "https://drupal.org/project/danse",
"issues": "https://drupal.org/project/issues/danse"
}
},
{
"name": "drupal/danse_content_moderation",
"version": "2.0.0-beta6",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/danse_content_moderation.git",
"reference": "2.0.0-beta6"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/danse_content_moderation-2.0.0-beta6.zip",
"reference": "2.0.0-beta6",
"shasum": "82cef0db38856ed39e1e0259993c66242b87e380"
},
"require": {
"drupal/core": "^8.8 || ^9 || ^10",
"drupal/core_event_dispatcher": "*",
"drupal/danse": "*"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "2.0.0-beta6",
"datestamp": "1682542560",
"security-coverage": {
"status": "not-covered",
"message": "Beta releases are not covered by Drupal security advisories."
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "acrollet",
"homepage": "https://www.drupal.org/user/253909"
},
{
"name": "edmund.dunn",
"homepage": "https://www.drupal.org/user/3534438"
},
{
"name": "natedouglas",
"homepage": "https://www.drupal.org/user/3518344"
}
],
"description": "Creates DANSE events for Content Moderation transitions",
"homepage": "https://www.drupal.org/project/danse_content_moderation",
"support": {
"source": "https://git.drupalcode.org/project/danse_content_moderation"
}
},
{
"name": "drupal/decoupled_router",
"version": "2.0.4",
Expand Down Expand Up @@ -12787,68 +12674,6 @@
"issues": "https://www.drupal.org/project/issues/s3fs"
}
},
{
"name": "drupal/samlauth",
"version": "3.10.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/samlauth.git",
"reference": "8.x-3.10"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/samlauth-8.x-3.10.zip",
"reference": "8.x-3.10",
"shasum": "c7112aa6b765ed9b6879d8d0f39dd9bf5b2c7270"
},
"require": {
"drupal/core": "^9.5 || ^10 || ^11",
"drupal/externalauth": "^1.3 || ^2.0.6",
"onelogin/php-saml": "^3.3.1 || ^4"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-3.10",
"datestamp": "1723060564",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
},
"branch-alias": {
"dev-8.x-3.x": "3.x-dev"
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "cweagans",
"homepage": "https://www.drupal.org/user/404732"
},
{
"name": "japerry",
"homepage": "https://www.drupal.org/user/45640"
},
{
"name": "roderik",
"homepage": "https://www.drupal.org/user/8841"
},
{
"name": "smfsh",
"homepage": "https://www.drupal.org/user/3348892"
}
],
"description": "Allows users to authenticate against an external SAML identity provider.",
"homepage": "http://drupal.org/project/samlauth",
"support": {
"source": "http://cgit.drupalcode.org/samlauth",
"issues": "http://drupal.org/project/samlauth"
}
},
{
"name": "drupal/schemata",
"version": "1.0.0",
Expand Down Expand Up @@ -18210,70 +18035,6 @@
"BSD-2-Clause"
]
},
{
"name": "onelogin/php-saml",
"version": "4.2.0",
"source": {
"type": "git",
"url": "https://github.com/SAML-Toolkits/php-saml.git",
"reference": "d3b5172f137db2f412239432d77253ceaaa1e939"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/SAML-Toolkits/php-saml/zipball/d3b5172f137db2f412239432d77253ceaaa1e939",
"reference": "d3b5172f137db2f412239432d77253ceaaa1e939",
"shasum": ""
},
"require": {
"php": ">=7.3",
"robrichards/xmlseclibs": "^3.1"
},
"require-dev": {
"pdepend/pdepend": "^2.8.0",
"php-coveralls/php-coveralls": "^2.0",
"phploc/phploc": "^4.0 || ^5.0 || ^6.0 || ^7.0",
"phpunit/phpunit": "^9.5",
"sebastian/phpcpd": "^4.0 || ^5.0 || ^6.0 ",
"squizlabs/php_codesniffer": "^3.5.8"
},
"suggest": {
"ext-curl": "Install curl lib to be able to use the IdPMetadataParser for parsing remote XMLs",
"ext-dom": "Install xml lib",
"ext-openssl": "Install openssl lib in order to handle with x509 certs (require to support sign and encryption)",
"ext-zlib": "Install zlib"
},
"type": "library",
"autoload": {
"psr-4": {
"OneLogin\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "PHP SAML Toolkit",
"homepage": "https://github.com/SAML-Toolkits/php-saml",
"keywords": [
"Federation",
"SAML2",
"SSO",
"identity",
"saml"
],
"support": {
"email": "[email protected]",
"issues": "https://github.com/onelogin/SAML-Toolkits/issues",
"source": "https://github.com/onelogin/SAML-Toolkits/"
},
"funding": [
{
"url": "https://github.com/SAML-Toolkits",
"type": "github"
}
],
"time": "2024-05-30T15:10:40+00:00"
},
{
"name": "oomphinc/composer-installers-extender",
"version": "2.0.1",
Expand Down Expand Up @@ -27937,7 +27698,6 @@
"drupal/ckeditor_abbreviation": 15,
"drupal/codit_menu_tools": 15,
"drupal/components": 10,
"drupal/danse_content_moderation": 10,
"drupal/entity_block": 10,
"drupal/entity_clone": 15,
"drupal/entity_diff_ui": 15,
Expand All @@ -27950,6 +27710,7 @@
"drupal/fieldhelptext": 10,
"drupal/flag": 10,
"drupal/graphql_menu": 15,
"drupal/html_tag_usage": 10,
"drupal/image_style_warmer": 5,
"drupal/jsonapi_resources": 10,
"drupal/limited_field_widgets": 15,
Expand All @@ -27968,13 +27729,12 @@
"drupal/simplesamlphp_auth": 5,
"drupal/styleguide": 10,
"drupal/user_history": 15,
"drupal/viewfield": 10,
"drupal/html_tag_usage": 10
"drupal/viewfield": 10
},
"prefer-stable": true,
"prefer-lowest": false,
"platform": [],
"platform-dev": [],
"platform": {},
"platform-dev": {},
"platform-overrides": {
"php": "8.1.30"
},
Expand Down
Loading

0 comments on commit c17f49f

Please sign in to comment.