Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

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

akma1991
Level 1
Level 1

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!

1 Accepted Solution
ryanr701
Correct answer by
Employee
Employee

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.

 

View solution in original post

2 Replies
ryanr701
Correct answer by
Employee
Employee

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.

 

View solution in original post