File size: 14,634 Bytes
cc91175
 
 
 
 
1ec9c3d
 
cc91175
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74997e1
e4d8e74
74997e1
 
e4d8e74
 
e8570a0
3cab2c9
 
74997e1
4410edf
 
c5efe13
 
6a41dfd
4410edf
cc91175
 
 
 
 
 
 
 
 
 
c5efe13
 
cc91175
 
 
 
 
 
 
 
 
c5efe13
 
cc91175
 
 
 
 
 
 
 
 
c5efe13
 
cc91175
 
 
 
 
 
 
 
 
c5efe13
 
cc91175
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a89e7bc
 
9f9520b
cc91175
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c5efe13
878b189
cc91175
 
c5efe13
 
cc91175
 
c5efe13
 
cc91175
 
c5efe13
 
cc91175
 
c5efe13
 
cc91175
 
c5efe13
 
cc91175
 
c5efe13
 
cc91175
 
c5efe13
 
cc91175
 
 
 
 
 
1106bb1
 
 
 
293b201
 
1106bb1
 
 
 
 
 
 
cc91175
1106bb1
cc91175
 
 
 
 
 
 
c5efe13
 
 
cc91175
2d02bf7
 
c5efe13
 
5a923c2
cc91175
 
 
 
 
 
 
 
 
878b189
 
cc91175
 
1415eb9
cc91175
 
 
1415eb9
cc91175
 
 
 
 
 
 
c5efe13
 
cc91175
 
5a923c2
 
cc91175
 
 
5a923c2
 
cc91175
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c5efe13
 
cc91175
 
 
 
 
 
 
c5efe13
 
5a923c2
 
cc91175
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9f9520b
cc91175
 
