addtowallet.co
Create PassFeaturesPricingAPIBlog
Sign InGet Started Free
All guides▾
  • Guide10 reasons why incorporating Mobile Wallet Passes into your mobile strategy is essential
  • Guide5 Reasons why your store needs a wallet pass
  • GuideAdvantages of using Google and Apple wallet pass in businesses
  • GuideBest practices to design an amazing wallet pass
  • GuideBoost Engagement with Interactive Wallet Passes in Magazines
  • GuideConvert Pdf To Pass Using AddToWallet
  • GuideCreate Apple wallet pass for free
  • GuideCreate Apple Wallet passes for Your Business
  • GuideCreate Google wallet pass for free
  • GuideCreating Apple and Google Wallet Passes
  • GuideCreate Wallet Passes with the AddToWallet Zapier Integration
  • GuideDifferences between Apple and Google wallet
  • GuideEnhance audience interaction with wallet passes in Newspapers
  • GuideHidden Form Fields: Dynamic Expiry for Wallet Passes
  • GuideHow Google and Apple Wallet Pass Works
  • How-toHow to Add Amelia Booking Passes to Apple Wallet & Google Wallet
  • How-toHow to Add an Add to Wallet Button to Your Website
  • How-toHow to Add an Apple Wallet Button Easily
  • How-toHow to Add Bookly Booking Passes to Apple Wallet & Google Wallet
  • How-toHow to Add Location to Wallet Passes
  • How-toHow to Add Team Members to Your Account
  • How-toHow to Add Simply Schedule Appointments Bookings to Apple Wallet & Google Wallet
  • How-toHow to configure notifications for Apple & Google wallet passes
  • How-toHow to create a business pass for Apple and Google wallet
  • How-toHow to Create a wallet pass?
  • How-toHow to create a wallet pass using Zapier Integration?
  • How-toHow to create digital Concert Tickets with AddToWallet.co
  • How-toHow to create dynamic passes and manage users in AddToWallet
  • How-toHow To Create Gift Cards in Bulk
  • How-toHow to Create Hair Salon Gift Cards in Minutes
  • How-toCreate Loyalty Wallet Pass Using AddToWallet
  • How-toHow to Create Mobile Wallet Passes Using Google Sheets
  • How-toHow to Create & Scan Dynamic Wallet Passes Using AddToWallet
  • How-toHow To Distribute Google or Apple Wallet Pass
  • How-toHow to duplicate a wallet pass?
  • How-toHow to embed Google Wallet or Apple Wallet button on Shopify
  • How-toHow to embed Google wallet or Apple wallet button on Squarespace
  • How-toHow to embed Google Wallet or Apple Wallet button on Weebly
  • How-toHow to embed Google Wallet or Apple wallet button on Wix
  • How-toHow to embed Google Wallet or Apple Wallet button on WordPress
  • How-toHow to Generate JSON for Apple & Google Wallet Passes
  • How-toHow to generate leads using Google wallet or Apple wallet Pass wallet pass?
  • How-toHow to Use AddToWallet Node on N8N
  • How-toHow to integrate make.com with AddToWallet.co?
  • How-toHow to Secure Wallet Passes with Access Code Protection
  • How-toHow to Send Notifications Using Wallet Pass
  • How-toHow to Set Up Custom Domains with AddToWallet
  • How-toHow to Share Wallet Passes Using Flyers
  • How-toHow to test Apple Wallet beacons
  • How-toAddToWallet Order Pass App on Shopify
  • How-toHow to create dynamic wallet pass
  • How-toHow to Use Webhooks with AddToWallet
  • GuideOur Audience Asked for Wallet Tickets AddToWallet.co Delivered
  • GuideCreate Wallet Passes from Form Responses
  • GuideWallet Pass Generator for Google Sheets
  • GuideWallet Passes for Wedding Invitations

How-to

How to Add an Apple Wallet Button Easily

By AddToWallet Team·Published June 29, 2024·Updated November 5, 2026·2 min read

Add a wallet button to a page you already have. In Safari the button says Add to Apple Wallet. In Chrome it says Add to Google Wallet.

1. Add a custom HTML block

Open the page where the button should appear and add a custom HTML block. WordPress, Wix, Squarespace, Weebly, and Shopify each include one.

2. Paste the snippet

Paste this snippet into the block. It chooses the badge from the browser.

<script>
window.onload = function() {

  // Paste the pass link here in the button url string
   const buttonUrl="https://app.addtowallet.co/card/........";

  var button = document.getElementById("addToWalletButton");
  var userAgent = window.navigator.userAgent;
  var img = document.getElementById("walletImage");
  if (userAgent.indexOf("Chrome") != -1 && userAgent.indexOf("Safari") != -1 && userAgent.indexOf("Edg") == -1) {
    img.src = "https://s3.amazonaws.com/i.addtowallet.co/assets/Add_to_Google_Wallet_badge.svg.png";
  } else if (userAgent.indexOf("Safari") != -1 && userAgent.indexOf("Chrome") == -1) {
    img.src = "https://s3.amazonaws.com/i.addtowallet.co/assets/add_to_apple_wallet.png";
  } else {
    img.src = "https://s3.amazonaws.com/i.addtowallet.co/assets/Add_to_Google_Wallet_badge.svg.png";
  }
  button.style.background = 'none';
  button.style.border='none';
  button.style.width = '250px';
  button.style.height = '72px';
  img.style.width = '100%';
  img.style.height = '100%';
  button.style.cursor = 'pointer';
  button.onmousedown = function() {
    button.style.transform = 'scale(0.9)';
  }
  button.onmouseup = function() {
    button.style.transform = 'scale(1)';
  }
  button.onclick = function() {
    window.open(buttonUrl, '_blank');
  }
}
</script>
<button id="addToWalletButton">
<img id="walletImage" src="" alt="addToWalletButton"/>
</button>

