Hello @pexel
When you assign 100% height to a tag, it takes 100% of its parent height and not 100% of the page. For iframe tags, it does not display 100% of the contained page.
Could you please indicate the link to the page where you inserted the iframe tag?
Best regards.
Thread Starter
pexel
(@pexel)
So, do you have any solution suggestions?
Hello @pexel,
There are different alternatives, but they depend on the page’s structure. For this reason, I asked for the page’s URL.
Best regards.
Thread Starter
pexel
(@pexel)
I page : Hesaplama
If you click the blue button *Sitene Ekle* at the bottom of the form, our code opens.
Hello @pexel
You don’t need to insert the iframe tag.
Please insert only the form shortcode with the iframe attribute:
[CP_CALCULATED_FIELDS id="15" iframe="1"]
Best regards.
Thread Starter
pexel
(@pexel)
Let’s add this code instead of the blue button. Will it work on the opposite site with this code?
Hello @pexel,
You can insert the shortcode into a DIV tag hidden by default and use the button to display the DIV field.
The shortcode with the iframe tag will work on your website because it has installed the plugin, but you cannot use this solution on a third-party website.
Best regards.
Thread Starter
pexel
(@pexel)
I understand now.
It’s like this:
For example, the Eyüpsultan site uses the code I gave. So when I give the height auto 100% it doesn’t work. on a 3rd party site.
Opposite site: Eyüpsultan
What I want to ask is, do we have to manually enter the height on the other party’s site? Or is there a different method?
Thanks
Hello @pexel,
If you want to insert the iframe directly into a third-party website, you must enter the height in px:
<iframe src="https://www.pexpe.com/?cff-form=15" style="width:100%; height:600px; overflow: hidden; border: none;" scrolling="no"></iframe>
Best regards.
Thread Starter
pexel
(@pexel)
Hello;
I have 1-2 questions in my mind. I would be glad if you can help me.
1) Let’s say another site added our code via iframe. Is it possible to see which site this site is?
2) Can we analyze the traffic coming to the main site through the form attached to the opposite site?
3) Are there different methods other than iframe?
Thanks.
Hello @pexel
Q: Let’s say another site added our code via iframe. Is it possible to see which site this site is?
A: An external website’s domain can include your form via iframe only if you allow it from server settings.
Q: Are there different methods other than iframe?
A: In the current plugin version you can use only the iframe method.
Q: Can we analyze the traffic coming to the main site through the form attached to the opposite site?
A: If your form is in domain A and it is loaded from domain B via iframe, you cannot access the parent. However, you can insert a calculated field in the form as an auxiliary (You can hide it by ticking a checkbox in its settings) and enter an equation similar to:
document.referrer;
Best regards.
Thread Starter
pexel
(@pexel)
Could you please show the answer to question C with a visual?
What will be the return to us in this way? I didn’t fully understand, thank you very much
Hello @pexel
The process is simple. Insert a calculated field in the form and enter the piece of code below through its “Set equation” attribute:
document.referrer;
Best regards.