From 28cf1870c5a5bcc46c952090d77ab2c4237d46e2 Mon Sep 17 00:00:00 2001 From: Amarantha Kulkarni Date: Thu, 21 Mar 2024 13:11:16 -0700 Subject: [PATCH 1/2] Following changes in PR#2469, add redirects for old URLs --- redirects.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/redirects.yaml b/redirects.yaml index a04b1f6e5f..29b0cf3a4b 100644 --- a/redirects.yaml +++ b/redirects.yaml @@ -2188,3 +2188,15 @@ blog/2014/curves-with-a-twist.html: blog/2014/introducing-ripple-names.html: to: /blog/2014/introducing-ripple-names type: 301 +code_of_conduct/: + to: /code-of-conduct + type: 301 +code_of_conduct: + to: /code-of-conduct + type: 301 +code_of_conduct.ja/: + to: /ja/code-of-conduct + type: 301 +code_of_conduct.ja: + to: /ja/code-of-conduct + type: 301 \ No newline at end of file From 9f83aab18fb92e248f3f61f47eca626ad6d8f386 Mon Sep 17 00:00:00 2001 From: Amarantha Kulkarni Date: Thu, 21 Mar 2024 13:35:50 -0700 Subject: [PATCH 2/2] Replace GA with GTM for analytics --- redocly.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/redocly.yaml b/redocly.yaml index a943084857..fba0475f37 100644 --- a/redocly.yaml +++ b/redocly.yaml @@ -20,9 +20,12 @@ rbac: xrpl-org-editors: maintain theme: analytics: - ga: - head: true - trackingId: G-S5X05HNXVX + gtm: + includeInDevelopment: true + trackingId: GTM-KCQZ3L8 + defaultDataLayer: + platform: redocly + enableWebVitalsTracking: true scripts: head: - src: https://cmp.osano.com/AzyjT6TIZMlgyLyy8/f11f7772-8ed5-4b73-bd17-c0814edcc440/osano.js