Skip to content

Commit

Permalink
Want to preserve some params as per plausible docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Nov 19, 2024
1 parent 763ce1d commit 09749a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/application/_html_head.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<script defer data-domain="planningalerts.org.au" src="/js/script.manual.js"></script>
<script>
window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }
plausible('pageview', { u: "https://www.planningalerts.org.au<%= request.route_uri_pattern.gsub("(.:format)", "") %>" });
plausible('pageview', { u: "https://www.planningalerts.org.au<%= request.route_uri_pattern.gsub("(.:format)", "") %>" + window.location.search });
</script>
<% end %>

Expand Down

0 comments on commit 09749a1

Please sign in to comment.