@lightupai/polaris 0.0.64 → 0.0.66
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.
- package/docs/seo-geo.md +2 -27
- package/package.json +1 -1
- package/src/web/layout.ts +2 -0
package/docs/seo-geo.md
CHANGED
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
- [x] **Heading hierarchy** — verified: 1×h1, 7×h2, 18×h3, proper structure (DataForSEO score 100/100)
|
|
18
18
|
- [x] **Favicon** — SVG favicon (polaris-600 hub icon) with immutable cache, favicon.ico redirects to it
|
|
19
19
|
- [x] **gzip/zstd compression** — enabled in Caddy, page size over the wire: 51KB→9KB
|
|
20
|
+
- [x] **Schema markup (JSON-LD)** — SoftwareApplication structured data with pricing, category, platform, and organization
|
|
21
|
+
- [x] **Google Analytics** — GA4 property G-N00X6NR17E, async gtag.js in layout
|
|
20
22
|
|
|
21
23
|
## SEO — To Do
|
|
22
24
|
|
|
@@ -26,33 +28,6 @@
|
|
|
26
28
|
Register `app.withpolaris.ai` at https://search.google.com/search-console.
|
|
27
29
|
Verify ownership via Cloudflare DNS TXT record. Submit sitemap URL.
|
|
28
30
|
|
|
29
|
-
- [ ] **Add analytics**
|
|
30
|
-
No traffic data currently. Options:
|
|
31
|
-
- Plausible (privacy-friendly, lightweight, ~$9/mo)
|
|
32
|
-
- Google Analytics (free, full-featured, heavier)
|
|
33
|
-
- Cloudflare Web Analytics (free, built into Cloudflare dashboard)
|
|
34
|
-
Add the tracking script to the layout.
|
|
35
|
-
|
|
36
|
-
### Medium Priority
|
|
37
|
-
|
|
38
|
-
- [ ] **Schema markup (JSON-LD)**
|
|
39
|
-
Add structured data for SoftwareApplication and Organization.
|
|
40
|
-
Helps Google show rich results (product name, pricing, etc.).
|
|
41
|
-
```json
|
|
42
|
-
{
|
|
43
|
-
"@context": "https://schema.org",
|
|
44
|
-
"@type": "SoftwareApplication",
|
|
45
|
-
"name": "Polaris",
|
|
46
|
-
"applicationCategory": "DeveloperApplication",
|
|
47
|
-
"operatingSystem": "macOS, Linux",
|
|
48
|
-
"offers": {
|
|
49
|
-
"@type": "Offer",
|
|
50
|
-
"price": "0",
|
|
51
|
-
"priceCurrency": "USD"
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
```
|
|
55
|
-
|
|
56
31
|
- [ ] **Blog / content marketing**
|
|
57
32
|
Long-tail SEO needs content pages targeting search terms:
|
|
58
33
|
- "How to collaborate on Claude Code sessions"
|
package/package.json
CHANGED
package/src/web/layout.ts
CHANGED
|
@@ -39,6 +39,8 @@ export function layout(body: string, title = "Polaris", seo?: SeoOpts): Response
|
|
|
39
39
|
<meta name="twitter:image" content="${ogImage}">
|
|
40
40
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
|
|
41
41
|
<link rel="stylesheet" href="/styles.css">
|
|
42
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-N00X6NR17E"></script>
|
|
43
|
+
<script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('js',new Date());gtag('config','G-N00X6NR17E');</script>
|
|
42
44
|
<script type="application/ld+json">
|
|
43
45
|
{
|
|
44
46
|
"@context": "https://schema.org",
|