Form in iframe : redirection issue

  • 23 April 2020
  • 2 replies
  • 17 views

Hello,

I have successfuly integrated my own form in a html bloc, with an iFrame (on a wordpress website). A conversion pixel is also well integrated and firing well on the thankyou page.

Though there is one issue remaining : when a visitor hits the send button, the thankyou page is displayed on the same page, withing the same iFrame. But I need the visitor to be redirected to a special /thankyou page.

Is there a way to redirect the visitor outside of the iFrame, to a new page of my website ?

Thanks for your help,
Regards,


2 replies

Userlevel 7
Badge +3

Hey @Gicspy,

You need to add a target attribute to the form in your iFrame.

Best,
Hristian

Thanks, works like a charm!

Reply