Skip to content

Commit 005731e

Browse files
authored
Update heap.mdx
Updated the information
1 parent f87fb65 commit 005731e

File tree

1 file changed

+3
-13
lines changed
  • fern/products/docs/pages/integrations/analytics

1 file changed

+3
-13
lines changed

fern/products/docs/pages/integrations/analytics/heap.mdx

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ To add Heap to your Docs, you need to create a custom JavaScript file and config
1414
1. Log in to your Heap account.
1515
2. Navigate to the project you want to track.
1616
3. Go to **Install Heap** > **Web Installation**.
17-
4. Copy your **Environment ID** from the installation snippet (it will look like a numeric ID such as `358239876`).
17+
4. Copy your **Environment ID** from the installation snippet (it will look like a numeric ID such as `123456789`).
1818

1919
### Integration Steps
2020

@@ -52,22 +52,12 @@ Since Heap tracking is implemented using client-side JavaScript, your environmen
5252
5353
1. **Start your development server**: Run `fern docs dev` to build and start your Fern docs locally (typically on `http://localhost:3000`).
5454

55-
2. **Verify script loading**: Open your browser's developer tools and check the Console and Network tabs to confirm the Heap script is loading correctly. Look for successful requests to `heap-api.com`.
55+
2. **Verify script loading**: Open your browser's developer tools and check the Console and Network tabs to confirm the Heap script is loading correctly.
5656

5757
3. **Test event tracking**: Navigate through your docs site and verify that events are being tracked. Heap automatically captures page views, clicks, and form interactions.
5858

5959
4. **Check Heap dashboard**: Go to your Heap project dashboard to verify that events are being received correctly. The setup page should indicate when data is being received.
6060

61-
### What Heap Automatically Tracks
62-
63-
Once integrated, Heap will automatically capture:
64-
65-
- **Page views**: Every page visit with full URL information
66-
- **Click events**: All button clicks, link clicks, and interactive elements
67-
- **Form interactions**: Form submissions and field changes
68-
- **Session data**: User sessions, return visits, and session duration
69-
- **User behavior**: Scroll depth, time on page, and navigation patterns
70-
7161
### Additional Resources
7262

73-
For more information on Heap's JavaScript SDK and advanced configuration options, visit the [Heap JavaScript SDK documentation](https://developers.heap.io/reference/web). You can also explore [Heap's getting started guide](https://help.heap.io/hc/en-us/categories/13662488537116-Getting-Started) for more comprehensive setup instructions.
63+
For more information on Heap's JavaScript SDK and advanced configuration options, visit the [Heap JavaScript SDK documentation](https://developers.heap.io/reference/web). You can also explore [Heap's getting started guide](https://help.heap.io/hc/en-us/categories/13662488537116-Getting-Started) for more comprehensive setup instructions.

0 commit comments

Comments
 (0)