From 669678cae12fe98989d67201572e3e74946d2196 Mon Sep 17 00:00:00 2001 From: Ben Date: Sun, 17 Apr 2022 18:56:42 -0500 Subject: [PATCH 1/2] docs: Correct link in google analytics example --- examples/google-analytics/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/google-analytics/README.md b/examples/google-analytics/README.md index 310571866ab..c46c6deaf3d 100644 --- a/examples/google-analytics/README.md +++ b/examples/google-analytics/README.md @@ -12,7 +12,7 @@ Open this example on [CodeSandbox](https://codesandbox.com): This example shows how to use Google analytics with Remix. -First you have to get the Google analytics ID and add that key in the [app/utils/gtags.ts](./app/utils/gtags.ts) file. +First you have to get the Google analytics ID and add that key in the [app/utils/gtags.ts](./app/utils/gtags.client.ts) file. Check [app/root.tsx](./app/root.tsx) where page tracking code is added. For tracking events check [app/routes/contact.tsx](./app/routes/contact.tsx) file. From f6eab3d18a94ec0706fba5362fbdbc6a7d12650d Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Mon, 18 Apr 2022 10:52:30 +0100 Subject: [PATCH 2/2] Update examples/google-analytics/README.md --- examples/google-analytics/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/google-analytics/README.md b/examples/google-analytics/README.md index c46c6deaf3d..0168107b493 100644 --- a/examples/google-analytics/README.md +++ b/examples/google-analytics/README.md @@ -12,7 +12,7 @@ Open this example on [CodeSandbox](https://codesandbox.com): This example shows how to use Google analytics with Remix. -First you have to get the Google analytics ID and add that key in the [app/utils/gtags.ts](./app/utils/gtags.client.ts) file. +First you have to get the Google analytics ID and add that key in the [app/utils/gtags.client.ts](./app/utils/gtags.client.ts) file. Check [app/root.tsx](./app/root.tsx) where page tracking code is added. For tracking events check [app/routes/contact.tsx](./app/routes/contact.tsx) file.