Skip to main content

Feature Request - Contact stored in a Cookie

With the current setup, you can use a contact's info in fluentforms/booking form/etc' (such as to conditionally display fields or pre-populate them) when the visitor is also a user and he is logged-in (if you're using Gutenberg then you can also conditionally display elements according to tags).

What I suggest is that a hashed contact id is stored in a cookie and so all the contact's info will be able to be used even if he is not a user and not logged-in.

We have that feature already. So if someone clicks a link in the email, we know exactly which contact clicked, and we add that secure hash in the cookie and those data is available in Fluent Forms / Gutenberg blocks.

Shahjahan JewelΒ I tried to use the cookie for event tracking on the site for non logged in users. But it didn’t work. The cookie was not deployed nor founded.

any advice for that?

Is something I put aside a long time ago, but … would like to know more πŸ˜„

Jorge de los ReyesΒ If someone click a link and not logged in then the cookie got added to identify the contact.

Shahjahan JewelΒ yes! I know that. Thank you Jewel.

what I meant is that I tried to create an Event Tracking event for page_view with that cookie to track navigation inside the site. But I only succeeded in tracking logged in sessions, not the ones generated by the cookie; like: user from CRM visits on the site after clicking a link on an email.

I can show you the code if you want :)

Jorge de los ReyesΒ Feel free to share the code.

Assaf Manor

Shahjahan JewelΒ Does the cookie work in different sessions? Meaning - if the user clicks on an email link, browse on the site, and closes it after 5, only to return after 3 days (from the same machine of course) - will the cookie still work?

Also, what I suggest is that the cookie will be implemented not only when the user clicks on an email, but also when he fills out a form, so it will be on the machine at the first touch point! No need to wait for an email for that.

Also, I don't know if you implement the cookie when the user logs in but I think that will also be beneficial because - if it works in different sessions, then it will again work in more scenarios.

And a question - does the cookie work for every email click or is it just with smartlinks?

Assaf Manor

Jorge de los ReyesΒ I'd love to see the code too please.

Assaf Manor

Shahjahan JewelΒ What do you say?

Assaf ManorΒ Hello Assaf,

Thanks again for your interest. The tracking solution I mentioned is actually part of a custom plugin we’re developing internally. It's designed to work seamlessly with FluentCRM and our cookie policy β€” meaning it's GDPR-compliant and respects the user's consent preferences (cookie-based tracking is disabled unless explicitly accepted).

At this point, it’s still under development and not intended for external use, so we’re not sharing the code. It currently tracks logged-in users only, but I’ll be reviewing the secure hash behavior with Jewel to assess cookie persistence for non-logged-in contacts.
I hope we can share the code soon and review it with Jewel. However, it will still be developed for internal use only.

Appreciate your thoughtful input on the thread β€” some very relevant suggestions!

Assaf Manor

Jorge de los ReyesΒ Cool, I've also been developing something similar. Best of luck.

Assaf ManorΒ If we reach something reliable, I'll be happy to share the insights here! :)

I did not have the chance to reach Jewel yet regarding this, as this is only something we are researching and "toying with".

Also, the GDPR implications, when conducted wrong, are a big risk, especially in our sector. So... yep. It may take some time!

Sorry for not being more helpful regarding this development!

Assaf Manor

Jorge de los ReyesΒ In my country there are no GDPR requirements so...

And no problem - I understand the situation, and yes, it would be great to converse over shared insights.

Assaf ManorΒ You do not have clients in Europe?

Assaf Manor

Jorge de los ReyesΒ I do all these things just for my personal site - I have a platform with online courses in mathematics and my students are from my Country, which is not in Europe.

Assaf ManorΒ Awesome!

What an interesting topic to create courses about!

Do you have an URL? Would love to check it out!

Assaf Manor

Jorge de los ReyesΒ Sure I'm sending you.