-
AuthorPosts
-
December 3, 2018 at 5:06 pm #1040395
Hi there,
i am currently building a new Homepage for a customer with enfold. We would like to include some content from immowelt.de which is a online portal for real estate business. Therefore immowelt has a “object list” (see page 12) which you can import to your homepage through some javascript that loads all the objects available in yo immoweltlt account. It’s kind of similar to the google maps implementation.
We would like to make this in a GDPR compliant way. That means the visitor should have the ability to decide whether the external content is loaded or not.
Is there a way to enable the conditional load for eg. custom code blocks or other media elements?
Thank you for your help :)
- This topic was modified 5 years, 11 months ago by The Shadow.
December 6, 2018 at 4:36 am #1041467Hey The Shadow,
Sorry for the late reply, there is not a built-in option to give to the visitors to load the content like this, although there maybe a plugin to do this by conditional loading elements as shortcodes. Is there going to be third party cookies from the content? You may not have to do this without cookies?Best regards,
MikeDecember 6, 2018 at 11:43 am #1041570Hello Mike,
thanks for your reply.
I am currently not sure, if there will be a third party cookie. Haven’t had the opportunity to use the “object list” from immowelt, since my customer didn’t reply on the proposal to use it, yet :)
Do you know such a plugin? i couldn’t find something yet.
Thank you!
December 6, 2018 at 2:37 pm #1041668Hi,
I didn’t find a plugin either, but I did find this jQuery that will show a div if a check box is checked with a working jsfiddle as a example.
This is another article that explains how to Use a Class To Control The Visibility and Conditional content loading in WordPress
I believe the first one will be the easiest to use because you can assign any div class to the script to show the div. While the last two require modifying the page template, but they may have some ideas worth reading about.Best regards,
MikeDecember 6, 2018 at 2:50 pm #1041678It’s not sufficient to just toggle the visibility of an element … there would still be a connection to the external server (immowelt) and data from the visitor would be send to them. Even if the external service doesn’t use cookies it wouldn’t be GDPR compatible, because every server request would still send data like the IP address to Immowelt.
Not really easy to solve this … i also don’t know an existing plugin.
Edit: A solution would be to use the Immowelt API to get the data without an external data-connection to their site for the visitor/client in his browser. But you would have to create an own server-side based modul/plugin for WordPress … a “little bit” of programming needed … :-)
- This reply was modified 5 years, 11 months ago by cg.
December 6, 2018 at 3:20 pm #1041689Hey,
its just as cg sais. Just toggling the content is not enough. I could then simply solve this by a button with a onclick action adding a css class that hides/unhides the content.
Yes, The API would be a solution, but i already know, my customer would not pay for this :D We currently only have a link to his immowelt profile which is what the customer requested originally. I only thoguth including the offers on his own site through that “object list” would be a nice thing.
I’ll keep my eyes open. If i find a solution, ill share it here.
December 7, 2018 at 5:56 am #1041923 -
AuthorPosts
- You must be logged in to reply to this topic.