Streaming live at 10am (PST)

Passing hidden fields to pardot form handler

I have followed the steps in this guide
https://help.salesforce.com/articleView?id=000315837&type=1&mode=1
but it still doesn’t work. I don’t know what i am doing wrong.
Has anyone here any experience from this? Thanks in advance.

this is the html embed code that I have added

<script type="text/javascript">
var fieldId = "page_url";
var formUrl = "https://www2.marketing.adfenix.com/l/910402/2021-05-05/2w7dz";
var title = encodeURI(document.title);
document.write('<iframe width="100%" height="300" frameborder="0" style="border: 0;" src="' + formUrl);
document.write('?' + fieldId + '=' + title);
document.write('"></iframe>');
</script>