From d839ec8309527984619c37123d134f3e7efc69ed Mon Sep 17 00:00:00 2001
From: gamille7
Date: Tue, 1 Jul 2025 13:20:53 -0700
Subject: [PATCH 1/6] chore: update gtm documentation to remove ET Enterprise
container references now that we've merged the ET Enterprise Container and
Enterprise Hub Container.
---
.../static-site/src/pages/DataLayerGuide.tsx | 44 +------------------
1 file changed, 1 insertion(+), 43 deletions(-)
diff --git a/packages/static-site/src/pages/DataLayerGuide.tsx b/packages/static-site/src/pages/DataLayerGuide.tsx
index d5ddd8b223..47a020e017 100644
--- a/packages/static-site/src/pages/DataLayerGuide.tsx
+++ b/packages/static-site/src/pages/DataLayerGuide.tsx
@@ -12,10 +12,7 @@ export const bookmarklet = `javascript:(${watchDataLayer.toString()
.replace(/\s+/g, " ")})();`
const gtmCodes = {
- universal: "GTM-KDWN8Z",
- etDev: "GTM-PX7M299",
- etQA: "GTM-W3FGR6T",
- etProd: "GTM-WPVTBHL",
+ universal: "GTM-KDWN8Z"
};
const GtmCodeExample: FC<{ gtmCode: string }> = ({ gtmCode }) => {
@@ -92,27 +89,6 @@ const DataLayerGuide = () => {
bundled.
- Benefits of Becoming part of GTM Product Community:
-
-
- Receive consultation/assistance with GTM implementation and
- maintenance
-
-
- Receive information on any changes being made to Enterprise UTO
- GTM and how any changes might affect your site
-
- Provide feedback for any changes submitted
-
- Become a member of the larger GTM community as a member of a
- private slack channel to keep up with all the latest GTM news
-
-
- Coming Soon — Link to Service Now Request to register site –
- https://asu.service-now.com/xxxxxxx
-
-
-
Best Practices for Implementing GTM
Install on test site first
@@ -154,15 +130,6 @@ const DataLayerGuide = () => {
Most ASU sites should implement the ASU Universal GTM.
-
- Enterprise sites should implement the ASU Enterprise QA GTM on their
- "DEV" environment, and the ASU Enterprise Production GTM on their
- "QA" and "Production" environments. This may be configured using
- environmental variables. Each environment has its own GTM ID
- associated with it and care must be taken to use the appropriate GTM
- ID for each application environment.
-
-
Some units have their own GTM IDs. When multiple GTM IDs need to be
used in a single site or application, follow the guidance on{" "}
@@ -175,15 +142,6 @@ const DataLayerGuide = () => {
ASU universal GTM code
- ET Enterprise Webapp Development GTM
-
-
- ET Enterprise Webapp QA GTM
-
-
- ET Enterprise Webapp Production GTM
-
-
Adding the data layer
From 5b43824eb863173bee78cf6a2b168dad26b18959 Mon Sep 17 00:00:00 2001
From: gamille7
Date: Tue, 1 Jul 2025 13:57:10 -0700
Subject: [PATCH 2/6] UDS-1941: Cookie Consent Opt Out in Footer
---
.../src/footer/components/Legal/index.js | 24 +-
.../global-footer/global-footer.templates.js | 224 +++++++++++-------
2 files changed, 150 insertions(+), 98 deletions(-)
diff --git a/packages/component-header-footer/src/footer/components/Legal/index.js b/packages/component-header-footer/src/footer/components/Legal/index.js
index 866ebc2ed4..1754f7611e 100644
--- a/packages/component-header-footer/src/footer/components/Legal/index.js
+++ b/packages/component-header-footer/src/footer/components/Legal/index.js
@@ -55,40 +55,46 @@ const Legal = () => {
trackGAEvent({
...DEFAULT_GA_EVENT,
- text: "privacy",
+ text: "terms of use",
})
}
>
- Privacy
+ Terms of Use
trackGAEvent({
...DEFAULT_GA_EVENT,
- text: "terms of use",
+ text: "emergency",
})
}
>
- Terms of Use
+ Emergency
trackGAEvent({
...DEFAULT_GA_EVENT,
- text: "emergency",
+ text: "privacy",
})
}
>
- Emergency
+ Privacy
+
+ Manage my privacy settings
+
diff --git a/packages/unity-bootstrap-theme/stories/organisms/global-footer/global-footer.templates.js b/packages/unity-bootstrap-theme/stories/organisms/global-footer/global-footer.templates.js
index 3b60a7b857..16d42c81fb 100644
--- a/packages/unity-bootstrap-theme/stories/organisms/global-footer/global-footer.templates.js
+++ b/packages/unity-bootstrap-theme/stories/organisms/global-footer/global-footer.templates.js
@@ -109,15 +109,6 @@ export const GlobalElementsOnly = () => (
>
Accessibility
-
- Privacy
-
(
>
Emergency
-
+
+ Privacy
+
+
+ Manage my privacy settings
+
@@ -340,15 +345,6 @@ export const ZeroColumns = () => (
>
Accessibility
-
- Privacy
-
(
>
Emergency
-
+
+ Privacy
+
+
+ Manage my privacy settings
+
@@ -591,15 +601,6 @@ export const OneColumn = () => (
>
Accessibility
-
- Privacy
-
(
>
Emergency
-
+
+ Privacy
+
+
+ Manage my privacy settings
+
@@ -753,15 +768,6 @@ export const OneColumnNoLogoOrSocial = () => (
>
Accessibility
-
- Privacy
-
(
>
Emergency
-
+
+ Privacy
+
+
+ Manage my privacy settings
+
@@ -1049,15 +1069,6 @@ export const TwoColumns = () => (
>
Accessibility
-
- Privacy
-
(
>
Emergency
-
+
+ Privacy
+
+
+ Manage my privacy settings
+
@@ -1393,15 +1418,6 @@ export const ThreeColumns = () => (
>
Accessibility
-
- Privacy
-
(
>
Emergency
-
+
+ Privacy
+
+
+ Manage my privacy settings
+
@@ -1785,15 +1815,6 @@ export const FourColumns = () => (
>
Accessibility
-
- Privacy
-
(
>
Emergency
-
+
+ Privacy
+
+
+ Manage my privacy settings
+
@@ -2225,15 +2260,6 @@ export const FiveColumns = () => (
>
Accessibility
-
- Privacy
-
(
>
Emergency
-
+
+ Privacy
+
+
+ Manage my privacy settings
+
@@ -2708,15 +2748,6 @@ export const SixColumns = () => (
>
Accessibility
-
- Privacy
-
(
>
Emergency
+
+ Privacy
+
+
+ Manage my privacy settings
+
From f7cff2084614f88213535d5c3f186d508c5eff1d Mon Sep 17 00:00:00 2001
From: gamille7
Date: Tue, 1 Jul 2025 14:20:48 -0700
Subject: [PATCH 3/6] fix: button type for cookie consent opt out is now a
button
---
.../component-header-footer/src/footer/components/Legal/index.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/packages/component-header-footer/src/footer/components/Legal/index.js b/packages/component-header-footer/src/footer/components/Legal/index.js
index 1754f7611e..0f5fdb16c5 100644
--- a/packages/component-header-footer/src/footer/components/Legal/index.js
+++ b/packages/component-header-footer/src/footer/components/Legal/index.js
@@ -90,6 +90,7 @@ const Legal = () => {
Privacy
From b028c9fb6ba32aeaa6dd1dbfb1cdf572e2356740 Mon Sep 17 00:00:00 2001
From: gamille7
Date: Thu, 3 Jul 2025 12:48:04 -0700
Subject: [PATCH 4/6] fix: styles for manual consent opt out
---
.../src/footer/components/Legal/index.js | 6 +-----
.../src/footer/index.styles.js | 3 ++-
.../src/scss/extends/_globalfooter.scss | 21 +++++++++++++++++++
.../global-footer/global-footer.templates.js | 18 ++++++++--------
4 files changed, 33 insertions(+), 15 deletions(-)
diff --git a/packages/component-header-footer/src/footer/components/Legal/index.js b/packages/component-header-footer/src/footer/components/Legal/index.js
index 0f5fdb16c5..ab9ac6a1a2 100644
--- a/packages/component-header-footer/src/footer/components/Legal/index.js
+++ b/packages/component-header-footer/src/footer/components/Legal/index.js
@@ -89,11 +89,7 @@ const Legal = () => {
>
Privacy
-
+
Manage my privacy settings
diff --git a/packages/component-header-footer/src/footer/index.styles.js b/packages/component-header-footer/src/footer/index.styles.js
index 38b283b024..df5b284c6a 100644
--- a/packages/component-header-footer/src/footer/index.styles.js
+++ b/packages/component-header-footer/src/footer/index.styles.js
@@ -32,7 +32,8 @@ const StyledFooter = styled.footer`
a:focus,
button:focus {
outline: none;
- box-shadow: 0 0 0 2px var(--color-base-white), 0 0 0 4px var(--color-base-grey-7) !important;
+ box-shadow: 0 0 0 2px var(--color-base-white),
+ 0 0 0 4px var(--color-base-grey-7) !important;
-webkit-tap-highlight-color: transparent;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
diff --git a/packages/unity-bootstrap-theme/src/scss/extends/_globalfooter.scss b/packages/unity-bootstrap-theme/src/scss/extends/_globalfooter.scss
index d65dbe0766..df87b13c6e 100644
--- a/packages/unity-bootstrap-theme/src/scss/extends/_globalfooter.scss
+++ b/packages/unity-bootstrap-theme/src/scss/extends/_globalfooter.scss
@@ -350,3 +350,24 @@ footer {
@include nav-to-grid;
}
}
+
+/*------------------------------------------------------------------
+8. Footer Colophon - Cookie Consent
+--------------------------------------------------------------------*/
+.footer-legal-links,
+.footer-menu,
+.nav {
+ &.colophon #manualConsentoptout, #manualConsentoptout {
+ color: $uds-color-base-gray-5;
+ border: none;
+ background-color: transparent;
+ width: auto;
+ cursor: pointer;
+ padding: 0;
+ text-align: right;
+ justify-self: end;
+ &:hover {
+ text-decoration: underline;
+ }
+ }
+}
diff --git a/packages/unity-bootstrap-theme/stories/organisms/global-footer/global-footer.templates.js b/packages/unity-bootstrap-theme/stories/organisms/global-footer/global-footer.templates.js
index 16d42c81fb..5f6e37fc22 100644
--- a/packages/unity-bootstrap-theme/stories/organisms/global-footer/global-footer.templates.js
+++ b/packages/unity-bootstrap-theme/stories/organisms/global-footer/global-footer.templates.js
@@ -137,8 +137,8 @@ export const GlobalElementsOnly = () => (
Privacy
Manage my privacy settings
@@ -373,8 +373,8 @@ export const ZeroColumns = () => (
Privacy
Manage my privacy settings
@@ -629,8 +629,8 @@ export const OneColumn = () => (
Privacy
Manage my privacy settings
@@ -796,8 +796,8 @@ export const OneColumnNoLogoOrSocial = () => (
Privacy
Manage my privacy settings
@@ -1097,8 +1097,8 @@ export const TwoColumns = () => (
Privacy
Manage my privacy settings
@@ -1446,8 +1446,8 @@ export const ThreeColumns = () => (
Privacy
Manage my privacy settings
@@ -1843,8 +1843,8 @@ export const FourColumns = () => (
Privacy
Manage my privacy settings
@@ -2288,8 +2288,8 @@ export const FiveColumns = () => (
Privacy
Manage my privacy settings
@@ -2776,8 +2776,8 @@ export const SixColumns = () => (
Privacy
Manage my privacy settings
From 35f4452c3c32ff13c71dbbac5c9386774b3bf001 Mon Sep 17 00:00:00 2001
From: gamille7
Date: Thu, 3 Jul 2025 13:40:56 -0700
Subject: [PATCH 5/6] fix: styles for manual consent opt out version 2
---
.../src/footer/index.styles.js | 21 +++++++++++++++++++
.../src/scss/extends/_globalfooter.scss | 6 ++++--
2 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/packages/component-header-footer/src/footer/index.styles.js b/packages/component-header-footer/src/footer/index.styles.js
index df5b284c6a..9422167b06 100644
--- a/packages/component-header-footer/src/footer/index.styles.js
+++ b/packages/component-header-footer/src/footer/index.styles.js
@@ -412,6 +412,27 @@ const StyledFooter = styled.footer`
}
}
+ //footer manual consent opt-out
+ .footer-legal-links,
+ .footer-menu,
+ .nav {
+ &.colophon #manualConsentoptout,
+ #manualConsentoptout {
+ color: #747474;
+ border: none;
+ background-color: transparent;
+ width: auto;
+ cursor: pointer;
+ padding: 0;
+ text-align: right;
+ justify-self: end;
+ font-size: 1rem;
+ &:hover {
+ text-decoration: underline;
+ }
+ }
+ }
+
// Bootstrap Default Stylings
.row {
--bs-gutter-x: 24px;
diff --git a/packages/unity-bootstrap-theme/src/scss/extends/_globalfooter.scss b/packages/unity-bootstrap-theme/src/scss/extends/_globalfooter.scss
index df87b13c6e..b01e5e28ea 100644
--- a/packages/unity-bootstrap-theme/src/scss/extends/_globalfooter.scss
+++ b/packages/unity-bootstrap-theme/src/scss/extends/_globalfooter.scss
@@ -357,8 +357,9 @@ footer {
.footer-legal-links,
.footer-menu,
.nav {
- &.colophon #manualConsentoptout, #manualConsentoptout {
- color: $uds-color-base-gray-5;
+ &.colophon #manualConsentoptout,
+ #manualConsentoptout {
+ color: #747474;
border: none;
background-color: transparent;
width: auto;
@@ -366,6 +367,7 @@ footer {
padding: 0;
text-align: right;
justify-self: end;
+ font-size: 1rem;
&:hover {
text-decoration: underline;
}
From fd022c45ca846c1fa1e2213e951fa431e2b483a6 Mon Sep 17 00:00:00 2001
From: gamille7
Date: Fri, 11 Jul 2025 12:38:26 -0700
Subject: [PATCH 6/6] fix(component-header-footer): updating footer to included
privacy button
---
packages/component-header-footer/src/footer/index.styles.js | 2 +-
.../unity-bootstrap-theme/src/scss/extends/_globalfooter.scss | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/packages/component-header-footer/src/footer/index.styles.js b/packages/component-header-footer/src/footer/index.styles.js
index 9422167b06..2d9781b7af 100644
--- a/packages/component-header-footer/src/footer/index.styles.js
+++ b/packages/component-header-footer/src/footer/index.styles.js
@@ -418,7 +418,7 @@ const StyledFooter = styled.footer`
.nav {
&.colophon #manualConsentoptout,
#manualConsentoptout {
- color: #747474;
+ color: #484848;
border: none;
background-color: transparent;
width: auto;
diff --git a/packages/unity-bootstrap-theme/src/scss/extends/_globalfooter.scss b/packages/unity-bootstrap-theme/src/scss/extends/_globalfooter.scss
index b01e5e28ea..f7e3938256 100644
--- a/packages/unity-bootstrap-theme/src/scss/extends/_globalfooter.scss
+++ b/packages/unity-bootstrap-theme/src/scss/extends/_globalfooter.scss
@@ -359,7 +359,7 @@ footer {
.nav {
&.colophon #manualConsentoptout,
#manualConsentoptout {
- color: #747474;
+ color: #484848;
border: none;
background-color: transparent;
width: auto;