First you must configure the custom dimension in Google Analytics:
Next you can pass data from your Data Layer to Google Analytics using mappings:
You could also build up your own Data Source like google_dimension_1 in a Lookup Table Extension or Set Data Value Extension and then map that Data Source if you don't just want to use one passed into Tealium event.
Does this help?
Hi, @brian_kranson. Thank you!
One more doubt, how to map this custom dimensions in iOS and Android using Tealium SDK. I already did it using GA SDK, but i need to do now with the Tealium Library. Can you help me? I need to use TealiumEventcall?
I think something like this:
Is it work?
I checked in with our resident mobile expert and she confirmed your mobile call looks correct. Nice job!
For others that might be reading this thread, you might want to reference:
The only difference is that the name referenced in the track call is my_datasource and if you look in the image above, you will see page_category. Make sure you map the correct datasource to the Google dimension.
Let us know how this works out for you.
Hi @brian_kranson, thanks!
All works fine. The problem now is that there is a empty Screen Name in GA. We deactivated mobile companion and UI Auto Tracking because we track screen manually. With sure, we don't ship a empty screen name. All screen mapped in code with "TealiumViewCall" works fine, but i dont know why this empty screen is been tracked. Can you help me? I'm wasting a lot of time with this problem. There is another problem in Android too, a screen view with app name is been tracked and should not.
Thank you very much.
@fparpinelli If you open a case through you Tealium Account Manager, an Engineer can look at your specifc implementaiton and give direct advise on a resolution. For example, they can log into your TiQ Account / Profile while also viewing your website / mobile app to see what the exact problem is. At this point I would recommend you work with your Account Manager so you don't waste too much time debugging.