Skip to content

Commit e1ca50f

Browse files
Merge pull request #847 from TypoScan3000/docs/fix-typos
docs: fix 2 grammar errors in script extensions page
2 parents c7708c3 + 623a692 commit e1ca50f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs/script-extensions.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Here's the list of our optional measurements:
4646

4747
### `plausible.init()` configuration
4848

49-
Additionally, `plausible.init()` can be called with different options further enhance its behavior. Supported options are:
49+
Additionally, `plausible.init()` can be called with different options to further enhance its behavior. Supported options are:
5050

5151
| Option | Type | Default | Description |
5252
| -------------------- | --------------------------------- | ---------------------------------- | ---------------------------------------------------------------------------------------- |
@@ -67,7 +67,7 @@ By default, the Plausible script triggers a pageview when it's first loaded. It
6767

6868
One of the use-cases for this is when you use [Turbo](https://turbo.hotwired.dev/) (formerly [Turbolinks](https://github.com/turbolinks/turbolinks)). In that case, you want to manually trigger Plausible pageviews on the `turbo:load` or `turbolinks:load` browser event depending which library you use.
6969

70-
To do so, add update `plausible.init` to disable `autoCapturePageviews`: `plausible.init({ autoCapturePageviews: false })`
70+
To do so, add or update `plausible.init` to disable `autoCapturePageviews`: `plausible.init({ autoCapturePageviews: false })`
7171

7272
Additionally, add a javascript listener that triggers pageviews on turbolinks navigation:
7373

0 commit comments

Comments
 (0)