Validating Your Android Installation

Validating Your Android Installation

by Community Manager on ‎01-04-2017 01:53 PM - edited 2 weeks ago (905 Views)

Once you have the Tealium for 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 EventStream for the purpose of validating your mobile apps. Live Events will show tracking calls in real-time and is the easiest way to verify that your mobile app is sending data.

EventStream/AudienceStream Customers

For customers with EventStream/AudienceStream, 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 processes. Remember to disable these settings prior to a production release.

Your EventStream/AudienceStream account must be published before live events will be detected.

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 an event feed based on any of the event attributes being passed. This can helpful when validating your mobile installation.

To create an event feed for your mobile app:

  1. Navigate Live Events.
  2. Click Add Event Feed.
  3. Enter a title eg. "Mobile Events".
  4. Add the condition: tealium_library_name equals (Custom Value) "Android"
  5. Click Save

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

Read more about creating event feeds.