# Connect optional reporting and publishing tools

> Add your website’s reporting and KNWN Pixel, send reviewed drafts to WordPress, and post notices to Slack or Notion.

https://knwn.app/docs/integrations
Updated 26 November 2026 · 5 min read

## Keep connections optional

Core visibility tracking, saved reports, content editing, and exports work independently of Google reporting and WordPress. KNWN manages the AI connections used for ordinary tracking; you do not need to supply model-provider keys.

Project owners manage Google reporting and WordPress in Settings → Optional project connections. Owners and editors can also connect Google reporting, install KNWN Pixel and import request counts from Website analytics → Website connections; viewers see the setup steps and the reports already there. Availability is shown in the app. If a connection is unavailable, you can continue using the core workflow.

- [Open Settings](https://knwn.app/app#settings)

## Connect Google reporting

KNWN requests read-only reporting access. While Google connections are unavailable, Save property selection keeps your choice for later. Changing property selection does not silently replace an existing authorized connection: authorizing again replaces it, and the saved connection stays active if verification fails.

1. In Website analytics → Website connections, choose Connect Google reporting, or in Settings → Optional project connections, choose Connect.
2. Enter the GA4 property ID, the Search Console property, or both. The GA4 property’s web stream must match the project’s domain.
3. Choose Authorize Google account, then sign in at Google with an account that can access those properties.
4. Review the connection result before relying on the reports.

## Send a reviewed draft to WordPress

Only the project owner connects WordPress and sends drafts to it. Connecting or testing WordPress does not create a post. Sending content creates a WordPress draft. If the request loses its response, check the WordPress draft list before sending again.

If WordPress doesn’t confirm a send, for example after a timeout, KNWN keeps the send on hold so the draft isn’t posted twice. The draft then shows what to look for, its title and when it was sent, with a link to the site’s drafts. For two minutes Send again waits, because WordPress may still be saving it; after that it first looks in WordPress for a draft with the same title created since then: if it finds one, KNWN links it and says so; if not, it sends again.

If you checked WordPress yourself and the draft isn’t there, choose Mark as not sent and confirm. If the draft did arrive, sending again after that creates a second copy.

If WordPress refuses the saved username and application password, the draft offers Reconnect WordPress instead of Send to WordPress, and Brand setup shows Access refused · reconnect.

1. Open the WordPress connection and enter the site URL, username, and a WordPress application password for an account allowed to create posts.
2. Choose Test connection, then Verify and save.
3. Open the saved content you want to send, review it, choose Send to WordPress, and confirm with Create WordPress draft. The confirmation names the brand and the WordPress site the draft goes to. Once it is sent, Open WordPress draft opens it.

- [Open Content workspace](https://knwn.app/app#content)

## Replace or disconnect a connection

Connections belong to the selected project. Failed verification leaves a saved connection unchanged. Disconnecting stops that project’s connection while keeping saved KNWN reports and drafts.

Disconnecting Google reporting also removes KNWN’s access from the Google account, so KNWN no longer appears among the account’s linked apps. If another project still uses the same Google account, that access stays until the last of those projects disconnects.

If Google or WordPress refuses a saved connection, for example because access was revoked or the application password changed, the connection shows Access refused on its date · reconnect, with the reason. Imports and sends stop with a reconnect message instead of a general error. Reconnecting, or a successful test, clears it.

A personal model key that its provider rejects shows Rejected on its date · replace it under Your AI keys, and a white-label portal’s own key shows Rejected · replace it under AI models in White-label admin, where the portal’s brands are listed. You get one notice naming the key and the brand. Until the key is replaced, collection skips that provider’s models in manual and automatic runs alike, Collection center says why, and Retry holds their failed answers; Retry anyway tries the key once more, and these failures do not use up an answer’s three attempts.

Removing a model key asks first and counts the answers queued on it. They then fail instead of moving to KNWN credits; reconnect the key to retry them, or plan a new collection.

If you change the project’s website domain, reconnect its website integrations before using them again.

## What a Google import contains

An import reads every page of Google’s results, up to 25,000 rows at a time, and says when Google had more. Rows for the same page on different hosts of your site, such as www and the bare domain, are added together.

GA4 days are in your Analytics property’s own time zone, which the import names. AI crawler visits, AI referrals and conversion events are counted by UTC day. Answers and reports use the project’s reporting time zone. Website analytics shows the newest 1,500 imported rows of a period and says when older days are left out.

## What the website analytics figures count

Website analytics has two sources that count differently. GA4 AI referrals are sessions Google Analytics attributes to an AI service, synced from the connected property or imported; Google reads the referrer and campaign tags such as utm_source. Log referrals are visits in the request logs you import whose referrer is a known AI service, such as chatgpt.com. KNWN does not read the query string, so utm_source is ignored and visits from apps that send no referrer are missed. Expect the two figures to differ.

Crawler requests are named by their user agent, which anyone can fake. A request is verified when the client IP it was logged with is in the crawler’s published address ranges. Outside published ranges means possible impersonation, or a log that recorded a proxy instead of the visitor’s address. Not checked covers requests sent without a client IP, crawlers that publish no ranges, times the range list was unavailable, and aggregate counts sent to /api/website-events, which KNWN never verifies. The headline counts verified requests, with the other two next to it.

Until request logs are imported for a project, the log figures say Not connected instead of 0. The conversion pixel sends conversion events only; it does not feed these figures.

## Install KNWN Pixel and send server events

KNWN Pixel shows which AI assistants send you visitors and sales. In Website analytics → Website connections, choose Install KNWN Pixel and follow its five steps. If a developer looks after your website, ask them to do steps 2 to 4.

1. Create your import key. Your server uses it to send visits to KNWN, so keep it secret and never put it in a web page. Owners and editors can create and replace it.
2. Add the relay to your server: choose Download the server relay, put it on your server at `/knwn-events`, and add the three settings shown, with your import key in the last line. Example for Next.js shows a route that uses it.
3. Add the pixel to every page: choose Download the pixel script, put it in your website’s main folder so it opens at `/knwn-pixel.js`, paste `<script defer src="/knwn-pixel.js"></script>` into every page, and run `KNWNPixel.consent(true)` when a visitor accepts analytics cookies.
4. Count your sales: when an order is paid, run `KNWNPixel.track("purchase", { id: orderId, value: 49, currency: "USD" })` with its order number, amount and currency. The order number makes sure each sale counts once.
5. Check that it works: choose Open your website, accept analytics cookies, then come back and choose Check for visits.

The pixel runs only after a visitor accepts analytics; if they change their mind, run `KNWNPixel.consent(false)`. The test link adds `?utm_source=chatgpt`, so your visit counts as one from ChatGPT. The pixel can’t see AI crawlers: to count them, import your server logs.

Events from the conversion pixel come from visitors’ browsers and can’t be authenticated, so treat pixel revenue as an estimate. The relay on your site accepts a value of at most 100,000 per event (you can set a lower cap) and, in each running copy of the relay, at most 60 events a minute from one visitor address. KNWN itself also refuses a pixel event above 100,000.

For revenue you rely on, such as paid attribution, send conversions from your server to `/api/conversion-events` with your website import key. Server events are not capped.

## Send notices to Slack or Notion

In Profile & account → Notifications → Slack and Notion, choose Add Slack or Add Notion. Each connection covers all brands you own, or one of them.

- Slack: choose the brand, then Add to Slack. Slack opens: choose the channel KNWN posts to and click Allow. If your Slack workspace can’t install apps, open Paste a webhook address instead, paste the channel’s incoming webhook address and choose Connect Slack; KNWN posts a confirmation to check it.
- Notion: choose the brand, then Connect Notion. Notion opens: choose the page where KNWN keeps its results and allow access. Back in KNWN, choose Find shared pages, pick that page once and choose Create the results database. KNWN keeps a “KNWN results” database there. Use an internal integration secret instead takes the secret of an internal integration you shared a page with.
- Where Add to Slack or Connect Notion isn’t offered, the form asks for the webhook address or the integration secret directly.

A Slack connection receives Scan results, Automatic collection and Scheduled workflows to begin with, and can also receive Credits and trial, Billing, Security and Team notices. A Notion connection adds a row for Scan results and Automatic collection. Tick what each connection receives. Send test checks it, Pause stops it for now, and Remove ends it. A connection that Slack or Notion refuses shows Needs attention.
