Analytics platforms integrations

Product Fruits can send analytics data to 3rd party analytics platforms. The Integrations tab can be found along the left side of the platform.

How it works

We use existing analytics platforms integrations on your site. This means means that your site must implement the target analytics' platform JavaScript code to track analytics events.

Supported platforms

  • Segment
  • Mixpanel (see Platform's notes)
  • Heap
  • Customer.io
  • HubSpot (see dedicated article here)
  • Sessionstack
  • Smartlook
  • Google Analytics (see Platform's notes)

Custom platform

If you use another platform, you can use our JS API to forward events.

What events and data we send

This table shows the full overview of all the events and data that can be sent. Some platforms cannot work with some of the custom data shown below.

In case you use one of our native analytics integrations, Event name will be visible in the analytics platform. If you use our JS API to forward events, you will also get Raw name in the JavaScript object.

Event nameRaw nameDataNotes
Announcements Banner Action Consumedannouncements_banner_action_consumedidv2 announcements
Announcements Banner Dismissedannouncements_banner_dismissedidv2 announcements
Announcements Banner Openedannouncements_banner_openedidv2 announcements
Announcements Newsfeed Item Consumedannouncements_newsitem_action_consumedidv2 announcements
Announcements Popup Action Consumedannouncements_popup_action_consumedidv2 announcements
Announcements Popup Dismissedannouncements_popup_dismissedidv2 announcements
Announcements Popup Openedannouncements_popup_openedidv2 announcements
Announcements Popups Stack Dismissedannouncements_popup_stack_dimissedidsv2 announcements
Life Ring button - Announcements clickbutton_changelogs_click  
Announcement openchangelog_loadedA set of title_LNGCODE 
Checklist dismissedchecklist_dismissedchecklistId
checklistName
 
Checklist completedchecklist_donechecklistId
checklistName
 
Hint dismissed forevercontext_help_dismissedcontainerId
cardId
cardName
 
Hint opencontext_help_loadedcontainerId
cardId
cardName
 
Feedback sentfeedback_sentvideosCount
screenshotsCount
 
Mood gatheredmood_gatheredtourId
tourName
cardId
cardName
containerId
rating
tag
Sent when the user submits the adoption meter rating. Rating is sent as a number between 0 - 10.
Tour - Card step backtour_card_backtourId
tourName
cardId
cardName
currentCardOrder
cardOrderWithName
Sent when a user returns to the previous step
Tour - Custom button clickedtour_card_button_clicktourId
tourName
cardId
cardName
currentCardOrder
cardOrderWithName
buttonAction
buttonTitle
connectedTourId or url
 
Tour - Card opentour_card_loadedtourId
tourName
cardId
cardName
currentCardOrder
cardOrderWithName
Sent when the card is rendered to the user.
Tour - Card readtour_card_readtourId
tourName
cardId
cardName
durationMs
durationS
Sent when the card is closed by the user.
Tour finishedtour_finishedtourId
tourName
cardId
cardName
 
Tour skippedtour_skippedtourId
tourName
cardId
cardName
 
Tour startedtour_startedtourName
tourId
forced
 
Tour started (Life Ring button)tour_started_from_buttontourId
tourName
Sent if the tour is started from the Life Ring button. The Tour started event is also sent.
Life Ring button - Widget clicktype (currently always 'link')
url
  

All events also have the pfVendorName property set to Product Fruits.

Platforms notes

Mixpanel

We call the window.mixpanel.track method. Multi-environment Mixpanel installations are not currently supported.

Note that if Mixpanel has been installed via the NPM package then you must make the window.mixpanel equal to mixpanel, as seen below:
 

window.mixpanel = mixpanel;

Google Analytics

For the integration to function properly, Google analytics must be installed in the application where Product Fruits is deployed. 

To enable the integration, first select the Integrations menu option as seen in the image below. Here, select Google Analytics from the menu, and click Activate to enable the integration. After activation, verify the date Google Analytics is receiving data by checking the Realtime reports in your Google Analytics dashboard. Alternatively, you can use Tag Assistant, to ensure that events from the table above are being properly forwarded.

 

From a technical standpoint, we call window.ga('send', ...) or window.gtag('event', ...) methods. We don't currently support named installations.

 

Was this article helpful?