mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Stop double-tracking page views for HubSpot
This commit is contained in:
@@ -30,12 +30,6 @@ defmodule Web.AnalyticsComponents do
|
||||
src={"//js.hs-analytics.net/analytics/1716219600000/#{@hubspot_workspace_id}.js"}
|
||||
>
|
||||
</script>
|
||||
<script :if={not is_nil(@hubspot_workspace_id)} type="text/javascript">
|
||||
var _hsq = window._hsq = window._hsq || [];
|
||||
_hsq.push(['setContentType', 'standard-page']);
|
||||
_hsq.push(['setPath', window.location.pathname]);
|
||||
_hsq.push(['trackPageView']);
|
||||
</script>
|
||||
"""
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user