Fix tracking code display.

This commit is contained in:
Mike Cao 2020-08-18 22:37:12 -07:00
parent 2d69b3087f
commit 774a7dfdbc
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ export default function TrackingCodeForm({ values, onClose }) {
rows={3}
cols={60}
spellCheck={false}
defaultValue={`<script async defer data-website-id="${values.website_uuid}" src="${document.location.origin}/umami.js" />`}
defaultValue={`<script async defer data-website-id="${values.website_uuid}" src="${document.location.origin}/umami.js"></script>`}
readOnly
/>
</FormRow>

View File

@ -1,6 +1,6 @@
{
"name": "umami",
"version": "0.5.0",
"version": "0.6.0",
"description": "A simple, fast, website analytics alternative to Google Analytics. ",
"author": "Mike Cao <mike@mikecao.com>",
"license": "MIT",