Create a purchase button in Leadpages

In this article we'll show you how to use Leadpages' button element to create a Foxy purchase button.

Add Foxy Code Snippet

To display the sidecart when a customer adds a product to cart and to store customer sessions, Foxy's code snippet must be added to the footer of your Leadpages website. 
  1. In the Foxy dashboard, go to the Sample Code page.
  2. In the Sample Code page, copy the snippet of code from Step 1.
  3. In Leadpages, click on the "Page Tracking" option.
  4. Click on the "Analytics" tab.
  5. Scroll down to the "closing body tag" field.
  6. Paste the snippet of code.
  7. Save changes and close "Page Tracking" panel. 

Link Button Element

  1. Select your add to cart button to display button options.
  2. Choose the "External URL" option.
  3. Go back to the Foxy Sample Code page to get a sample purchase link.
  4. From the Step 2 section, copy the link example href value.
  5. In Leadpages, paste the copied link into the "URL" field.
  6. Modify the product parameters as needed. More information about product parameters can be found in our wiki here.
  7. Save changes.

In This Article

Related Articles

Getting started with Foxy + Leadpages

Need help?

Can't find the answers you're looking for? Our team is here to help. Please click below to contact us.

Contact Us