Expand my Community achievements bar.

Tracking Product Views and Cart Additions in Adobe Analytics

Avatar

Level 2

Hi,

 

We are currently using Adobe Analytics for tracking our mobile app, and we need to implement tracking for "Product Viewed" and Products "Added to Cart" events. Could you please share the solution along with any related articles or documentation?

 

Regards,

Sivateja

 

5 Replies

Avatar

Community Advisor

Refer to below documentation:

https://experienceleague.adobe.com/en/docs/analytics/admin/admin-tools/manage-report-suites/edit-rep...

https://experienceleague.adobe.com/en/docs/analytics/implementation/vars/page-vars/events/events-ove...

 

You can implement the Product Views in both ways. First, with the 'prodView' value exists in the events variable (s.events = 'event1,prodView') or Second, with 'products' variable (s.products) is set and the events variable is empty.

Avatar

Level 2

Hi @Krishna_Musku,

 

Thanks for sharing the articles! However, I need to clarify that I’m working on the mobile app, not the website.

We’ll need to provide the code to the mobile app developers so they can integrate it into the SDK.

Let me know if you need any further details!

Avatar

Community Advisor

https://experienceleague.adobe.com/en/docs/analytics/implementation/vars/page-vars/events/events-ove...

In the above documentation, there are events mentioned for using the Web SDK

 

Product Views are mapped to xdm.commerce.productViews.value.

Cart Additions are mapped to xdm.commerce.productListAdds.value.

 

For the Mobile SDK events, see the below documentation for more informations:

https://experienceleague.adobe.com/en/docs/platform-learn/implement-mobile-sdk/app-implementation/ev...

 

Avatar

Community Advisor and Adobe Champion

Yeah, the XDM Stream makes this a lot easier... in the old ACP SDK, the developers actually had to populate the products and events right into the request string as &&events=[list of events]&&products=[entire formatted products notation] (since you couldn't even map products with Processing Rules).

 

But with XDM stream, assuming you are using the proper XDM, you can send the data into the products schema.

 

However, if you are using the a.tags custom format; to send data through as props, evars and context variables in the AA formatting, and just letting it go straight to Analytics, basically using the ACP methodology with the XDM stream, then you will have to use what I showed above.

Avatar

Level 2

Hi @Jennifer_Dungan,

 

Thanks for your update. Since we aren’t using XDM at the moment, we need to provide the Product View code to the app developers for implementation.

Could you share the code structure or any relevant documents to help us track Product Views in the mobile app?

I appreciate your help!