@agent-analytics/shared-ui 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,53 +1,297 @@
1
+ ---
2
+ const footerData = {
3
+ "en": {
4
+ "title": "Agent Analytics",
5
+ "description": "Agent-ready analytics for builders who ship fast.",
6
+ "copy": "Built for builders who ship fast. Open source under MIT.",
7
+ "logoAlt": "Agent Analytics",
8
+ "logoSrc": "/logo-v2.png",
9
+ "sections": [
10
+ {
11
+ "title": "Product",
12
+ "links": [
13
+ {
14
+ "href": "https://app.agentanalytics.sh",
15
+ "label": "Dashboard",
16
+ "trackingId": "footer_product_dashboard"
17
+ },
18
+ {
19
+ "href": "https://blog.agentanalytics.sh/",
20
+ "label": "Blog",
21
+ "trackingId": "footer_product_blog"
22
+ },
23
+ {
24
+ "href": "https://docs.agentanalytics.sh/",
25
+ "label": "API Docs",
26
+ "trackingId": "footer_product_docs"
27
+ },
28
+ {
29
+ "href": "https://github.com/Agent-Analytics/agent-analytics",
30
+ "label": "GitHub",
31
+ "external": true,
32
+ "trackingId": "footer_product_github"
33
+ }
34
+ ]
35
+ },
36
+ {
37
+ "title": "Compare",
38
+ "links": [
39
+ {
40
+ "href": "https://agentanalytics.sh/compare/umami",
41
+ "label": "vs Umami",
42
+ "trackingId": "footer_compare_umami"
43
+ },
44
+ {
45
+ "href": "https://agentanalytics.sh/compare/mixpanel",
46
+ "label": "vs Mixpanel",
47
+ "trackingId": "footer_compare_mixpanel"
48
+ },
49
+ {
50
+ "href": "https://agentanalytics.sh/compare/amplitude",
51
+ "label": "vs Amplitude",
52
+ "trackingId": "footer_compare_amplitude"
53
+ },
54
+ {
55
+ "href": "https://agentanalytics.sh/compare/ga4",
56
+ "label": "vs GA4",
57
+ "trackingId": "footer_compare_ga4"
58
+ },
59
+ {
60
+ "href": "https://agentanalytics.sh/compare/heap",
61
+ "label": "vs Heap",
62
+ "trackingId": "footer_compare_heap"
63
+ },
64
+ {
65
+ "href": "https://agentanalytics.sh/compare/adobe-analytics",
66
+ "label": "vs Adobe Analytics",
67
+ "trackingId": "footer_compare_adobe_analytics"
68
+ }
69
+ ]
70
+ },
71
+ {
72
+ "title": "Company",
73
+ "links": [
74
+ {
75
+ "href": "https://x.com/analytics_90590",
76
+ "label": "X",
77
+ "external": true,
78
+ "trackingId": "footer_company_x"
79
+ },
80
+ {
81
+ "href": "mailto:contact@agentanalytics.sh",
82
+ "label": "Contact",
83
+ "trackingId": "footer_company_contact"
84
+ },
85
+ {
86
+ "href": "mailto:support@agentanalytics.sh",
87
+ "label": "Support",
88
+ "trackingId": "footer_company_support"
89
+ }
90
+ ]
91
+ },
92
+ {
93
+ "title": "Legal",
94
+ "links": [
95
+ {
96
+ "href": "https://agentanalytics.sh/privacy",
97
+ "label": "Privacy",
98
+ "trackingId": "footer_legal_privacy"
99
+ },
100
+ {
101
+ "href": "https://agentanalytics.sh/terms",
102
+ "label": "Terms",
103
+ "trackingId": "footer_legal_terms"
104
+ },
105
+ {
106
+ "href": "https://agentanalytics.sh/dpa",
107
+ "label": "DPA",
108
+ "trackingId": "footer_legal_dpa"
109
+ }
110
+ ]
111
+ }
112
+ ]
113
+ },
114
+ "he": {
115
+ "title": "Agent Analytics",
116
+ "description": "אנליטיקה מותאמת לסוכנים עבור בונים שמשחררים מהר.",
117
+ "copy": "נבנה עבור בונים שמשחררים מהר. קוד פתוח תחת MIT.",
118
+ "logoAlt": "Agent Analytics",
119
+ "logoSrc": "/logo-v2.png",
120
+ "sections": [
121
+ {
122
+ "title": "מוצר",
123
+ "links": [
124
+ {
125
+ "href": "https://app.agentanalytics.sh",
126
+ "label": "לוח בקרה",
127
+ "trackingId": "footer_product_dashboard"
128
+ },
129
+ {
130
+ "href": "https://blog.agentanalytics.sh/he/",
131
+ "label": "בלוג",
132
+ "trackingId": "footer_product_blog"
133
+ },
134
+ {
135
+ "href": "https://docs.agentanalytics.sh/he/",
136
+ "label": "תיעוד API",
137
+ "trackingId": "footer_product_docs"
138
+ },
139
+ {
140
+ "href": "https://github.com/Agent-Analytics/agent-analytics",
141
+ "label": "GitHub",
142
+ "external": true,
143
+ "trackingId": "footer_product_github"
144
+ }
145
+ ]
146
+ },
147
+ {
148
+ "title": "חברה",
149
+ "links": [
150
+ {
151
+ "href": "https://x.com/analytics_90590",
152
+ "label": "X",
153
+ "external": true,
154
+ "trackingId": "footer_company_x"
155
+ },
156
+ {
157
+ "href": "mailto:contact@agentanalytics.sh",
158
+ "label": "יצירת קשר",
159
+ "trackingId": "footer_company_contact"
160
+ },
161
+ {
162
+ "href": "mailto:support@agentanalytics.sh",
163
+ "label": "תמיכה",
164
+ "trackingId": "footer_company_support"
165
+ }
166
+ ]
167
+ },
168
+ {
169
+ "title": "משפטי",
170
+ "links": [
171
+ {
172
+ "href": "https://agentanalytics.sh/privacy",
173
+ "label": "פרטיות",
174
+ "trackingId": "footer_legal_privacy"
175
+ },
176
+ {
177
+ "href": "https://agentanalytics.sh/terms",
178
+ "label": "תנאים",
179
+ "trackingId": "footer_legal_terms"
180
+ },
181
+ {
182
+ "href": "https://agentanalytics.sh/dpa",
183
+ "label": "DPA",
184
+ "trackingId": "footer_legal_dpa"
185
+ }
186
+ ]
187
+ }
188
+ ]
189
+ },
190
+ "zh": {
191
+ "title": "Agent Analytics",
192
+ "description": "为快速交付的构建者打造的智能代理分析。",
193
+ "copy": "为快速交付的构建者打造。MIT 开源许可。",
194
+ "logoAlt": "Agent Analytics",
195
+ "logoSrc": "/logo-v2.png",
196
+ "sections": [
197
+ {
198
+ "title": "产品",
199
+ "links": [
200
+ {
201
+ "href": "https://app.agentanalytics.sh",
202
+ "label": "仪表盘",
203
+ "trackingId": "footer_product_dashboard"
204
+ },
205
+ {
206
+ "href": "https://blog.agentanalytics.sh/zh/",
207
+ "label": "博客",
208
+ "trackingId": "footer_product_blog"
209
+ },
210
+ {
211
+ "href": "https://docs.agentanalytics.sh/zh/",
212
+ "label": "API 文档",
213
+ "trackingId": "footer_product_docs"
214
+ },
215
+ {
216
+ "href": "https://github.com/Agent-Analytics/agent-analytics",
217
+ "label": "GitHub",
218
+ "external": true,
219
+ "trackingId": "footer_product_github"
220
+ }
221
+ ]
222
+ },
223
+ {
224
+ "title": "公司",
225
+ "links": [
226
+ {
227
+ "href": "https://x.com/analytics_90590",
228
+ "label": "X",
229
+ "external": true,
230
+ "trackingId": "footer_company_x"
231
+ },
232
+ {
233
+ "href": "mailto:contact@agentanalytics.sh",
234
+ "label": "联系我们",
235
+ "trackingId": "footer_company_contact"
236
+ },
237
+ {
238
+ "href": "mailto:support@agentanalytics.sh",
239
+ "label": "支持",
240
+ "trackingId": "footer_company_support"
241
+ }
242
+ ]
243
+ },
244
+ {
245
+ "title": "法律",
246
+ "links": [
247
+ {
248
+ "href": "https://agentanalytics.sh/privacy",
249
+ "label": "隐私",
250
+ "trackingId": "footer_legal_privacy"
251
+ },
252
+ {
253
+ "href": "https://agentanalytics.sh/terms",
254
+ "label": "条款",
255
+ "trackingId": "footer_legal_terms"
256
+ },
257
+ {
258
+ "href": "https://agentanalytics.sh/dpa",
259
+ "label": "DPA",
260
+ "trackingId": "footer_legal_dpa"
261
+ }
262
+ ]
263
+ }
264
+ ]
265
+ }
266
+ };
267
+ const locale = Astro.props.locale ?? 'en';
268
+ const footer = footerData[locale] ?? footerData.en;
269
+ ---
270
+
1
271
  <footer class="aa-footer" data-aa-impression="footer">
