- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
11-15-2016 07:12 AM
We are using the Tealium.TrackView call in order to track screen view of an Unity app.
Problem is that in the Tealium Collect gif we don't see any screen_title set.
This is an excerpt from our code:
Tealium.TrackView("Rooms Map");
This is what we see in our apps Log:
view: { screen_title : Rooms Map }
This is an excerpt from we see in the Tealium Collect gif:
"data": { "timestamp": "2016-11-15T14:24:18Z", "os_version": "10.0.2", "autotracked": "false", "device": "iPhone", "override_url": "https://tags.tiqcdn.com/utag/xxx/xxx/qa/mobile.html?library_version=4.1.10×tamp=1479218965.048684&os_version=10.0.2&platform=ios_unity", "lifecycle_sleepcount": "6", "app_id": "xxx 1.0", "lifecycle_secondsawake": "33", "device_cputype": "", "app_name": "xxx", "lifecycle_dayssincelaunch": "0", "lifecycle_totalterminatecount": "2", "platform": "iOS", "carrier": "Vodafone IT", "lifecycle_totalwakecount": "5", "screen_title": "",
As you can see in the last line, the screen_title is collected as a blank string, even if it has been correctly reported in the app log.
Additional details:
- we are using the 4.1.x version of the mobile library
- we turned off mobile autotracking
- we don't have any extension, we just added the Tealium Collect and the Google Analytics tag.
Any ideas?
Best,
Giacomo
Solved! Go to Solution.
11-15-2016 08:55 AM
Hi Giacomo,
The Unity plugin is one of the lesser-used plugins we provide, and as you can see from the GitHub repo, hasn't been updated for a while.
I don't have a Unity environment set up currently to test with, but my suspicion is that you may have found a bug in the plugin. I would suggest (if you haven't already) trying the following:
var data = new Dictionary.<String, String>(1); data["screen_title"] = "Home Screen"; Tealium.TrackView("Home Screen", data);
If this doesn't work, please come back and let me know on this thread. I'd also be interested to know your use case for the Unity plugin, so if you don't mind sharing, please contact me directly by PM or email.
Thanks,
Craig.
11-16-2016 03:40 AM
Hi Craig,
we tested the 1st solution and it works, it seems that the first parameter of the TrackView call is ignored but setting screen_name in the data layer works.
Should I file a bug report on the github issue page?
11-16-2016 03:54 AM
Copyright All Rights Reserved © 2008-2023