Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Umami script URL to v2 version #638

Merged
merged 1 commit into from
Jan 10, 2024
Merged

Update Umami script URL to v2 version #638

merged 1 commit into from
Jan 10, 2024

Conversation

cstephen
Copy link
Contributor

@cstephen cstephen commented Nov 9, 2023

This PR updates the Umami script URL to work with Umami v2. I.e., umami.js was changed to script.js.

You will need the Umami v2 Vagrant VM to test against. If you do not already have this set up, refer to the Vagrant instructions in ua-snap/nccwsc-projects#154.

With the Vagrant VM running, and assuming Umami's port is forwarded to port 9999 of the host, simply change the Umami config in nuxt.config.js to:

umami: {
  scriptUrl: 'http://localhost:9999/script.js',
  websiteId: '2e69a077-ba5f-49c5-b076-09a44ab6fafd',
  ignoreDnt: false,
  // domains: 'northernclimatereports.org',
  ignoreLocalhost: true,
},

Then run NCR locally and verify that your traffic shows up here: http://localhost:9999/websites/2e69a077-ba5f-49c5-b076-09a44ab6fafd

@cstephen cstephen requested a review from BobTorgerson November 9, 2023 22:29
@cstephen cstephen marked this pull request as draft November 27, 2023 20:38
@cstephen cstephen requested review from brucecrevensten and removed request for BobTorgerson November 27, 2023 20:41
@cstephen cstephen marked this pull request as ready for review December 13, 2023 21:02
@cstephen cstephen removed the request for review from brucecrevensten January 10, 2024 20:28
@cstephen cstephen self-assigned this Jan 10, 2024
@cstephen cstephen merged commit cda66cb into main Jan 10, 2024
1 check failed
@cstephen cstephen deleted the umami_upgrade branch January 10, 2024 20:31
@cstephen cstephen removed their assignment Jan 10, 2024
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.

1 participant