Hello Rogier,
Thank you for your quick reply! This indeed fixed the issue. Thanks a lot! I forgot to mention I was using ACF, but good you thought of that.
But will this mean it will only work if a user has given consent, and if so, for which cookies?
In other words, will this have any consequences?
All the best,
Barend