- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
We have an app with native implementation and webview. I'm using uid parameter and passing the same value in datalayer for both parts, to get a single user but I get two different sessions for the same user across the same app session. I 've found a SiteCatalyst solution in the community but it doesnt work for GA.
It seems the problem comes because cid parameter client ID is different between native and webview requests. Any idea to solve this?
Thanks in advance
Best Regards
Hi Craig
We are using 5.0.4 Tealium SDK, How can I pass the session id in GA? sesion id is equivalent to cid parameter? I don't find any mapping to do this or method
Thanks in advance
11-21-2016 02:59 AM - edited 11-21-2016 07:45 AM
Just to confirm, you would want to grab the session ID from the Tealium GA instance, and pass this through to your web view in GA?
Yes I want to pass the session ID from native to webview part, we need to have all screens under the same session in GA
Are you also using Tealium IQ to serve GA inside your webview, or is this managed outside of Tealium? Sorry for all the questions!
Yes i'm using the same profile to track webview
Thanks in advance
Thanks @craig_rouse I look forward to hearing from you
@craig_rouse Please do you have any news about this subject?
Thanks @craig_rouse
I'm Sorry for a such delay, we have tested the sample app, but onInvoke callback function never is called, can you help us?
@Override
protected void onInvoke(Response response) throws Exception {
JSONObject resp = response.getRequestPayload();
GAApplication.gaSessionId = resp.optString("sessionId", null);
}
Regarding the GA custom template, when will be published a new version with clientId mapping?
Thanks in advance
Oscar
01-25-2017 06:53 AM - edited 01-25-2017 06:56 AM
Hi @ofernandezg,
Sorry for the delay here too. Have you updated the profile reference in the sample app to your own profile, or kept the default, which is pointing to my test account/profile?
I have just re-tested the sample app using my test account/profile, and it works fine. If you've changed the profile, ensure you've added all the relevant extensions described in the article, and that you've added the TagBridge tag, along with the correct command ID (syncSessionId in this case)
Let me know if you get it working.
Craig.
Hi @craig_rouse
I'm using your test profile inside the attached android sample app, the function onInvoke never is raised and therefore the client id is assigned null value.
Thanks in advance
Óscar
Copyright All Rights Reserved © 2008-2023