trackWishList

Notifies Granify of the contents of the shopper's wish list.

This method can be called multiple times for different lists you wish to track. Please ensure that you use a unique name for each list tracked (e.g. "Saved for Later", "Christmas", etc.) per user.

Placement

This function should be called:

  • On initial app launch.

  • After there is any change made to the wish list.

  • Upon updating wish list information from a server response (e.g. from shopping performed on the same user account on a different device).

Parameters

name

The name of the wish list being tracked.

contents

The contents of the wish list.