Synchronize the download URL Loyalty card with Shopify profiles

Obtain the direct link to download a loyalty card through your marketing flows

The best way to have an outstanding loyalty strategy is to remove friction for customers to download their loyalty cards.


To this end, we developed the "Download Link Sync" feature for Shopify, which adds a unique URL to the customer's metafield, enabling them to download the loyalty card with a single click.


This metafield is called "jericommerce_download_wallet_pass_url," and you can use it in various places throughout your Shopify journey, such as on the customer profile in your shop or in your email communications from Shopify Flows.


These links are one-time use. This means that each time a customer clicks to download the loyalty card, the link will be updated, and the previous one will no longer be valid.

Keep in mind that this property on the metafields enables anyone with access to this link to install the loyalty card from other customers. For security reasons, it's important to control who has access to this metafield.


You could use a simpler approach, as explained in our post about the process for creating prefilled download links.

It is important to understand the security advice for shared download links synchronization with Shopify metafields

Download loyalty card from customer profile

To add a banner on the customer profile on your online shop, enabling customers to install the wallet pass with 1-click, you could create a link with this property in their profile area.

Here are some examples of valid links for using this functionality:

// Generic download will automatically select the iOS or Android version based on the customer's operating system
<a
  href="{{ customer.metafields.jericommerce.jericommerce_download_wallet_pass_url }}" >
Download your Wallet Pass
</a>

// Link to download the loyalty card for Android
<a
  href="{{ customer.metafields.jericommerce.jericommerce_download_wallet_pass_url }}&platform=android" >
Download your Wallet Pass
</a>
// Link to download the iOS loyalty card
<a
  href="{{ customer.metafields.jericommerce.jericommerce_download_wallet_pass_url }}&platform=ios" >
Download your Wallet Pass
</a>

Topics

Integrations