Heap Analytics integration

Last updated: June 3, 2022 Written by: Patrycja Patrycja
share
Table of contents
share
Table of contents

Heap Analytics is a platform that gives you a complete dataset of user behavior. It tracks user interaction, shows you which features are used the most, and gives you an insight into what has led the user to become a customer.

You can integrate Heap Analytics with Landingi using a custom JavaScript snippet. 

Get your app ID in Heap Analytics

1. Log into your Heap Analytics account.

2. Go to Settings (1) > Projects (2) and copy the app ID (3).

Install the snippet in Landingi

1. Log in to your account in Landingi and navigate to the Dashboard of your landing page. Go to the JavaScript Code tab.

You can also access the JavaScript Code section directly from the editor of your landing page.

2. Click on Add script

3. Customize the code.

Find YOUR_APP_ID and replace it with your app ID. Copy the code.

<script type="text/javascript">   
window.heap=window.heap||[],heap.load=function(e,t){window.heap.appid=e,window.heap.config=t=t||{};var r=document.createElement("script");r.type="text/javascript",r.async=!0,r.src="https://cdn.heapanalytics.com/js/heap-"+e+".js";var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(r,a);for(var n=function(e){return function(){heap.push([e].concat(Array.prototype.slice.call(arguments,0)))}},p=["addEventProperties","addUserProperties","clearEventProperties","identify","resetIdentity","removeEventProperty","setEventProperties","track","unsetEventProperty"],o=0;o<p.length;o++)heap[p[o]]=n(p[o])};   
heap.load("YOUR_APP_ID"); 
</script>

4. Type in a name (1), paste your code (2), and select Head (3) and Both (4). Click on Add

5. Publish your landing page.

Your Heap Analytics code is active.

NOTE: Keep in mind that Heap Analytics is a third-party solution and is continually being developed. We do our best to keep this guide updated, but if you come across any changes in the set-up process, let us know.

Browse all integrations in our Integrations Catalog to see tools you can connect Landingi with.

share

Was this manual helpful?