3. Replace the pass URL

Replace the buttonUrl string with the pass link. You can copy that link after creating a pass and clicking the copy icon.

Create Wallet Pass Now

All guides

  • Guide10 reasons why incorporating Mobile Wallet Passes into your mobile strategy is essential
  • Guide5 Reasons why your store needs a wallet pass
  • GuideAdvantages of using Google and Apple wallet pass in businesses
  • GuideBest practices to design an amazing wallet pass
  • GuideBoost Engagement with Interactive Wallet Passes in Magazines
  • GuideConvert Pdf To Pass Using AddToWallet
  • GuideCreate Apple wallet pass for free
  • GuideCreate Apple Wallet passes for Your Business
  • GuideCreate Google wallet pass for free
  • GuideCreating Apple and Google Wallet Passes
  • GuideCreate Wallet Passes with the AddToWallet Zapier Integration
  • GuideDifferences between Apple and Google wallet
  • GuideEnhance audience interaction with wallet passes in Newspapers
  • GuideHidden Form Fields: Dynamic Expiry for Wallet Passes
  • GuideHow Google and Apple Wallet Pass Works
  • How-toHow to Add Amelia Booking Passes to Apple Wallet & Google Wallet
  • How-toHow to Add an Add to Wallet Button to Your Website
  • How-toHow to Add an Apple Wallet Button Easily
  • How-toHow to Add Bookly Booking Passes to Apple Wallet & Google Wallet
  • How-toHow to Add Location to Wallet Passes
  • How-toHow to Add Team Members to Your Account
  • How-toHow to Add Simply Schedule Appointments Bookings to Apple Wallet & Google Wallet
  • How-toHow to configure notifications for Apple & Google wallet passes
  • How-toHow to create a business pass for Apple and Google wallet
  • How-toHow to Create a wallet pass?
  • How-toHow to create a wallet pass using Zapier Integration?
  • How-toHow to create digital Concert Tickets with AddToWallet.co
  • How-toHow to create dynamic passes and manage users in AddToWallet
  • How-toHow To Create Gift Cards in Bulk
  • How-toHow to Create Hair Salon Gift Cards in Minutes
  • How-toCreate Loyalty Wallet Pass Using AddToWallet
  • How-toHow to Create Mobile Wallet Passes Using Google Sheets
  • How-toHow to Create & Scan Dynamic Wallet Passes Using AddToWallet
  • How-toHow To Distribute Google or Apple Wallet Pass
  • How-toHow to duplicate a wallet pass?
  • How-toHow to embed Google Wallet or Apple Wallet button on Shopify
  • How-toHow to embed Google wallet or Apple wallet button on Squarespace
  • How-toHow to embed Google Wallet or Apple Wallet button on Weebly
  • How-toHow to embed Google Wallet or Apple wallet button on Wix
  • How-toHow to embed Google Wallet or Apple Wallet button on WordPress
  • How-toHow to Generate JSON for Apple & Google Wallet Passes
  • How-toHow to generate leads using Google wallet or Apple wallet Pass wallet pass?
  • How-toHow to Use AddToWallet Node on N8N
  • How-toHow to integrate make.com with AddToWallet.co?
  • How-toHow to Secure Wallet Passes with Access Code Protection
  • How-toHow to Send Notifications Using Wallet Pass
  • How-toHow to Set Up Custom Domains with AddToWallet
  • How-toHow to Share Wallet Passes Using Flyers
  • How-toHow to test Apple Wallet beacons
  • How-toAddToWallet Order Pass App on Shopify
  • How-toHow to create dynamic wallet pass
  • How-toHow to Use Webhooks with AddToWallet
  • GuideOur Audience Asked for Wallet Tickets AddToWallet.co Delivered
  • GuideCreate Wallet Passes from Form Responses
  • GuideWallet Pass Generator for Google Sheets
  • GuideWallet Passes for Wedding Invitations
addtowallet.co

AddToWallet is a Mobile Wallet Pass creator to design custom Apple & Google Wallet passes for coupons, deals, gift cards, and loyalty cards.

Use Cases

  • Insurance
  • Fund raising
  • Fan-clubs
  • Restaurant
  • Higher Education

Solutions

  • Loyalty Pass
  • Coupons
  • Gift Cards
  • Event Tickets
  • Google Wallet
  • WalletPassBuilder

Company

  • FAQs
  • Blog
  • Product Updates
  • Privacy policy
  • Terms & conditions
  • Trust Center
© 2026 Hazelnut Ventures LLC