1 year, 4 months ago
Sorry for my late answer.
Thank you for your quick answer, your solution works perfectly. I just added the analytics_storage tag to prevent the sending of statistical data if the user refuses it.
I will recommend the use of your plugin for future projects.