2
272
  <div class="aa-footer__inner">
3
273
  <div class="aa-footer__grid">
4
274
  <div class="aa-footer__brand">
5
275
  <div class="aa-footer__mark">
6
- <img src="/logo-v2.png" alt="Agent Analytics" />
276
+ <img src={footer.logoSrc} alt={footer.logoAlt} />
7
277
  </div>
8
278
  <div class="aa-footer__brand-copy">
9
- <h2 class="aa-footer__title">Agent Analytics</h2>
10
- <p class="aa-footer__description">Agent-ready analytics for builders who ship fast.</p>
11
- <p class="aa-footer__copy">Built for builders who ship fast. Open source under MIT.</p>
279
+ <h2 class="aa-footer__title">{footer.title}</h2>
280
+ <p class="aa-footer__description">{footer.description}</p>
281
+ <p class="aa-footer__copy">{footer.copy}</p>
12
282
  </div>
13
283
  </div>
14
284
  <nav class="aa-footer__sections" aria-label="Footer">
15
- <section class="aa-footer__section">
16
- <h3 class="aa-footer__heading">Product</h3>
17
- <div class="aa-footer__list">
18
- <a href="https://app.agentanalytics.sh" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_product_dashboard'})">Dashboard</a>
19
- <a href="https://blog.agentanalytics.sh" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_product_blog'})">Blog</a>
20
- <a href="https://docs.agentanalytics.sh" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_product_docs'})">API Docs</a>
21
- <a href="https://github.com/Agent-Analytics/agent-analytics" class="aa-footer__link" target="_blank" rel="noopener noreferrer" onclick="window.aa?.track('cta_click',{id:'footer_product_github'})">GitHub</a>
22
- </div>
23
- </section>
24
- <section class="aa-footer__section">
25
- <h3 class="aa-footer__heading">Compare</h3>
26
- <div class="aa-footer__list">
27
- <a href="https://agentanalytics.sh/compare/umami" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_compare_umami'})">vs Umami</a>
28
- <a href="https://agentanalytics.sh/compare/mixpanel" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_compare_mixpanel'})">vs Mixpanel</a>
29
- <a href="https://agentanalytics.sh/compare/amplitude" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_compare_amplitude'})">vs Amplitude</a>
30
- <a href="https://agentanalytics.sh/compare/ga4" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_compare_ga4'})">vs GA4</a>
31
- <a href="https://agentanalytics.sh/compare/heap" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_compare_heap'})">vs Heap</a>
32
- <a href="https://agentanalytics.sh/compare/adobe-analytics" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_compare_adobe_analytics'})">vs Adobe Analytics</a>
33
- </div>
34
- </section>
35
- <section class="aa-footer__section">
36
- <h3 class="aa-footer__heading">Company</h3>
37
- <div class="aa-footer__list">
38
- <a href="https://x.com/analytics_90590" class="aa-footer__link" target="_blank" rel="noopener noreferrer" onclick="window.aa?.track('cta_click',{id:'footer_company_x'})">X</a>
39
- <a href="mailto:contact@agentanalytics.sh" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_company_contact'})">Contact</a>
40
- <a href="mailto:support@agentanalytics.sh" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_company_support'})">Support</a>
41
- </div>
42
- </section>
43
- <section class="aa-footer__section">
44
- <h3 class="aa-footer__heading">Legal</h3>
45
- <div class="aa-footer__list">
46
- <a href="https://agentanalytics.sh/privacy" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_legal_privacy'})">Privacy</a>
47
- <a href="https://agentanalytics.sh/terms" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_legal_terms'})">Terms</a>
48
- <a href="https://agentanalytics.sh/dpa" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_legal_dpa'})">DPA</a>
49
- </div>
50
- </section>
285
+ {footer.sections.map((section) => (
286
+ <section class="aa-footer__section">
287
+ <h3 class="aa-footer__heading">{section.title}</h3>
288
+ <div class="aa-footer__list">
289
+ {section.links.map((link) => (
290
+ <a href={link.href} class="aa-footer__link" target={link.external ? '_blank' : undefined} rel={link.external ? 'noopener noreferrer' : undefined} onclick={link.trackingId ? `window.aa?.track('cta_click',{id:'${link.trackingId}'})` : undefined}>{link.label}</a>
291
+ ))}
292
+ </div>
293
+ </section>
294
+ ))}
51
295
  </nav>
