Learn how to use query strings on legacy databases

GetComplied query strings

Over the years, before GDPR came into action, you probably collected a database for your business with your client and subscriber data.

Now, after 25th May 2018, with the GDPR your databases pretty much became obsolete, that’s because now you must collect explicit consent from each user you wish to treat or use their data.


The solution with Query Strings

GetComplied has in its platform a feature for you to get consent from old databases, Query strings.

A query string is an attribute you can call when sending the link of your website to a certain client.

By doing that you are gathering the consent (or not if he declines) from that specific user.

For example, using a query string for jhonpeasron@email.com (this is not a real person, it’s a fictional person only for exemplifying purposes) you asking consent for that specific email.

This is a powerful feature since you can use it for a lot more attributes, like name, birthdate, address.

In here you can check all attributes you can use in query strings.

The deal breaker in this is that no matter what service you use, your database is always updated in GetComplied and you can simply import it to use it where you wish.

How can you use this feature

This is simple to use, you just need to add the correct attributes to the links.

This blog uses GetComplied and we are exemplifying within our link.

So if we wanted specifically Jhon Pearson to consent to our new privacy policies, terms, email marketing, we would send him an email like this:

“Hello Jhon,


We’ve updated our privacy policy terms, check them and decide if you want to stick with us and get the last updates.



(In this button would go the personalized link: http://blog.getcomplied.com/?gc_show=true&gc_name=jhonpearson&gc_email=jhonpearson@email.com)


/?gc_show=true&gc_name=jhonpearson&gc_email=jhonpearson@email.com this is where the magic happens and one of the most powerful features of GetComplied.

  • /?gc_show=true – To show the modal when the user enters the website, it must contain the? so the browser know it’s a query
  • &gc_name=jhonpearson – to identify the users’ name, every parameter should be separated by a &
  • &gc_email=jhonpearson@email.com – to identify the users’ email

There are more attributes to add, you can check the entire documentation here.

Query strigns in MailChimp

legacy databases with query stringsin mailchimp

As you can see in this example we use the personalized link from GetComplie with the Mailchimp Merge Tags.

In our case the link was: http://blog.getcomplied.com/?gc_show=true&gc_name=*|fname|*&gc_email=*|email|*

?gc_show=true – to show the modal when user enter your website

&gc_name=*|fname|* – The users’ name from your MailChimp Database

&gc_email=*|email|* – The users’ email from your MailChimp Database


To do this as we did just create a template, added a button and used the link from your site with the query string from above.

There are a lot of merge tags and query strings you can use and adapt to the link.


And that’s how you implement it with a legacy database for example.

The easiest way to make this to a great number of contacts if to use an email marketing system where you can personalize each attribute with your database.



If you need help!

We have a youtube channel and other tutorials that might help.

If you still have any doubt about Incidents make sure you contact us either on social media or email hello@getcomplied.com

We also have a live chat you can use anytime with this icon on the bottom right corner: crisp getcomplied support

Click it to chat with us anytime.


Was this post helpful?