Does visitorapi.js generate SDID when the MID is passed in via url (app to webview)? | Community
Skip to main content
Level 2
May 17, 2021
Solved

Does visitorapi.js generate SDID when the MID is passed in via url (app to webview)?

  • May 17, 2021
  • 2 replies
  • 1021 views

Hi,

 

I'm trying to understand impact to A4T reporting when our app opens a webview and we pass in the MID via visitorAppendToURL function.  Would the visitorapi.js generate SDID in this case within the webview page that would allow Target activities on in the webview page to remain stitched to the analytics call?

 

Thanks!

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

Hi @akma1991,

Generally speaking, the visitorAPI.js generates an SDID when the at.js fires a request from the page. So yes, a webview that has both the visitorAPI.js and at.js deployed properly and in order should have the SDID for reporting on any Target activities that fire on the webview.

 

2 replies

ryanr7Adobe EmployeeAccepted solution
Adobe Employee
May 18, 2021

Hi @akma1991,

Generally speaking, the visitorAPI.js generates an SDID when the at.js fires a request from the page. So yes, a webview that has both the visitorAPI.js and at.js deployed properly and in order should have the SDID for reporting on any Target activities that fire on the webview.

 

Pawan-Gupta
Level 8
May 18, 2021

Hello,

 

Yes, it does. please refer - https://experienceleague.adobe.com/docs/id-service/using/implementation/ecid-a4t-target.html?lang=en#implementation specificaly section 5.

 

hope this helps.