Can I Embed LimeSurvey in another site

More
2 weeks 6 days ago #171780 by bshores
bshores created the topic: Can I Embed LimeSurvey in another site
This previous post on this said to use an iFrame, but that has been broken by the CSRF tokens logic you have now. When you use an iFrame, that token is considered a 3rd party token which modern browsers have started blocking. As of writing this, Safari, iOS Webviews, and Android Webviews all seem to block it, Chrome does not.

That means I cannot embed your survey in a site with the iFrame method. Turning off that setting is not possible either as it's a "Security setting" and any reasonable customer will not allow themselves to be less secure. (One of those, shoot yourself in the foot deals)

I could really use another option for embedding surveys that would work.

Please Log in or Create an account to join the conversation.

More
2 weeks 6 days ago #171790 by Joffm
Joffm replied the topic: Can I Embed LimeSurvey in another site
Hi,
as far as I understand you want to embed a survey.

Well, I do not see any problem in Firefox, Edge, and IE using iframes:

(This original page was just to test stacked tabs.)

What is your setting of "iframe embedding allowed"?

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:

Please Log in or Create an account to join the conversation.

More
2 weeks 2 days ago #171894 by bshores
bshores replied the topic: Can I Embed LimeSurvey in another site
Try Safari. The setting that is defaulted on which blocks this can be found under Preferences -> Privacy -> Block Cookies "From third parties and advertisers". That "third parties" part is an iFrame.

Both iOS and Android webviews also have this blocking on by default. I have not found a setting in iOS(a documented one at least) that will allow you to turn this on.

Please Log in or Create an account to join the conversation.

More
2 weeks 1 day ago #171929 by LouisGac
LouisGac replied the topic: Can I Embed LimeSurvey in another site
well, just install Limesurvey in the same server and under the same url as the website, it should work:
www.ravelrumba.com/blog/third-party-cookies/

else, test if browser accept third party cookie, and if not, open the survey in a popup:
github.com/gamejolt/issue-tracker/issues/1076

else create at theme for your survey that "copy" the website appearance (menus, etc) so people doesn't realize they changed url.

Please Log in or Create an account to join the conversation.

More
2 weeks 1 day ago #171943 by bshores
bshores replied the topic: Can I Embed LimeSurvey in another site
All good thoughts. We're basically going more the popup route. I was able to finally get the pass-thru values working. Not fully like it's documented, but enough. That let me passthru the info I needed on the callback URL so I can identify the session. Thanks for the help

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!