In addition to user data, the Xtremepush SDKs and APIs support the collection of behavioural data to understand and respond to what users are doing on your websites and in apps in real-time. This includes:
- Tagging: Tracking of behaviour online, including screen-view and other interactions
- Real-time events: Setting of trigger events on important interactions
- External data: Reusing data from 3rd party sources like Google Analytics and CRMs like Optimove
- Backend data and events: API methods that allow syncing of backend data and reaction to events in realtime
- Location data: The mobile SDKs can allow the tracking and reaction to entry and exit of users into geo or iBeacon fenced regions such as retail outlets, airports, stadiums etc.
- App install attribution: The mobile SDKs can allow the tracking of the source of app installs, for example, if a user clicked on a Facebook ad to install an app.
- Messaging data: In relation to comms to end-users, and which can be used to track performance of a campaign
- Session data: Only available for mobile apps
To tag interactions for analytics and the ability to segment campaigns based on tag behaviour, call the SDKs' tag method when that interaction occurs, for example in the web SDK:
// Tag successful registration xtremepush('tag', 'registration_complete');
If an interaction has an associated value, that can also be captured by using the tag method with an optional value, for example in the web SDK:
// Capture a field value from a form being filled out xtremepush('tag', 'journeyform_destination', 'New York');
Tags can be used in segmentation to target users who have exhibited a certain behaviour on an app or website, for example visiting certain pages in the last number of days.
Tags are processed in batches, so there may be a delay of up to 1 min between generating the tag and it appearing in the UI.
You can review profile attributes by navigating to Data > Users. Search for the specific user for which you want to review the data by Profile Id, User ID or other identifier if you are using one, and click the Profile ID to open the user data under the Data tab.
In the Tags tab (from a user profile), you will see the list of tags your device has sent, complete with any data sent, a timestamp and the associated application. You can refresh this page periodically to see your tags as you generate them on the app/website side.
You can also search your tag list by tag name or the value of data sent using the fields provided; just enter some text and the search filter is automatic.
Navigate to Data > Devices to review device attributes. Click on the Device ID and find the device attributes by scrolling down to the bottom of the page.
Real-time events are used to trigger an action such as sending a message.
Review our real-time events page for detailed information on what they are, how they can be used in Xtremepush to trigger campaigns and how to configure event triggered campaigns.
Triggering can be used for a variety of use cases from immediate pop-up comms and delayed drop-off recovery via outbound comms.
If you use Google Analytics then you can reuse your GA segments in the Xtremepush segmentation. For web there is a simple server to server integration, and for mobile apps that use GA you just need to add a few lines of code on the client side to sync IDs and enable the GA integration. See the guides on how to integrate Google Analytics in your Xtremepush project and how to enable this for mobile apps.
Once you have integrated Google Analytics, you can reuse your GA segments in the segmentation engine.
As a Google Tag Manager vendor partner, it's easy to import the web SDK using GTM, which is described in the guide on importing the web SDK.
If you use the Optimove CRM in conjunction with Xtremepush for messaging your customers you can pull customer data from Optimove into your campaigns dynamically to personalise your messaging. After configuring the Optimove integration you can follow the guide to use customer data from the CRM in campaigns.
In addition to the tagging and event methods of the SDKs, and out of the box integrations with 3rd party systems, you can also push data and trigger events directly from your backend systems via API. As covered in user data, there are API methods for updating and syncing profile records. In addition, there are a number of other API methods which may be relevant.
The tag/attribute syncing API methods can be used to update user behaviour or attribute data that may change outside the app or website, similar to the SDK tagging methods.
You can also trigger message campaigns with transactional data in response to events on your backend system. For example, a direct debit from a balance, a change in the position of a tracked datapoint like a currency or stock, or an update on a purchase, such as an order being out for delivery. It is also possible to send arrays of data objects, for example if you have a recommender system for products or other content and want to send out recommendations via emails as they become available.
On the mobile SDKs you can enable location services, which allows you to gather data on customers entering and exiting geofenced and iBeacon-fenced regions. Location services are only available for mobile apps and must be enabled in the SDK for Android and iOS.
Once enabled, you can follow the guide to add locations.
The resulting location data can be used to trigger messages, and can also can be viewed in location analytics and in segmentation to target users who have exhibited a certain location visit behaviour.
Location based triggers work on entry, exit or time spent in a location and can be used to automate messages on all outbound channels. Triggering can be used for a variety of use cases including delivering a relevant offer when a user is at a location, sending a survey after a user has visited, etc.
A single GPS co-ordinate is also stored to maintain the last known location of the device. This data point is not visible anywhere on the platform but is it is used in the Last known location feature of segmentation.
You can attribute mobile app installs from advertising campaigns to a specific campaign by enabling app install attribution in the mobile SDKs and collecting the advertising identifiers (IDFA on iOS or Android Ad ID). The steps are described in the guide for enabling attribution through Kochava which then allows you to set up install campaigns in Xtremepush.
Once enabled, data on the source of your app installs will be available in Analytics > Campaigns > Attributions.
When you send messages on any channel, where possible, the following data is gathered to track performance:
- Clicks on any links/CTAs - (e.g. links in emails, CTA buttons on in-app messages)
Learn more about what these metrics mean in our Analytics terminology guide.
This data is used on the campaign comparison page to show the performance of campaigns and also in segmentation to allow you to segment users based on interactions with previous campaigns.
When you enable the mobile SDKs, app open times and session duration are recorded by default. This is used to show engagement stats in analytics and also to segment users based on recency and frequency of interactions with the mobile app.
Updated 5 months ago