Hi Team,
What is alternative for s tracker object in alloy.js. Suppose we have s.pagename, how to write this in websdk.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
this may be interesting to read:
Technically, you don't need a schema to send data to AA through the Web SDK. You can use the Launch Web SDK extension's variable data element to do the mapping for you.
Basically, you create a data.__adobe.analytics payload object which can be used to set props/eVars/events directly on it, which makes it easy to migrate an existing setup.
I believe you have to start using the XDM Object or Data Object in Web SDK instead of the s tracker object.
Thanks,
Any example you can share,
is this below code is fine?
content.xdm.web.webPageDetails.name = "Checkout";
Views
Replies
Total Likes
For XDM approach, after the schema is created, we always create a XDM Object as data element and populate its field values with the Launch UI.
If AA is the only application, you may skip the XDM approach and just use the Data Object, as shared by @bjoern__koth
this may be interesting to read:
Technically, you don't need a schema to send data to AA through the Web SDK. You can use the Launch Web SDK extension's variable data element to do the mapping for you.
Basically, you create a data.__adobe.analytics payload object which can be used to set props/eVars/events directly on it, which makes it easy to migrate an existing setup.
@bindukumari90 Were these suggestions helpful? If you need further clarification, feel free to ask. Otherwise, marking the answer as correct can guide others. If you've resolved the issue on your own, please share your solution to benefit the community. Thank you!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies