import React, { useRef } from 'react'; import { FormattedMessage } from 'react-intl'; import { useRouter } from 'next/router'; import Button from 'components/common/Button'; import FormLayout, { FormButtons, FormRow } from 'components/layout/FormLayout'; import CopyButton from 'components/common/CopyButton'; const scriptName = process.env.TRACKER_SCRIPT_NAME || 'umami'; export default function TrackingCodeForm({ values, onClose }) { const ref = useRef(); const { basePath } = useRouter(); return (

', target: {values.name} }} />