Skip to content

Conversation

@fern-support
Copy link
Contributor

Added a new page documenting Heap integration

@github-actions
Copy link
Contributor

github-actions bot commented Aug 5, 2025

@fern-support fern-support requested a review from kgowru August 5, 2025 21:21
Updated the information
@github-actions
Copy link
Contributor

github-actions bot commented Aug 5, 2025

@fern-support fern-support requested a review from devalog August 5, 2025 22:00
window.heapReadyCb=window.heapReadyCb||[],window.heap=window.heap||[],heap.load=function(e,t){window.heap.envId=e,window.heap.clientConfig=t=t||{},window.heap.clientConfig.shouldFetchServerConfig=!1;var a=document.createElement("script");a.type="text/javascript",a.async=!0,a.src="https://cdn.us.heap-api.com/config/"+e+"/heap_config.js";var r=document.getElementsByTagName("script")[0];r.parentNode.insertBefore(a,r);var n=["init","startTracking","stopTracking","track","resetIdentity","identify","getSessionId","getUserId","getIdentity","addUserProperties","addEventProperties","removeEventProperty","clearEventProperties","addAccountProperties","addAdapter","addTransformer","addTransformerFn","onReady","addPageviewProperties","removePageviewProperty","clearPageviewProperties","trackPageview"],i=function(e){return function(){var t=Array.prototype.slice.call(arguments,0);window.heapReadyCb.push({name:e,fn:function(){heap[e]&&heap[e].apply(heap,t)}})}};for(var p=0;p<n.length;p++)heap[n[p]]=i(n[p])};

// Initialize Heap with your environment ID
heap.load("YOUR_ENVIRONMENT_ID");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extreme nit, but the Mixpanel doc uses single quotes for a placeholder text like this ('YOUR_PROJECT_TOKEN'). I actually think the double quotes is more readable but either way probably good to be consistent!

@@ -0,0 +1,63 @@
---
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a card for this page to the overview? https://buildwithfern.com/learn/docs/integrations/overview

Also, is the part in the overview about adding environment variables to docs.yml relevant to Heap? If so, I would explicitly show that on the Heap page.

Learn how to integrate Fern Docs with Heap to track user behavior and
analytics.
---

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest adding a brief sentence or two that describes the use case i.e. why someone would want to add Heap to Fern Docs. The description in the frontmatter is a good start (though that's not visible directly on the page), but I'd want the intro to be slightly more specific.

@github-actions
Copy link
Contributor

This PR is stale because it has been open 25 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale This PR hasn't has any commits or comments in 25 days or more. label Aug 31, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Sep 6, 2025

This PR was closed because it has been inactive for 5 days after being marked stale.

@github-actions github-actions bot closed this Sep 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Stale This PR hasn't has any commits or comments in 25 days or more.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants