How to Add a Coupon Code with Redirection in WordPress? (New Tab or Same Tab)

Table of Contents

Do you want to redirect users to a URL after they click on a coupon code in WordPress? Redirecting users after they click the coupon can be an effective way to direct them to an affiliate website using your affiliate link, helping to increase your affiliate commissions.

With the Coupon Code block from Nexter Blocks, you can easily redirect users to a URL in a new tab or the same tab.

To check the complete feature overview documentation of the Nexter Blocks Coupon Code block, click here.

Requirement  – This block is a part of the Nexter Blocks, make sure it’s installed & activated to enjoy all its powers.

Open the Link in a New Tab

To do this, add the Coupon Code block to the page and follow the steps – 

1. Select Standard from the Coupon Type section. 

coupon code redirection link

2. After selecting an appropriate style from the Standard Style section, add a title in the Title field.

3. Then in the Redirect Link field, you have to add the link where you want to redirect users to.

4. Make sure to add your coupon code in the Code field.

5. Then select the appropriate option from the Select Action section.

Now when a user clicks on the coupon code, it will open and redirect users to your specified link in a new tab while revealing the coupon code in the old tab.

coupon code redirection link demo new

Open the Link in the Same Tab

To do this, add the Coupon Code widget to the page and follow the steps – 

1. Select Standard from the Coupon Type section. 

coupon code tab reverse 2

2. After selecting an appropriate style from the Standard Style section, add a title in the Title field.

3. Then in the Redirect Link field, you have to add the link where you want to redirect users to.

4. Make sure to add your coupon code in the Code field.

5. After that, select Popup from the Select Action section.

Then, do the necessary changes in the popup settings.

6. Finally, enable the Tab Reverse toggle from the Extra Options tab.

Now when a user clicks on the coupon code, it will open and redirect users to a new tab showing the discount popup while opening your specified link in the old tab.

coupon code tab reverse demo 2

Still in Doubt? Let’s Assist You

Need Help? Ask AI Bot

Have Feedback or Questions?

Join our WordPress Community on Facebook!

Related Docs