Skip to content

Commit 3d67a70

Browse files
authored
Apply suggestion from @pauldambra
1 parent 48cdd17 commit 3d67a70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

contents/docs/libraries/js/config.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Some of the most relevant options are:
3939
| `autocapture`<br/><br/>**Type:** Boolean or AutocaptureConfig<br/>**Default:** `true` | Determines if PostHog should [autocapture](/docs/product-analytics/autocapture) events. This setting does not affect capturing pageview events (see `capture_pageview`). [See below for `AutocaptureConfig`](#configuring-autocapture) |
4040
| `before_send`<br/><br/>**Type:** Function<br/>**Default:** `function () {}` | A function that allows you to amend or reject events before they are sent to PostHog. [See below for more information](/docs/libraries/js/features#amending-or-sampling-events) |
4141
| `bootstrap`<br/><br/>**Type:** Object<br/>**Default:** `{}` | An object containing the `distinctID`, `isIdentifiedID`, and `featureFlags` keys, where `distinctID` is a string, and `featureFlags` is an object of key-value pairs |
42-
| `capture_pageview`<br/><br/>**Type:** Boolean or String<br/>**Default:** `true` | Determines if PostHog should automatically capture pageview events. The default is to capture using page load events. If the special string `history_change` is provided, PostHog will capture pageviews based on path changes by listening to the browser's history API which is useful for single page apps. `history_change` is the default if you choose to set `defaults: '2025-11-30'` or later. |
42+
| `capture_pageview`<br/><br/>**Type:** Boolean or String<br/>**Default:** `true` | Determines if PostHog should automatically capture pageview events. The default is to capture using page load events. If the special string `history_change` is provided, PostHog will capture pageviews based on path changes by listening to the browser's history API which is useful for single page apps. `history_change` is the default if you choose to set `defaults: '2025-05-24'` or later. |
4343
| `capture_pageleave`<br/><br/>**Type:** Boolean<br/>**Default:** `true` | Determines if PostHog should automatically capture pageleave events. |
4444
| `capture_dead_clicks`<br/><br/>**Type:** Boolean<br/>**Default:** `true` | Determines if PostHog should automatically capture dead click events. |
4545
| `cross_subdomain_cookie`<br/><br/>**Type:** Boolean<br/>**Default:** `true` | Determines if cookie should be set on the top level domain (example.com). If `posthog-js` is loaded on a subdomain (`test.example.com`), _and_ `cross_subdomain_cookie` is set to false, it'll set the cookie on the subdomain only (`test.example.com`). |

0 commit comments

Comments
 (0)