FunnelKit Documentation
Get unstuck with our helpful reference material

FunnelKit Automations

Fetch the Contact Information and Pre-Populate Checkout Fields Using URL Parameters in Automations

In this documentation, we will outline how to automatically populate checkout fields by retrieving values from a contact profile and passing them via URL parameters.

You can pre-populate fields such as First Name, Last Name, Email, and Phone Number, etc, on a checkout when customers hit a URL received via email. 

To create the URL, you need to start with your checkout page URL, add /?, then use field_name=merge_tag, and join multiple fields using &.

Example:

https://example.com/checkout/?billing_first_name={{contact_first_name}}&billing_email={{contact_email}}&billing_phone={{contact_phone}}

How to Fetch the Contact Information and Pre-Populate Checkout Fields Using URL Parameters in Automations

Here is the step-by-step guide: 

Step 1: Copy the checkout URL 

First, go and copy the checkout page URL for the specific sales funnel. For this, navigate to the sales funnel, then the checkout step, and hit the copy icon. 

 Copy the checkout URL 

Step 2: Copy the necessary data field name 

Next, scroll down to the checkout form fields section, and hit the field that you want to prepopulate. 

For instance, hit the First Name, then Copy the Field ID. 

Copy the necessary data field name

Make sure to collect all the filed IDs that you want to prepopulate. 

Step 3: Copy the merge tags 

To get the merge tags for each field ID, open the email where you want to insert the custom URL. Click the merge tag icon ({{...}}), search for the required field (like first name, email, phone, etc.), and copy the corresponding merge tag to use it in your custom URL.

Copy the merge tags 

Repeat the same process to collect all the necessary merge tags. 

Step 4: Create the custom URL with parameters 

Now, assemble the custom checkout URL:

  • Start with the checkout page URL, then add /?.
  • For each field, use the format: field_name=merge_tag.
  • To include multiple fields, connect them using &.
https://example.com/checkouts/checkout-3/?billing_first_name={{contact_first_name}}&billing_email={{contact_email}}&billing_phone={{contact_phone}}

Step 5: Add the custom URL to a CTA 

Now go to your send email action or broadcast, and in the CTA, add the URL. 

Add the custom URL to a CTA 

When users click the CTA and land on the checkout page, they will be redirected to a pre-populated checkout page.

Ready to Transform Your Store?

Join 38,315+ successful store owners who trust FunnelKit to power their businesses.
Conversion Optimized Checkout Pages
Increase Revenue with Smart Upsells
Capture Emails & Recover Abandoned Carts
Automate Winbacks & Repeat Sales
893+ 5 star reviews on WordPress.org
Transform your store to power your business with FunnelKit
893+
 Reviews
4.9
🚀 Maximize Your Profit with FunnelKit – Highest Rated with 893+ 5-Star Reviews
Get Started
chevron-downarrow-right