Validating Your Android Installation

Validating Your Android Installation

by Community Manager on ‎01-04-2017 01:53 PM (373 Views)

Once you have the Android library added to your app and have configured your mobile iQ Profile you are ready to validate your installation. The type of installation will determine the best method for validating.

Before You Begin

We recommend using a build of your app configured for the "dev" environment rather than "prod" environment. This allows you to use the iQ Publish Environments to isolate your "dev" configuration from your "production" configuration. The environment is set in the Initialization part of your app's code.

This article covers the following topics related to validating your Tealium for Android installation:

Table of Contents Placeholder

Configuring Your Android App to Use Live Events

You can use the Live Events feature of AudienceStream for the purpose of validating your mobile apps. Live Events will show tracking calls coming into Tealium in real-time and is the easiest way to verify that your mobile app is sending data to Tealium correctly.

AudienceStream Customers

For customers with an AudienceStream account, there are two ways that data will come into the Live Events service: (1) through the Tealium Collect Tag configured for mobile apps using Tag Management and (2) directly from the device for mobile apps using the Collect dispatch service. Read more about these mobile configuration options.

Non-AudienceStream Customers

Access to Live Events is still available, but is limited to the "dev" environment.

If you enable this in a production environment you will be charged for the number of events Tealium has processed. Remember to disable these settings prior to a production release.

To send data to Live Events through Tag Management:

  1. In your mobile iQ Profile, add the Tealium Collect tag.
  2. In the Advanced Settings of the tag, toggle off the QA and Prod publish environments.
  3. Publish the Profile to the "Dev" environment.
  4. Configure your app to load the "Dev" environment.

To send data to Live Events through the mobile Collect library:

  1. In your mobile iQ Profile, go to the Mobile Publish settings and enable the Tealium Collect dispatch service.
  2. Publish the Profile to the "Dev" environment.
  3. Configure your app to load the "Dev" environment.

 

Now when you launch and use your app the tracking calls can be monitored in Live Events.

Creating a Live Events Stream for Mobile

Live Events will display event activity coming from all tracking sources, but you can create a filtered Stream of events based on any of the event attributes being passed. This can helpful when validating your mobile installation.

To create a filtered Stream for your mobile app:

  1. In Universal Data Hub, navigate to Discover > Live Events.
  2. Click Add Stream > Filter by Event Attribute.
  3. Enter a title eg. "Mobile Events".
  4. Leave Event Data Storage disabled.
  5. Add the condition: tealium_library_name equals (Custom Value) "Android"
  6. Click Save

The Stream condition can be based on any attribute that uniquely identifies events coming from your app.

Read more about Creating Streams.