You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fern/products/docs/pages/integrations/analytics/heap.mdx
+3-13Lines changed: 3 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ To add Heap to your Docs, you need to create a custom JavaScript file and config
14
14
1. Log in to your Heap account.
15
15
2. Navigate to the project you want to track.
16
16
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`).
18
18
19
19
### Integration Steps
20
20
@@ -52,22 +52,12 @@ Since Heap tracking is implemented using client-side JavaScript, your environmen
52
52
53
53
1. **Start your development server**: Run `fern docs dev` to build and start your Fern docs locally (typically on `http://localhost:3000`).
54
54
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.
56
56
57
57
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.
58
58
59
59
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.
60
60
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
-
71
61
### Additional Resources
72
62
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