When creating a paid storefront, you might want to guide users to a specific product variant (e.g., a particular color, size, or style) by setting a default variant in your storefront's deep link. This article walks you through how to do it, step by step.
Step 1: Find the Variant ID
To link directly to a specific product variant, you'll first need its variant ID. Shopify provides a simple way to locate this information.
- Visit Shopify's guide on finding variant IDs.
- Follow the instructions to retrieve the unique ID for the desired variant of the product shown in your ad.
- Tip: Ensure you choose the variant that is shown in the ad creative for a better user experience!
Step 2: Add the Variant to Your Storefront URL
Once you have the variant ID, you can modify your storefront URL to link directly to the specific variant.
- Go to your Black Crow Storefront Portal and locate the storefront you want to update.
- Click the "Copy Ad Destination URL" button to obtain the proper storefront URL.
Step 3: Append the Variant ID to the URL
To direct users to the specific variant, append the following query string to the URL:?variant=[variant_id]
- Replace
[variant_id]
with the actual variant ID you retrieved from Shopify.
For example, if your storefront page URL is:https://yoursite.com/apps/blackcrow/storefronts/crowlink/123?bc_source={{site_source_name}}&bc_campaign={{campaign.id}}&bc_adid={{ad.id}}
and the variant ID is 123456789
, the new URL will be:https://yoursite.com/apps/blackcrow/storefronts/crowlink/123?bc_source={{site_source_name}}&bc_campaign={{campaign.id}}&bc_adid={{ad.id}}&variant=123456789
Step 4: Paste the URL into Meta for the Deep Link
After creating the new URL, copy it and paste it into the Deep Link field for your ad. This ensures users who interact with your ads or links land directly on the product variant you’ve chosen as the default.
Tips for Success
- Match the variant id to the variant shown in the ad creative.
- Test the deep link in a browser to confirm it directs to the correct variant.
- If you update or remove variants in Shopify, make sure to update your storefront URLs accordingly.
- If we do not find the variant or it is unavailable, we will default to the first variant listed in Shopify.