AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

4.1K members online now
4.1K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
Guide Me

how to retain mobile session on javascript on webview

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I have critical problem.. please help me.  

My app ( both android and ios ) has webView to browse some my webpage. 

On webView, User can move other my webpages which have javascript ga tracker has same tracking ID with mobile.

The problem is javascript ga tracker generate new session on webpage. 

Can I get mobile sessionID and send it to my webpage ( or webview ) ?

Or How can I retain mobile session on webpage in my webview?

Thanks for your reading. Help me. 


1 Expert replyverified_user

how to retain mobile session on javascript on webview

Top Contributor
# 2
Top Contributor

Webviews will generate new user id unless you tell the app opening the webview to include a client and user ID derived from the one in the app.

Check the Related Resources section here:


VP & Chief Evangelist at Hub'Scan | Contact me
Level 80 Digital Analytics Warrior, KPI Therapist and Keeper of the One True Tagging Plan