Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ The UI and renderer are separable from Context.dev enrichment, so you can reuse

The included `/api/brief` and `/api/ad` routes invoke billable services and are intentionally callable by the browser. Before exposing your own deployment, add authentication and/or rate limiting appropriate to your audience, set provider spend alerts, and understand the cost of up to four Context.dev calls, one text-model call, and six image-model calls per uncached Ad Run. Successful responses benefit from a compatible shared CDN cache; failures use `no-store`.

The app loads [Plausible](https://plausible.io) (privacy-friendly, cookieless analytics) via a script tag in `src/app/layout.tsx`; forks should swap in their own Plausible script URL or remove the tag. The default UI also requests a Google-hosted font and Google favicon service; privacy-sensitive forks can self-host or remove those requests.
The app loads [Databuddy](https://www.databuddy.cc) (privacy-friendly, cookieless analytics) via a script tag in `src/app/layout.tsx`; forks should swap in their own Databuddy client ID or remove the tag. The default UI also requests a Google-hosted font and Google favicon service; privacy-sensitive forks can self-host or remove those requests.

---

Expand Down
9 changes: 4 additions & 5 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,14 @@ export default function RootLayout({ children }: { children: React.ReactNode })
return (
<html lang="en" className={GeistSans.variable}>
<head>
{/* Privacy-friendly analytics by Plausible */}
<Script
async
src="https://plausible.io/js/pa-G8rQKDkfy9faxwXm28L1e.js"
src="https://cdn.databuddy.cc/databuddy.js"
data-client-id="feba15e7-014a-4798-b073-1b575360af70"
data-track-outgoing-links="true"
crossOrigin="anonymous"
strategy="afterInteractive"
/>
<Script id="plausible-init" strategy="afterInteractive">
{`window.plausible=window.plausible||function(){(plausible.q=plausible.q||[]).push(arguments)},plausible.init=plausible.init||function(i){plausible.o=i||{}};plausible.init()`}
</Script>
</head>
<body className={`${GeistSans.className} antialiased`}>{children}</body>
</html>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export async function fetchProducts(
const res = await client().web.extract(
{
url: `https://${domain}`,
schema,
schema: { ...schema },
factCheck: true,
instructions: [
"Extract one to three distinct products or named services the company explicitly sells or offers.",
Expand Down
Loading