Your CTA should redirect to a specific URL on your Shopify store to apply the discount code. The format of the URL is:

You must replace by your shop domain, and YOUR_DISCOUNT_CODE by the discount code, you want to apply.

You can use the appropriate URL as CTA destination:

When the CTA is clicked, Shopify will store the discount code internally and redirect the visitor to your store's homepage.

Choose a custom redirection.

If you want Shopify to redirect the visitor to another page, you can indicate the redirection path with the redirect parameter, as following:

With this example, Shopify will redirect the visitor to after having memorized the discount code.

Did this answer your question?