Heap Analytics
Last updated
Was this helpful?
Last updated
Was this helpful?
Heap is a Product Analytics company that provides analytics infrastructure and helps their clients to focus on discovering insights and taking action, not writing tracking code.
The Heap Analytics integration allows you to send the AB Tasty campaign data to your Heap Analytics project.
AB Tasty campaign data is set as Heap event properties so that all Heap events that fire will contain the AB Tasty campaign data. The properties are set with an event. Here are the event properties set by AB Tasty:
Event name is “abtasty”
abtasty_campaign contains the Campaign ID and Campaign Name formatted as [campaign_id] campaign_name
abtasty_variationcontains the Variation ID and Variation Name formatted as [variation_id] variation_name
Event is sent using the heap.track()
method and event properties are set using the heap.addEventProperties()
method.
More information about Heap properties and event properties is .
You can set up the integration in AB Tasty:
Access Integrations > Integration Hub.
Search for and select Heap Analytics.
Click Setup connector.
Give a name to your connector so you can easily retrieve it.
[Optional] Check the box to automatically add the connector to your future campaigns.
Click Save and create connector.
If you have checked the box, the connector will be automatically added to the Advanced step of your future campaigns. However, it is not applied retroactively to previously created campaigns.
You can also modify this behavior from the Integration hub, by editing your connector configuration (check or uncheck box).
Heads up ⚡ You must update the AB Tasty tag to make your changes live.
⭐️Tip(s): This integration relies on the presence of the Heap SDK in the webpage's global scope. You can make sure this is the case by running window.heap"* in your developer tool console. If it is not undefined, the integration can work.
If you left the box unchecked (default behavior), your connector won't be added automatically. You can still decide to send campaign data to your connector by selecting it from the Advanced options step of your campaign. More information on how to link a campaign is can be found in the article.
More information on how to analyze A/B testing data within Heap Analytics is .
To test this integration, please open , and browse any page of your website on which an AB Tasty campaign is running. If the integration is working, an AB Tasty event will soon appear in the live event visualizer.
If you click on it, you will see that this event contains data describing the current campaign.