52
296
  </div>
53
297
  </div>
@@ -1,53 +1,293 @@
1
+ {% set aaFooterData = {
2
+ "en": {
3
+ "title": "Agent Analytics",
4
+ "description": "Agent-ready analytics for builders who ship fast.",
5
+ "copy": "Built for builders who ship fast. Open source under MIT.",
6
+ "logoAlt": "Agent Analytics",
7
+ "logoSrc": "/logo-v2.png",
8
+ "sections": [
9
+ {
10
+ "title": "Product",
11
+ "links": [
12
+ {
13
+ "href": "https://app.agentanalytics.sh",
14
+ "label": "Dashboard",
15
+ "trackingId": "footer_product_dashboard"
16
+ },
17
+ {
18
+ "href": "https://blog.agentanalytics.sh/",
19
+ "label": "Blog",
20
+ "trackingId": "footer_product_blog"
21
+ },
22
+ {
23
+ "href": "https://docs.agentanalytics.sh/",
24
+ "label": "API Docs",
25
+ "trackingId": "footer_product_docs"
26
+ },
27
+ {
28
+ "href": "https://github.com/Agent-Analytics/agent-analytics",
29
+ "label": "GitHub",
30
+ "external": true,
31
+ "trackingId": "footer_product_github"
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ "title": "Compare",
37
+ "links": [
38
+ {
39
+ "href": "https://agentanalytics.sh/compare/umami",
40
+ "label": "vs Umami",
41
+ "trackingId": "footer_compare_umami"
42
+ },
43
+ {
44
+ "href": "https://agentanalytics.sh/compare/mixpanel",
45
+ "label": "vs Mixpanel",
46
+ "trackingId": "footer_compare_mixpanel"
47
+ },
48
+ {
49
+ "href": "https://agentanalytics.sh/compare/amplitude",
50
+ "label": "vs Amplitude",
51
+ "trackingId": "footer_compare_amplitude"
52
+ },
53
+ {
54
+ "href": "https://agentanalytics.sh/compare/ga4",
55
+ "label": "vs GA4",
56
+ "trackingId": "footer_compare_ga4"
57
+ },
58
+ {
59
+ "href": "https://agentanalytics.sh/compare/heap",
60
+ "label": "vs Heap",
61
+ "trackingId": "footer_compare_heap"
62
+ },
63
+ {
64
+ "href": "https://agentanalytics.sh/compare/adobe-analytics",
65
+ "label": "vs Adobe Analytics",
66
+ "trackingId": "footer_compare_adobe_analytics"
67
+ }
68
+ ]
69
+ },
70
+ {
71
+ "title": "Company",
72
+ "links": [
73
+ {
74
+ "href": "https://x.com/analytics_90590",
75
+ "label": "X",
76
+ "external": true,
77
+ "trackingId": "footer_company_x"
78
+ },
79
+ {
80
+ "href": "mailto:contact@agentanalytics.sh",
81
+ "label": "Contact",
82
+ "trackingId": "footer_company_contact"
83
+ },
84
+ {
85
+ "href": "mailto:support@agentanalytics.sh",
86
+ "label": "Support",
87
+ "trackingId": "footer_company_support"
88
+ }
89
+ ]
90
+ },
91
+ {
92
+ "title": "Legal",
93
+ "links": [
94
+ {
95
+ "href": "https://agentanalytics.sh/privacy",
96
+ "label": "Privacy",
97
+ "trackingId": "footer_legal_privacy"
98
+ },
99
+ {
100
+ "href": "https://agentanalytics.sh/terms",
101
+ "label": "Terms",
102
+ "trackingId": "footer_legal_terms"
103
+ },
104
+ {
105
+ "href": "https://agentanalytics.sh/dpa",
106
+ "label": "DPA",
107
+ "trackingId": "footer_legal_dpa"
108
+ }
109
+ ]
110
+ }
111
+ ]
112
+ },
113
+ "he": {
114
+ "title": "Agent Analytics",
115
+ "description": "אנליטיקה מותאמת לסוכנים עבור בונים שמשחררים מהר.",
116
+ "copy": "נבנה עבור בונים שמשחררים מהר. קוד פתוח תחת MIT.",
117
+ "logoAlt": "Agent Analytics",
118
+ "logoSrc": "/logo-v2.png",
119
+ "sections": [
120
+ {
121
+ "title": "מוצר",
122
+ "links": [
123
+ {
124
+ "href": "https://app.agentanalytics.sh",
125
+ "label": "לוח בקרה",
126
+ "trackingId": "footer_product_dashboard"
127
+ },
128
+ {
129
+ "href": "https://blog.agentanalytics.sh/he/",
130
+ "label": "בלוג",
131
+ "trackingId": "footer_product_blog"
132
+ },
133
+ {
134
+ "href": "https://docs.agentanalytics.sh/he/",
135
+ "label": "תיעוד API",
136
+ "trackingId": "footer_product_docs"
137
+ },
138
+ {
139
+ "href": "https://github.com/Agent-Analytics/agent-analytics",
140
+ "label": "GitHub",
141
+ "external": true,
142
+ "trackingId": "footer_product_github"
143
+ }
144
+ ]
145
+ },
146
+ {
147
+ "title": "חברה",
148
+ "links": [
149
+ {
150
+ "href": "https://x.com/analytics_90590",
151
+ "label": "X",
152
+ "external": true,
153
+ "trackingId": "footer_company_x"
154
+ },
155
+ {
156
+ "href": "mailto:contact@agentanalytics.sh",
157
+ "label": "יצירת קשר",
158
+ "trackingId": "footer_company_contact"
159
+ },
160
+ {
161
+ "href": "mailto:support@agentanalytics.sh",
162
+ "label": "תמיכה",
163
+ "trackingId": "footer_company_support"
164
+ }
165
+ ]
166
+ },
167
+ {
168
+ "title": "משפטי",
169
+ "links": [
170
+ {
171
+ "href": "https://agentanalytics.sh/privacy",
172
+ "label": "פרטיות",
173
+ "trackingId": "footer_legal_privacy"
174
+ },
175
+ {
176
+ "href": "https://agentanalytics.sh/terms",
177
+ "label": "תנאים",
178
+ "trackingId": "footer_legal_terms"
179
+ },
180
+ {
181
+ "href": "https://agentanalytics.sh/dpa",
182
+ "label": "DPA",
183
+ "trackingId": "footer_legal_dpa"
184
+ }
185
+ ]
186
+ }
187
+ ]
188
+ },
189
+ "zh": {
190
+ "title": "Agent Analytics",
191
+ "description": "为快速交付的构建者打造的智能代理分析。",
192
+ "copy": "为快速交付的构建者打造。MIT 开源许可。",
193
+ "logoAlt": "Agent Analytics",
194
+ "logoSrc": "/logo-v2.png",
195
+ "sections": [
196
+ {
197
+ "title": "产品",
198
+ "links": [
199
+ {
200
+ "href": "https://app.agentanalytics.sh",
201
+ "label": "仪表盘",
202
+ "trackingId": "footer_product_dashboard"
203
+ },
204
+ {
205
+ "href": "https://blog.agentanalytics.sh/zh/",
206
+ "label": "博客",
207
+ "trackingId": "footer_product_blog"
208
+ },
209
+ {
210
+ "href": "https://docs.agentanalytics.sh/zh/",
211
+ "label": "API 文档",
212
+ "trackingId": "footer_product_docs"
213
+ },
214
+ {
215
+ "href": "https://github.com/Agent-Analytics/agent-analytics",
216
+ "label": "GitHub",
217
+ "external": true,
218
+ "trackingId": "footer_product_github"
219
+ }
220
+ ]
221
+ },
222
+ {
223
+ "title": "公司",
224
+ "links": [
225
+ {
226
+ "href": "https://x.com/analytics_90590",
227
+ "label": "X",
228
+ "external": true,
229
+ "trackingId": "footer_company_x"
230
+ },
231
+ {
232
+ "href": "mailto:contact@agentanalytics.sh",
233
+ "label": "联系我们",
234
+ "trackingId": "footer_company_contact"
235
+ },
236
+ {
237
+ "href": "mailto:support@agentanalytics.sh",
238
+ "label": "支持",
239
+ "trackingId": "footer_company_support"
240
+ }
241
+ ]
242
+ },
243
+ {
244
+ "title": "法律",
245
+ "links": [
246
+ {
247
+ "href": "https://agentanalytics.sh/privacy",
248
+ "label": "隐私",
249
+ "trackingId": "footer_legal_privacy"
250
+ },
251
+ {
252
+ "href": "https://agentanalytics.sh/terms",
253
+ "label": "条款",
254
+ "trackingId": "footer_legal_terms"
255
+ },
256
+ {
257
+ "href": "https://agentanalytics.sh/dpa",
258
+ "label": "DPA",
259
+ "trackingId": "footer_legal_dpa"
260
+ }
261
+ ]
262
+ }
263
+ ]
264
+ }
265
+ } %}
266
+ {% set aaFooter = aaFooterData[locale or 'en'] or aaFooterData.en %}
1
267
  <footer class="aa-footer" data-aa-impression="footer">
2
268
  <div class="aa-footer__inner">
3
269
  <div class="aa-footer__grid">
4
270
  <div class="aa-footer__brand">
5
271
  <div class="aa-footer__mark">
6
- <img src="/logo-v2.png" alt="Agent Analytics">
272
+ <img src="{{ aaFooter.logoSrc }}" alt="{{ aaFooter.logoAlt }}">
7
273
  </div>
8
274
  <div class="aa-footer__brand-copy">
9
- <h2 class="aa-footer__title">Agent Analytics</h2>
10
- <p class="aa-footer__description">Agent-ready analytics for builders who ship fast.</p>
11
- <p class="aa-footer__copy">Built for builders who ship fast. Open source under MIT.</p>
275
+ <h2 class="aa-footer__title">{{ aaFooter.title }}</h2>
276
+ <p class="aa-footer__description">{{ aaFooter.description }}</p>
277
+ <p class="aa-footer__copy">{{ aaFooter.copy }}</p>
12
278
  </div>
13
279
  </div>
14
280
  <nav class="aa-footer__sections" aria-label="Footer">
15
- <section class="aa-footer__section">
16
- <h3 class="aa-footer__heading">Product</h3>
17
- <div class="aa-footer__list">
18
- <a href="https://app.agentanalytics.sh" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_product_dashboard'})">Dashboard</a>
19
- <a href="https://blog.agentanalytics.sh" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_product_blog'})">Blog</a>
20
- <a href="https://docs.agentanalytics.sh" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_product_docs'})">API Docs</a>
21
- <a href="https://github.com/Agent-Analytics/agent-analytics" class="aa-footer__link" target="_blank" rel="noopener noreferrer" onclick="window.aa?.track('cta_click',{id:'footer_product_github'})">GitHub</a>
22
- </div>
23
- </section>
24
- <section class="aa-footer__section">
25
- <h3 class="aa-footer__heading">Compare</h3>
26
- <div class="aa-footer__list">
27
- <a href="https://agentanalytics.sh/compare/umami" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_compare_umami'})">vs Umami</a>
28
- <a href="https://agentanalytics.sh/compare/mixpanel" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_compare_mixpanel'})">vs Mixpanel</a>
29
- <a href="https://agentanalytics.sh/compare/amplitude" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_compare_amplitude'})">vs Amplitude</a>
30
- <a href="https://agentanalytics.sh/compare/ga4" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_compare_ga4'})">vs GA4</a>
31
- <a href="https://agentanalytics.sh/compare/heap" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_compare_heap'})">vs Heap</a>
32
- <a href="https://agentanalytics.sh/compare/adobe-analytics" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_compare_adobe_analytics'})">vs Adobe Analytics</a>
33
- </div>
34
- </section>
35
- <section class="aa-footer__section">
36
- <h3 class="aa-footer__heading">Company</h3>
37
- <div class="aa-footer__list">
38
- <a href="https://x.com/analytics_90590" class="aa-footer__link" target="_blank" rel="noopener noreferrer" onclick="window.aa?.track('cta_click',{id:'footer_company_x'})">X</a>
39
- <a href="mailto:contact@agentanalytics.sh" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_company_contact'})">Contact</a>
40
- <a href="mailto:support@agentanalytics.sh" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_company_support'})">Support</a>
41
- </div>
42
- </section>
43
- <section class="aa-footer__section">
44
- <h3 class="aa-footer__heading">Legal</h3>
45
- <div class="aa-footer__list">
46
- <a href="https://agentanalytics.sh/privacy" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_legal_privacy'})">Privacy</a>
47
- <a href="https://agentanalytics.sh/terms" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_legal_terms'})">Terms</a>
48
- <a href="https://agentanalytics.sh/dpa" class="aa-footer__link" onclick="window.aa?.track('cta_click',{id:'footer_legal_dpa'})">DPA</a>
49
- </div>
50
- </section>
281
+ {% for section in aaFooter.sections %}
282
+ <section class="aa-footer__section">
283
+ <h3 class="aa-footer__heading">{{ section.title }}</h3>
284
+ <div class="aa-footer__list">
285
+ {% for link in section.links %}
286
+ <a href="{{ link.href }}" class="aa-footer__link"{% if link.external %} target="_blank" rel="noopener noreferrer"{% endif %}{% if link.trackingId %} onclick="window.aa?.track('cta_click',{id:'{{ link.trackingId }}'})"{% endif %}>{{ link.label }}</a>
287
+ {% endfor %}
288
+ </div>
289
+ </section>
290
+ {% endfor %}
51
291
  </nav>
52
292
  </div>
53
293
  </div>