Using URL Parameters to Display Custom Replo Product Templates

Last updated: October 31, 2025

Overview

This guide shows you how to use URL parameters to direct customers to a specific Replo Product Template while keeping your default Shopify product page template intact for regular site traffic. This is ideal for paid ads, email campaigns, or promotional links where you want a customized product page experience.


How It Works

By appending view=<TemplateID> to any Shopify product URL, you can force that page to render your custom Replo Product Template instead of the default theme template.

Example URLs:

  • Base product: https://store.com/products/handle?view=replo.abc123def456

  • With variant: https://store.com/products/handle?variant=1234567890&view=replo.abc123def456

  • With UTM parameters: https://store.com/products/handle?utm_source=meta&utm_medium=cpc&view=replo.abc123def456

Note: The order of query parameters doesn't matter.


Setup Instructions

Step 1: Create Your Product Template in Replo

  1. In Replo, click Create → Choose from template

  2. Select a starting template that fits your needs

  3. Customize the template design as desired

  4. Go to Settings and rename your template clearly (e.g., "PDP – URL Test – Promo A")

  5. (Optional) Assign specific products if you want design context while editing

  6. Click Save then Publish

Step 2: Get Your Template ID

  1. Open the Live Link of your published template

  2. Look at the URL and locate the view parameter

  3. Copy the entire value after view= (it will look like replo. followed by a unique identifier)

  4. This is your Template ID that you'll append to product URLs

What's happening: The view parameter uses Shopify's alternate template mechanism. Replo generates a unique identifier (starting with replo. followed by a hash) that maps to your specific Replo Product Template.


Building Your Links

Replace replo.abc123def456 with your actual template ID from Step 2.

Basic Product Page

https://YOURSTORE.com/products/PRODUCT-HANDLE?view=replo.abc123def456

Product Page + Specific Variant

https://YOURSTORE.com/products/PRODUCT-HANDLE?variant=VARIANT_ID&view=replo.abc123def456

With UTM Tracking (no variant)

https://YOURSTORE.com/products/PRODUCT-HANDLE?utm_source=meta&utm_medium=cpc&utm_campaign=promo&view=replo.abc123def456

With Both UTM Tracking and Variant

https://YOURSTORE.com/products/PRODUCT-HANDLE?utm_source=meta&utm_medium=cpc&variant=VARIANT_ID&view=replo.abc123def456

Quick Reference Rule:

  • If the URL already has a ?, append &view=replo.abc123def456

  • If not, append ?view=replo.abc123def456


Where to Use These Links

Use your custom view links in:

  • Paid advertising (Meta, Google, TikTok) for product-level URLs

  • Email and SMS campaigns on product CTAs

  • On-site promotions like hero banners, collections, or quick-shop cards

  • Affiliate and influencer links

  • Product feeds (Google Shopping, catalog CSVs)

Bulk Link Generation (Google Sheets)

Use this formula to automatically append the view parameter to existing URLs:

=IF(REGEXMATCH(A2,"?"), A2 & "&view=replo.abc123def456", A2 & "?view=replo.abc123def456")

(Replace replo.abc123def456 with your actual template ID)


Advanced: Creating an Interstitial Quick-Shop Flow

You can use your Replo Product Template as an interstitial or quick-shop page that appears first, with a secondary button that takes customers to your full default product page for more details.

Setup in Replo:

  1. Add a secondary button to your template (e.g., "More Details" or "See Full Details")

  2. Select the button and add an Interaction → Navigate to URL

  3. Bind the URL dynamically to {{ product.url }} (from the buy box context)

  4. Important: Don't include the view parameter on this button URL

  5. Save and Publish

How It Works:

  • Customer lands from your ad/email and sees the Replo interstitial template (because the URL includes ?view=replo.abc123def456)

  • When they click the secondary button, they're taken to your standard Shopify PDP (no view parameter)

  • This works automatically for one product or thousands, since the URL binding is per-product


Testing Checklist

Before going live, verify the following:

  • Baseline test: Visit https://…/products/handle (without view parameter) and confirm you see your default PDP

  • Forced view test: Visit https://…/products/handle?view=replo.abc123def456 and confirm you see the Replo template

  • Variant test: Confirm variant selection persists and the Replo view renders when URL includes both variant and view parameters

  • Cross-browser and mobile: Test on different browsers and devices

  • Analytics: Confirm UTM parameters are captured and the view parameter isn't filtered out


Troubleshooting

I'm not seeing the Replo design

  • Confirm the template is published in Replo

  • Check for typos in the URL - the view parameter should be exactly as copied (no trailing spaces)

  • If the URL already had a ?, ensure you used &view=… not ?view=…

  • Try in an incognito/private window to rule out caching

Variant switching removes the custom design

  • Ensure your links include both the variant and view parameters

  • Some themes rewrite URLs on variant change - verify yours preserves existing query parameters

  • If needed, you may need a small JS snippet to retain the view parameter during variant switches

SEO concerns about the view parameter

  • Shopify typically keeps the canonical tag pointing to the base product URL, so pages with the view parameter shouldn't create duplicate content issues

  • If you've customized canonicals, verify they still resolve to the base product URL without parameters


Need Help?

If you encounter issues not covered in this guide, please contact Replo support with:

  • Your store URL

  • The specific product URL you're testing

  • The Template ID you're using

  • Screenshots of what you're seeing vs. what you expect