2023-12-09 14:47:03 +00:00
|
|
|
<template>
|
2024-02-22 15:56:35 +00:00
|
|
|
<div class="w-full md:w-4/5 lg:w-3/5 md:mx-auto md:max-w-4xl p-4">
|
2023-12-09 14:47:03 +00:00
|
|
|
<h3 class="font-semibold mt-4 text-xl">
|
|
|
|
Form Analytics (last 30 days)
|
|
|
|
</h3>
|
|
|
|
<form-stats :form="form"/>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2024-02-06 08:59:43 +00:00
|
|
|
<script setup>
|
|
|
|
import FormStats from '~/components/open/forms/components/FormStats.vue'
|
2023-12-09 14:47:03 +00:00
|
|
|
|
2024-02-06 08:59:43 +00:00
|
|
|
const props = defineProps({
|
|
|
|
form: {type: Object, required: true}
|
|
|
|
})
|
2023-12-20 17:38:43 +00:00
|
|
|
|
2024-02-06 08:59:43 +00:00
|
|
|
definePageMeta({
|
|
|
|
middleware: "auth"
|
|
|
|
})
|
|
|
|
useOpnSeoMeta({
|
|
|
|
title: (props.form) ? 'Form Analytics - ' + props.form.title : 'Form Analytics'
|
|
|
|
})
|
2023-12-09 14:47:03 +00:00
|
|
|
</script>
|