Heap and Segment
Send demo viewer events to Heap or Segment.
ProPaid plan only, not in the free trial. Admins only.
Both send the same events as Google Analytics.
Heap
- Go to Integrations → Heap and turn on Enable.
- Enter your Heap Environment App ID. In Heap, go to Account → Manage → Projects. It's the number in
heap.load("…")in your install snippet. - Click Save changes.
- For demos on your website, turn on forwarding to Heap in the demo's Share → Embed code tab. Put the Heap snippet on your page before the Peutly embed.
- Test in Heap's Live feed with a share link and an embedded demo.
Segment
- Go to Integrations → Segment and turn on Enable.
- Enter your Segment Source Write Key. In Segment, go to Connections → Sources → your JavaScript source → Settings → API Keys.
- Click Save changes.
- For demos on your website, turn on forwarding to Segment in the demo's Share → Embed code tab. Put the Segment
analytics.jssnippet on your page before the Peutly embed. - Test in the Segment Debugger with a share link and an embedded demo.