Insites Docs Developers guide Best PracticesGDPRGDPR Technical Implementation

GDPR Technical Implementation

Last updated on June 26, 2024.

The General Data Protection Regulation (GDPR) sets data protection and privacy guidelines for handling the personal data of individuals within the European Union (EU). As such, it applies not only to all organisations established in the EU that handle personal data but also to any non-EU established organisation that processes personal data of individuals who are in the EU. The GDPR came into force on 25 May 2018.

Learn more about GDPR Compliance in our related article.

Implementation Example

In Insites, you gather and update data through Liquid forms. Here's an example of a user sign-up form for clients:

app/forms/client_sign_up.liquid

You can use the same form with slight modifications to gather and update data: use the form with to let a user update data.

Example

This is some example code of a simple opt-in newsletter subscription form and an unsubscribe form implemented in Insites.

Table

app/schema/newsletter.yml

Page

app/views/pages/newsletter/join.liquid

Form

app/forms/newsletter/join.liquid

Join Newsletter

Thank You Page

app/views/pages/newsletter/thankyou.liquid

Newsletter Thank You

Graph query to get newsletters for an email address

Query returning newsletters for a particular user requires email as an argument.

app/graphql/newsletter/get.graphql

Unsubscribe Form

app/forms/newsletter/unsubscribe.liquid

Unsubscribe {% endform %}' > Newsletter Unsubscribe
Have a suggestion for this page?

Didn't quite find what you are looking for or have feedback on how we can make the content better then we would love to hear from you. Please provide us feedback and we will get back to you shortly.