Mobile App Analytics - Is there an alternative to visitorAppendToURL function for Native to Webview Tracking? | Community
Skip to main content
Level 3
June 21, 2022
Question

Mobile App Analytics - Is there an alternative to visitorAppendToURL function for Native to Webview Tracking?

  • June 21, 2022
  • 2 replies
  • 2371 views

Dear Community,

 

We have implemented Adobe SDK on the Mobile App, our App is hybrid. And it uses Salesforce CIAM for Login (which is a webview),

When user navigates from Native App Screen to the CIAM Login Webview Page, we are passing "adobe_mc" as a parameter using visitorAppendToURL function.

 

But CIAM has character limitation on login page, meaning it blocks any additional parameters. So in that case User Journey breaks for Webview and new ECID gets generated from Ex Cloud Extension on WebView instead of keeping the same ECID from Native Screen Visit.

 

I was wondering if you have came across such scenario to pass ECID to a webview page from native mobile app screen, without using visitorAppendToURL function.

 

Please do reply, if you have any idea.

Thanks a lot.

 

@yuhuisg , @jennifer_dungan , @pablo_childe , @andrew_wathen_ 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

VaniBhemarasetty
Adobe Employee
Adobe Employee
June 21, 2022

@ap95 I do not think without the visitorAppendToURL function, you would be able to stitch visitors between Web and app because it is designed this way to stitch the visitors for hybrid apps

ap95Author
Level 3
June 22, 2022

Thanks Vani for you input.

Pablo_Childe
Community Advisor
Community Advisor
June 21, 2022

Question...

 

(Native App Screen) to the (CIAM Login Webview) Page,

 

Is it safe to say... (iOS Adobe SDK) to the (Adobe web responsive SDK) are tagged and going to their report suites?

ap95Author
Level 3
June 22, 2022

Hi Pablo,

They are both tagged, data goes to the same RS.

Pablo_Childe
Community Advisor
Community Advisor
June 23, 2022

Hi Pablo,

 

So, if I'm getting you correct, you are suggesting to overwrite ECID1 value which is coming from native screen to webview (ECID extension) generated ECID2, using some custom logic?

 

I was thinking about overwriting it, but never have done it before, and I also have to make sure about the timing, as ECID extension is the first one to load on Web. My custom logic should fire before ECID extension loads, so that it avoids creating new ECID. 

 

Not sure about the complications though.


Hi eventually yes.

Step 1 can you carry over the ECID in a copy evar.(test data flow logic)

Step 2 then use a processing rule to overwrite the ECID with an Evar if present.