Skip to main content
April 29, 2022
Solved

Automatic Discount link

  • April 29, 2022
  • 5 replies
  • 340 views

Howdy!

I have my welcome flow emails setup so that the discount is automatic when they click on the CTA button.

However, the setup for this takes them to my shopify website homepage. I would rather send them to the collections page of my website where all my products are listed. But when I edit the discount button link with this change, it doesn't work. Instead of going to the collections page it goes to a an error 404 page.

Is it possible for an automatic discount link to go to any page of my website? Or must it link only to my homepage?

Thank you!

    This topic has been closed for replies.
    Best answer by Mailbox Manny

    So, Deborah’s store is on Shopify and she was using the shareable link from Shopify with the dynamic coupon code from Klaviyo.

     

    Example: https://myshopifystore.com/discount/{% coupon_code 'Welcome_Coupon' %}

     

    The above link will go to the homepage. To have this dynamic coupon code go to another page, the format would be the following (see bold for addition.  In this example, it’s going to a collection page called Sweaters. Note that we use %2F in the URL to represent the /):

     

    https://myshopifystore.com/discount/{% coupon_code 'Welcome_Coupon' %}?redirect=%2Fcollections%2Fsweaters

    5 replies

    Problem Solver II
    May 1, 2022

    Click on edit the CTA button under URL change the destination

     

    I hope these helps 

    Mailbox Manny
    Partner - Silver
    Partner - Silver
    May 2, 2022

    Hi @Deborah ,

     

    Would you be able to provide the link you are using? I can take a look at what's happening.  If you don't want your discount link public, please DM me :)

     

    Thanks!

    Subscribe. Segment. Send. Repeat.
    May 2, 2022

    Hi @Mailbox Manny,

     

    Thanks so much. I’ll DM you now. 

     

    Thank you!

    stephen.trumble
    Klaviyo Alum
    May 2, 2022

    Hey @Deborah 

    Thank you so much for asking the Klaviyo Community for help with this! @Mailbox Manny is an incredible partner and I’m sure you will have success! Manny, can you share on this thread how you helped fix this so everyone can learn from this? Thank you so much!

    -Stephen
    Mailbox Manny
    Partner - Silver
    Partner - Silver
    May 3, 2022

    So, Deborah’s store is on Shopify and she was using the shareable link from Shopify with the dynamic coupon code from Klaviyo.

     

    Example: https://myshopifystore.com/discount/{% coupon_code 'Welcome_Coupon' %}

     

    The above link will go to the homepage. To have this dynamic coupon code go to another page, the format would be the following (see bold for addition.  In this example, it’s going to a collection page called Sweaters. Note that we use %2F in the URL to represent the /):

     

    https://myshopifystore.com/discount/{% coupon_code 'Welcome_Coupon' %}?redirect=%2Fcollections%2Fsweaters

    Subscribe. Segment. Send. Repeat.