Skip to content

Comments

Add Google Analytics & fixed chat widget#277

Merged
alexander-sei merged 2 commits intomainfrom
feature/google-analytics
Apr 3, 2025
Merged

Add Google Analytics & fixed chat widget#277
alexander-sei merged 2 commits intomainfrom
feature/google-analytics

Conversation

@codebycarson
Copy link
Contributor

@codebycarson codebycarson commented Apr 2, 2025

What is the purpose of the change?

Add Google Analytics to the docs so we can see the pages that are most viewed as well as track any custom events. Additionally it fixes the support chat widget by using the Script tag from nextjs itself, rather than the standard HTML script tag.

Describe the changes to the documentation

Adds a simple Google Analytics script with the correct environment ID. Replaces script tag.

Notes

Can view the events going out in the debug network tab or in Google Analytics itself.

Preview Build: https://feature-google-analytics.d6a0j0qs0ri14.amplifyapp.com/

@codebycarson codebycarson marked this pull request as ready for review April 3, 2025 06:42
@codebycarson codebycarson requested a review from a team as a code owner April 3, 2025 06:42
@codebycarson codebycarson changed the title Add Google Analytics Add Google Analytics & fixed chat widget Apr 3, 2025
@alexander-sei alexander-sei merged commit 62dd304 into main Apr 3, 2025
1 check passed
@alexander-sei alexander-sei deleted the feature/google-analytics branch April 3, 2025 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants