Inspecting mobile.html

Inspecting mobile.html

by Community Manager on ‎01-04-2017 03:38 PM (149 Views)

A file named mobile.html is published when you activate a mobile profile in Tealium iQ. This file is required by the native mobile library. You can load this file directly in a browser window to inspect the behavior of your mobile profile configuration. 

 

1. Enter your app's mobile.html address into a browser (this method has been tested on Chrome, Safari and Firefox):

[Pattern] http://tags.tiqcdn.com/utag/(your profile)/(a profile)/(target environment)/mobile.html

[Sample] http://tags.tiqcdn.com/utag/ios/main/dev/mobile.html

 

2. Inspect the page source or bring up the browsers console to do so (sample below using Firefox with the Firebug extensions):

Screen_Shot_2013-03-14_at_1.55.23_PM.png

Double-check the <head> or top-level tag to make sure the published timestamp (ut4.0.201303142021) matches the most recent publish setting within your Tealium IQ panel:

Check Tealium iQ Version Timestamp

The publishing timestamp in the mobile.html always appears after the server "utx.x..." identifier and has the following pattern: YYYYMMDDHHMM. Time is always in GMT.

 

3a. Inspect the 'mps' Javascript variable to view the remote mobile publish settings for the 4.x and 5.x native app libraries:

 

Mobile_MPS_4_and_5.png

 

3b. If using a 3.x version of a Tealium mobile library - Inspect the <body><script> tag for the nativeAppLiveHandlerData variable to see the raw form of any iOS Live App Handler extensions you set in Tealium IQ (sample below from Firefox with Firebug extensions inspecting the mobile.html DOM):

Screen_Shot_2013-03-14_at_1.55.52_PM.png

4. To make sure the mappings are correct, you can inject code directly into the browser console (sample from Firefox with Firebug extension):

Screen_Shot_2013-03-14_at_1.57.07_PM.png

[Sample] utag.track('view',{ "screen_title": "MainMenu" }, function() {TealiumTaggerCallback.callback();});

If the call was successful you will see "true" returned:

Screen_Shot_2013-03-14_at_1.57.11_PM.png

5. If the analytics service you're testing against has a real-time tracker, you can verify that the call went through. (below sample is from Google Analytics):

Screen_Shot_2013-03-14_at_1.57.45_PM.png