73107dc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Tulsa Animal Urgent Care Performance Report</title>
<script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
        body {
            font-family: 'Inter', sans-serif;
        }
        .gradient-bg {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .transition-all {
            transition: all 0.3s ease;
        }
    </style>
</head>
<body class="gradient-bg min-h-screen">
    <div class="container mx-auto px-4 py-8">
        <!-- Header -->
        <header class="mb-10">
            <div class="flex flex-col items-center mb-6">
                <img src="https://huggingface.co/spaces/TraceMDM/august-analytics-alchemy/resolve/main/images/Tulsa-Animal-Urgent-Care-Logo-email.png" 
                     alt="Tulsa Animal Urgent Care Logo" 
                     class="h-16 mb-4">
                <div class="text-center">
<h1 class="text-4xl font-bold text-gray-800 mb-2 text-center w-full">Tulsa Animal Urgent Care Performance Report</h1>
<p class="text-xl text-gray-600 text-center">Key metrics and visualizations for your advertising campaign</p>
</div>
            </div>
<div class="mt-6 flex justify-center space-x-3">
                <span class="inline-flex items-center px-4 py-2 rounded-full text-sm font-medium bg-indigo-100 text-indigo-800">
                    <i data-feather="calendar" class="w-4 h-4 mr-2"></i> September 2025
</span>
</div>
</header>

        <!-- Metrics Overview -->
        <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-10">
            <div class="bg-white rounded-xl shadow-md p-6 transition-all card-hover">
                <div class="flex items-center">
                    <div class="p-3 rounded-lg bg-blue-100 text-blue-600 mr-4">
                        <i data-feather="mouse-pointer" class="w-6 h-6"></i>
                    </div>
                    <div>
                        <p class="text-gray-500 text-sm">Clicks</p>
                        <h3 class="text-2xl font-bold text-gray-800">1.49k</h3>
</div>
                </div>
            </div>
            <div class="bg-white rounded-xl shadow-md p-6 transition-all card-hover">
                <div class="flex items-center">
                    <div class="p-3 rounded-lg bg-purple-100 text-purple-600 mr-4">
                        <i data-feather="eye" class="w-6 h-6"></i>
                    </div>
                    <div>
                        <p class="text-gray-500 text-sm">Impressions</p>
                        <h3 class="text-2xl font-bold text-gray-800">21.7k</h3>
</div>
                </div>
            </div>
            <div class="bg-white rounded-xl shadow-md p-6 transition-all card-hover">
                <div class="flex items-center">
                    <div class="p-3 rounded-lg bg-yellow-100 text-yellow-600 mr-4">
                        <i data-feather="dollar-sign" class="w-6 h-6"></i>
                    </div>
                    <div>
                        <p class="text-gray-500 text-sm">Avg. CPC</p>
                        <h3 class="text-2xl font-bold text-gray-800">$2.69</h3>
</div>
                </div>
            </div>
            <div class="bg-white rounded-xl shadow-md p-6 transition-all card-hover">
                <div class="flex items-center">
                    <div class="p-3 rounded-lg bg-green-100 text-green-600 mr-4">
                        <i data-feather="shopping-bag" class="w-6 h-6"></i>
                    </div>
                    <div>
                        <p class="text-gray-500 text-sm">Conversions</p>
                        <h3 class="text-2xl font-bold text-gray-800">103</h3>
</div>
                </div>
            </div>
        </div>

        <!-- Main Charts Section -->
        <div class="grid grid-cols-1 lg:grid-cols-2 gap-8 mb-10">
            <!-- Bar Chart -->
            <div class="bg-white rounded-xl shadow-md p-6 transition-all card-hover">
                <h2 class="text-xl font-semibold text-gray-800 mb-4 flex items-center">
                    <i data-feather="bar-chart-2" class="w-5 h-5 mr-2 text-blue-500"></i>
                    Engagement Metrics Comparison
                </h2>
                <div class="h-80">
                    <canvas id="barChart"></canvas>
                </div>
            </div>

            <!-- Line Chart -->
            <div class="bg-white rounded-xl shadow-md p-6 transition-all card-hover">
                <h2 class="text-xl font-semibold text-gray-800 mb-4 flex items-center">
                    <i data-feather="activity" class="w-5 h-5 mr-2 text-purple-500"></i>
                    Cost Trends Over Time
                </h2>
                <div class="h-80">
                    <canvas id="lineChart"></canvas>
                </div>
            </div>
        </div>
        <!-- Data Table -->
        <div class="mb-10">
<!-- Data Table -->
            <div class="bg-white rounded-xl shadow-md p-6 transition-all card-hover">
                <h2 class="text-xl font-semibold text-gray-800 mb-4 flex items-center">
                    <i data-feather="grid" class="w-5 h-5 mr-2 text-yellow-500"></i>
                    August Performance Summary
                </h2>
                <div class="overflow-x-auto">
                    <table class="min-w-full divide-y divide-gray-200">
                        <thead class="bg-gray-50">
                            <tr>
                                <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Metric</th>
                                <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Value</th>
                            </tr>
                        </thead>
                        <tbody class="bg-white divide-y divide-gray-200">
                            <tr>
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Month</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">September 2025</td>
</tr>
                            <tr>
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Clicks</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">1,490</td>
</tr>
                            <tr>
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Impressions</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">21,700</td>
</tr>
                            <tr>
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Avg. CPC</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$2.69</td>
</tr>
                            <tr>
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Cost</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$4,010</td>
</tr>
                            <tr>
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Cost/Conv.</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$38.93</td>
</tr>
                            <tr>
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Conversions</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">103</td>
</tr>
                            <tr>
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Conv. Rate</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">6.91%</td>
</tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>

        <!-- Screenshot Block -->
        <div class="bg-white rounded-xl shadow-md p-6 transition-all card-hover mb-10">
            <h2 class="text-xl font-semibold text-gray-800 mb-4 flex items-center">
                <i data-feather="image" class="w-5 h-5 mr-2 text-blue-500"></i>
                Keyword Report
</h2>
            <div class="flex justify-center">
                <img src="https://huggingface.co/spaces/TraceMDM/august-analytics-alchemy/resolve/main/images/Screenshot%202025-09-25%20111427.png" 
                     alt="Campaign Performance Screenshot" 
                     class="w-full max-w-4xl rounded-lg border border-gray-200">
            </div>
        </div>

        <!-- Insights Section -->
<div class="mt-10 bg-white rounded-xl shadow-md p-6 transition-all card-hover">
            <h2 class="text-xl font-semibold text-gray-800 mb-4 flex items-center">
                <i data-feather="zap" class="w-5 h-5 mr-2 text-orange-500"></i>
                Key Insights
            </h2>
            <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
                <div class="p-4 border-l-4 border-blue-500 bg-blue-50 rounded-r-lg">
                    <h3 class="font-medium text-blue-800 mb-2">Strong Engagement</h3>
                    <p class="text-sm text-gray-600">
                    With 21.7k impressions and 1.49k clicks, your ads are effectively capturing attention.
</p>
                </div>
                <div class="p-4 border-l-4 border-green-500 bg-green-50 rounded-r-lg">
                    <h3 class="font-medium text-green-800 mb-2">Healthy Conversion Rate</h3>
                    <p class="text-sm text-gray-600">
                    At <span class="font-bold text-green-600">6.91%</span>, your conversion rate outperforms many industry benchmarks.</p>
</div>
                <div class="p-4 border-l-4 border-purple-500 bg-purple-50 rounded-r-lg">
                    <h3 class="font-medium text-purple-800 mb-2">Cost Efficiency</h3>
                    <p class="text-sm text-gray-600">$3.02 average CPC suggests efficient spending compared to your conversion value.</p>
                </div>
            </div>
        </div>

        <!-- Footer -->
        <footer class="mt-12 text-center text-gray-500 text-sm">
            <p>Generated on September 1, 2025 • Last updated 2 hours ago</p>
<p class="mt-2">Need help interpreting these results? <a href="#" class="text-indigo-600 hover:underline">Contact our analytics team</a></p>
        </footer>
    </div>
        <script>
        // Initialize charts when DOM is loaded
        document.addEventListener('DOMContentLoaded', function() {
            feather.replace();
// Bar Chart
            const barCtx = document.getElementById('barChart').getContext('2d');
            new Chart(barCtx, {
                type: 'bar',
                data: {
                    labels: ['Clicks', 'Impressions', 'Conversions'],
                    datasets: [{
                        label: 'Count',
                    data: [1490, 21700, 103],
backgroundColor: [
                            'rgba(59, 130, 246, 0.7)',
                            'rgba(124, 58, 237, 0.7)',
                            'rgba(220, 38, 38, 0.7)'
],
                        borderColor: [
                            'rgba(59, 130, 246, 1)',
                            'rgba(124, 58, 237, 1)',
                            'rgba(220, 38, 38, 1)'
],
                        borderWidth: 1
                    }]
                },
                options: {
                    responsive: true,
                    maintainAspectRatio: false,
                    scales: {
                        y: {
                            beginAtZero: true,
                            ticks: {
                                callback: function(value) {
                                    return value.toLocaleString();
                                }
                            }
                        }
                    },
                    plugins: {
                        tooltip: {
                            callbacks: {
                                label: function(context) {
                                    return context.dataset.label + ': ' + context.raw.toLocaleString();
                                }
                            }
                        }
                    }
                }
            });

            // Line Chart
            const lineCtx = document.getElementById('lineChart').getContext('2d');
            new Chart(lineCtx, {
                type: 'line',
                data: {
                    labels: ['Week 1', 'Week 2', 'Week 3', 'Week 4'],
                    datasets: [
                        {
                            label: 'Avg. CPC ($)',
                            data: [2.75, 2.70, 2.65, 2.69],
borderColor: 'rgba(245, 158, 11, 1)',
                            backgroundColor: 'rgba(245, 158, 11, 0.1)',
                            borderWidth: 2,
                            tension: 0.3,
                            fill: true
                        },
                        {
                            label: 'Cost/Conv. ($)',
                            data: [40.20, 39.15, 38.30, 38.93],
borderColor: 'rgba(220, 38, 38, 1)',
backgroundColor: 'rgba(220, 38, 38, 0.1)',
borderWidth: 2,
                            tension: 0.3,
                            fill: true
                        }
                    ]
                },
                options: {
                    responsive: true,
                    maintainAspectRatio: false,
                    scales: {
                        y: {
                            beginAtZero: false
                        }
                    }
                }
            });
});
    </script>
</body>
</html>