Use Cases
Practical examples of how to use dynamic links for common e-commerce scenarios.
Bundle Builder Landing Page
Create one link, change the URL based on customer selection:
const bundleLink = 'https://store.com/go/bundle-page';
document.querySelector('#3-pack').onclick = () => {
window.location = `${bundleLink}?li=44012345678901,3`;
};
document.querySelector('#6-pack').onclick = () => {
window.location = `${bundleLink}?li=44012345678901,6`;
};
document.querySelector('#12-pack').onclick = () => {
window.location = `${bundleLink}?li=44012345678901,12`;
};
Result: One link handles all bundle sizes. Promotions configured on the link apply automatically.
Klaviyo Abandoned Cart
Use Klaviyo template variables to build dynamic cart links:
https://yourstore.com/go/recover?li={% for item in event.extra.line_items %}{{ item.variant_id }},{{ item.quantity|floatformat:0 }}{% if not forloop.last %}:{% endif %}{% endfor %}&c={{ person.id }}
Shopify Flow / Zapier / Make
Build URLs programmatically from any automation:
Shopify Flow:
- Trigger: Customer tagged "VIP"
- Action: Send email with dynamic link containing recommended products
Zapier:
- Trigger: Form submission
- Action: Build checkout URL from form data, send to customer
Subscription Landing Page
Send customers directly to checkout with a subscription pre-selected:
https://store.com/go/subscribe?li=44012345678901,1,123456789
With multiple subscription options:
const subLink = 'https://store.com/go/subscribe';
document.querySelector('#monthly').onclick = () => {
window.location = `${subLink}?li=44012345678901,1,111111111`;
};
document.querySelector('#yearly').onclick = () => {
window.location = `${subLink}?li=44012345678901,1,222222222`;
};
Result: One link, customer chooses frequency, goes straight to checkout with subscription attached.
Reorder Links
Automatically prefill cart with items from a customer's previous order:
https://yourstore.com/go/reorder?c=7654321098765
Set up the link with Dynamic enabled and Reorder items checked. Pass the customer ID and Checkout Links fetches their most recent order items automatically.
Personalized Checkout
Pre-fill customer information for a smoother checkout:
https://yourstore.com/go/offer?li=12345,1&c=[email,[email protected]:firstName,John:lastName,Smith]
Useful for:
- Customer support conversations — send a link with their info pre-filled
- Form submissions — build the URL from form data
- CRM integrations — include customer details from your database
Cart with Custom Attributes
Add order notes or custom attributes for special handling:
https://yourstore.com/go/gift?li=12345,1&attr=[Gift,true:Message,Happy Birthday]¬e=Please%20gift%20wrap
Great for:
- Gift orders with personalized messages
- Delivery date selection
- Custom engraving or monogram requests
Related Resources
- URL Parameters Reference - Full parameter documentation
- Klaviyo Integration - Set up Klaviyo for dynamic abandoned cart links
- Subscription Products - Create subscription checkout links