addtowallet.co
Create PassFeaturesFree ToolsPricingAPIBlog
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 Add The Events Calendar Tickets to Apple Wallet & Google Wallet
  • How-toHow to Add LatePoint Appointments to Apple Wallet & Google Wallet
  • How-toHow to Add Sugar Calendar Tickets 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 with a Google or Apple Wallet coupon
  • 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 embed Google Wallet or Apple Wallet button on Weebly

By AddToWallet Team·Published May 13, 2024·Updated November 25, 2026·2 min read

On Weebly, a button or text link that opens the pass URL is the fallback when you do not want custom HTML. Use Embed Code when you want the badge snippet from this article. Site-wide button setup is in the embed guide.

The steps below follow the editor already shown here: Build, Basic, Embed Code, then Edit custom HTML. Publish the site and open the live page before you send people to it. This article does not publish a device result.

The snippet swaps the badge from the browser. Safari is set to the Apple Wallet badge. Chrome is set to the Google Wallet badge.

Add to Google Wallet badge used by the Weebly snippet
Add to Apple Wallet badge used by the Weebly snippet

Use a plain link

  1. Create the pass and copy its link from the copy icon.
  2. Add a Weebly button or text link and set the URL to that pass link.
  3. Publish the site.
Copy icon for the pass link in AddToWallet

1. Open the Weebly editor

2. Find Embed Code under Basic on the Build tab

3. Drag Embed Code to the place the button should appear

4. Click Edit custom HTML

Weebly Embed Code element on the page
Weebly Edit custom HTML control

5. Paste the snippet and set the pass link

Paste the snippet into the block. Replace buttonUrl with the pass link. The address in the sample is a placeholder, not a live pass.

<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>

6. Click outside the block to preview

Wallet button preview on the Weebly page

7. Publish and open the live page

Publish the site, open the live URL on a phone, and tap the link or button. Confirm the pass page opens. Write down the phone model and the browser. This article does not publish a device result.

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 Add The Events Calendar Tickets to Apple Wallet & Google Wallet
  • How-toHow to Add LatePoint Appointments to Apple Wallet & Google Wallet
  • How-toHow to Add Sugar Calendar Tickets 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 with a Google or Apple Wallet coupon
  • 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
  • Code of conduct
  • ESG statement
  • Trust Center

Free Tools

  • All free tools
  • CSV to Pass Preflight
  • Image to Pass
  • PDF to Pass
  • QR Code Generator
  • Barcode Generator
  • PK Pass Viewer
  • Free membership pass
  • Event check-in rehearsal
© 2026 Hazelnut Ventures LLC