Skip to content

Commit

Permalink
Merge pull request #191 from pulibrary/issue-190-plausible
Browse files Browse the repository at this point in the history
Update to use new site domain with Plausible
  • Loading branch information
kelynch authored Mar 3, 2022
2 parents 5c3e5a3 + ff6fa34 commit 62a36d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/shared/_plausible.html.erb
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<script defer data-domain="pdc-discovery-staging.princeton.edu" src="https://plausible.io/js/plausible.js"></script>
<script defer data-domain="datacommons.princeton.edu/discovery" src="https://plausible.io/js/plausible.js"></script>
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
3 changes: 1 addition & 2 deletions config/pdc_discovery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ development:
test:
<<: *default

# TODO: switch plausible_site_id to production id once we create one in Plausible
production:
<<: *default
dataspace_url: <%= ENV["DATASPACE_URL"] %>
plausible_site_id: <%= "pdc-discovery-staging.princeton.edu" %>
plausible_site_id: <%= "datacommons.princeton.edu/discovery" %>

staging:
<<: *default
Expand Down

0 comments on commit 62a36d6

Please sign in to comment.