Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
Fix tracking-code intl message not rendering due to unescaped HTML tags
Mike Cao8227a99c0aee
diff --git a/public/intl/messages/en-US.json b/public/intl/messages/en-US.jsonindex fc29387ec..9a5ef402e 100644--- a/public/intl/messages/en-US.json+++ b/public/intl/messages/en-US.json@@ -419,7 +419,7 @@"team-already-member": "You are already a member of the team.","team-not-found": "Team not found.","team-websites-info": "Websites can be viewed by anyone on the team.",- "tracking-code": "To track stats for this website, place the following code in the <head>...</head> section of your HTML.",+ "tracking-code": "To track stats for this website, place the following code in the '<head>...</head>' section of your HTML.","transfer-team-website-to-user": "Transfer this website to your account?","transfer-user-website-to-team": "Select the team to transfer this website to.","transfer-website": "Transfer website ownership to your account or another team.",diff --git a/src/app/(main)/websites/[websiteId]/replays/ReplaysPage.tsx b/src/app/(main)/websites/[websiteId]/replays/ReplaysPage.tsxindex 217908a4a..ecd1b52e7 100644--- a/src/app/(main)/websites/[websiteId]/replays/ReplaysPage.tsx+++ b/src/app/(main)/websites/[websiteId]/replays/ReplaysPage.tsx@@ -16,14 +16,14 @@ const KEY_NAME = 'umami.replays.tab';export function ReplaysPage({ websiteId }: { websiteId: string }) {const [tab, setTab] = useState(getItem(KEY_NAME) || 'replays');const { t, labels, messages } = useMessages();- const { hasFeature, hasSubscription, cloudMode } = useSubscription();+ const { hasFeature, cloudMode } = useSubscription();const handleSelect = (value: Key) => {setItem(KEY_NAME, value);setTab(value);};- if (cloudMode && hasSubscription && !hasFeature('replays')) {+ if (cloudMode && !hasFeature('replays')) {return (<Column gap="3"><Panel>