Track Page Views

To implement page-view analytics in your app, use the trackPageView method.

For more information about using this method with Einstein Recommendations, see Salesforce Help: Track Items Viewed.

For SDK version 10 and later, use this example.

For SDK version 8, use this example.

For SDK version 7, use this example.