Skip to content

Commit 6c8596a

Browse files
authored
docs: Remove the Gatsby plugin (#233)
1 parent c46d855 commit 6c8596a

File tree

4 files changed

+8
-12
lines changed

4 files changed

+8
-12
lines changed

Diff for: README-it.md

-1
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,6 @@ Per connetterti con altri analytics providers, controlla il [analytics plugin fo
442442

443443
## Plugins
444444

445-
- [Perfume.js plugin for GatsbyJS](https://github.com/NoriSte/gatsby-plugin-perfume.js)
446445
- [Perfume.js plugin for Analytics](https://github.com/DavidWells/analytics/tree/master/packages/analytics-plugin-perfumejs)
447446
<br />
448447

Diff for: README-ko.md

-1
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,6 @@ Additional analytics providers와 연결하려면 이 링크를 참고해주세
373373

374374
## Plugins
375375

376-
- [Perfume.js plugin for GatsbyJS](https://github.com/NoriSte/gatsby-plugin-perfume.js)
377376
- [Perfume.js plugin for Analytics](https://github.com/DavidWells/analytics/tree/master/packages/analytics-plugin-perfumejs)
378377
<br />
379378

Diff for: README-zh_CN.md

-1
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,6 @@ new Perfume({
376376

377377
## 插件
378378

379-
- [Perfume.js plugin for GatsbyJS](https://github.com/NoriSte/gatsby-plugin-perfume.js)
380379
- [Perfume.js plugin for Analytics](https://github.com/DavidWells/analytics/tree/master/packages/analytics-plugin-perfumejs)
381380
<br />
382381

Diff for: README.md

+8-9
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ initPerfume({
143143
case 'elPageTitle':
144144
myAnalyticsTool.track('elementTimingPageTitle', { duration: data });
145145
break;
146-
case 'userJourneyStep':
146+
case 'userJourneyStep':
147147
myAnalyticsTool.track('userJourneyStep', {
148148
duration: data,
149149
stepName: attribution.step_name,
@@ -402,7 +402,7 @@ In order for Perfume to be able to track metrics for Steps, we need to configure
402402

403403
Below you can find an example of how to do this.
404404

405-
``` typescript
405+
``` typescript
406406
export const steps = {
407407
load_screen_A: {
408408
threshold: ThresholdTier.quick,
@@ -416,7 +416,7 @@ export const steps = {
416416

417417
initPerfume({ steps });
418418

419-
```
419+
```
420420

421421
#### MarkStep
422422
`markStep` is the function used to start and end steps in applications.
@@ -425,15 +425,15 @@ For example, if we wanted to mark the beginning of load_screen_B step above, we
425425

426426
#### `enableNavigationTracking`
427427

428-
`enableNavigationTracking` is a boolean in the config that will tell Perfume to take into account page navigation changes or not. By default this is `true`, but it can be set to false if needed.
428+
`enableNavigationTracking` is a boolean in the config that will tell Perfume to take into account page navigation changes or not. By default this is `true`, but it can be set to false if needed.
429429

430-
The purpose of this feature is to only account for active steps that the user is working on. The feature will remove any inactive or 'stale' steps that are not currently in progress.
430+
The purpose of this feature is to only account for active steps that the user is working on. The feature will remove any inactive or 'stale' steps that are not currently in progress.
431431

432-
Stale steps can be created by navigating away from a page before it fully loads, this would cause the start mark to be triggered, but the end mark to not be called. This would affect the `active` steps being returned to `onMarkStep` as well as would create incorrect data if we returned back to the end mark much later than expected.
432+
Stale steps can be created by navigating away from a page before it fully loads, this would cause the start mark to be triggered, but the end mark to not be called. This would affect the `active` steps being returned to `onMarkStep` as well as would create incorrect data if we returned back to the end mark much later than expected.
433433

434434
`enableNavigationTracking` works together with the `incrementUjNavigation` function. The `incrementUjNavigation` function is to be called anytime there is a navigation change in your application. Below is an example for how this would work in a React Application:
435435

436-
``` typescript
436+
``` typescript
437437
import { useLocation } from 'react-router-dom';
438438

439439
const MyComponent = () => {
@@ -446,7 +446,7 @@ const MyComponent = () => {
446446
...
447447
}
448448

449-
```
449+
```
450450

451451
## Web Vitals Score
452452

@@ -529,7 +529,6 @@ To connect with additional analytics providers, checkout the [analytics plugin f
529529

530530
## Plugins
531531

532-
- [Perfume.js plugin for GatsbyJS](https://github.com/NoriSte/gatsby-plugin-perfume.js)
533532
- [Perfume.js plugin for Analytics](https://github.com/DavidWells/analytics/tree/master/packages/analytics-plugin-perfumejs)
534533
<br />
535534

0 commit comments

Comments
 (0)