--- title: "Connecting Shopify Wishlist Apps" slug: "connecting-shopify-wishlist-apps" updated: 2025-07-25T17:04:59Z published: 2025-07-25T17:04:59Z canonical: "docs.xgen.ai/connecting-shopify-wishlist-apps" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.xgen.ai/llms.txt > Use this file to discover all available pages before exploring further. # Connecting Shopify Wishlist Apps There are several wishlist apps that allow shoppers to create lists of products they'd like to purchase later, essentially creating a "favorites" or "want" list, often without logging into an account. Each wishlist app handles integrations in their own way or logic, so there is no one fit all solution. We currently support wishlist apps that provide snippets for code injection and API scripts that can be pasted into our [XRecommend Widget Customization](/v1/docs/customize-xrecommend) section shown below. ![Options for selecting wishlist type and customizing outline and background colors.](https://cdn.us.document360.io/ae46ce4b-af2c-4789-b3ad-1d1ccd16b4a1/Images/Documentation/Screenshot 2025-07-25 at 9.14.33 AM.png) ## Snippet Integration For wishlist widgets that integrate with a snippet, choose the wishlist type as ‘snippet,’ then add the initialization JS code and html code on the widget html block, you can get these from your wishlist app support or integration page. ## API Integration For wishlist widgets that integrate with an API, choose the wishlist type as ‘API’ and define the outline and active background color of your wishlist icon. Your wishlist provider offers the functions or the url API to add, remove or update the wishlist item. The XGEN product card automatically adds the heart icon. > [!WARNING] > Shopify Developer Responsibility > > The app only handles the UI part. It is the shopify developer's responsibility to integrate these APIs or JS events ## Event Triggers In order for the wishlist icon to trigger event tracking, reference these tags to give product data like ID, handle, options, variants, and images for the clicked product card. `xgen-wishlist-added` This gets triggered whenever the heart icon or wishlist icon has been pressed on the product card `xgen-wishlist-removed` This gets triggered whenever the heart icon or wishlist icon has been pressed on the product card which is already added in the wishlist ## Preferred Wishlist Integrations **Swish (formerly Wishlist King)** Here’s the api integration for the [Swish app](https://apps.shopify.com/wishlist-king) ```javascript ```