Quantcast
Channel: Active questions tagged ampscript - Salesforce Stack Exchange
Viewing all articles
Browse latest Browse all 359

Redirect to Thank you page from a Iframe

$
0
0

I'm embedding Marketing Cloud forms with a iframe in my website. My form use Ampscript to redirect a Th page. the problem is that it load the thank you page within the iframe. Is there any way to open thank you page in a new tab. Where do I have to configure that? In iframe code, or in form amscript code?

I paste here a fragment of my amspcript code

'OwnerId', @ownerId,'Campaña', 'TEST')                    IF @rs > 0 THEN                                /* Redirect OK */                                Redirect('mywebsite.com/thank-you/')                    ELSE                                /*Redirect KO*/                                Redirect(CloudpagesURL(132))                    ENDIF

and the iframe code:

<div class="embed-container"><iframe width="560" height="315" style="border:none"src="http://mymarketingcloudpage.com/form" frameborder="0" allowfullscreen></iframe></div>

Can anybody help me with this issue, please?

Best regards.


Viewing all articles
Browse latest Browse all 359

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>