cc.acceptedCategory() not working as expected #733
Unanswered
kallefrombosnia
asked this question in
Q&A
Replies: 1 comment
-
I tried setting up a basic Laravel + LiveWire app and onfigured the plugin to be executed once, in the root layout (with persistent html across pages). Everything works as expected on my end. Note that the plugin is executed asynchronously. Make sure you are not calling any method before the plugin is initialized. Does calling |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, suddenly after project update to Livewire "SPA" navigation,
CookieConsent
starts to return wrong values onacceptedCategory()
.Steps to reproduce:
true
wire:navigate
to any other pagefalse
Can confirm that cookie has given category as approved.
This worked fine before this SPA update, but now its creating problems, since GA doesnt get
granted
on specific targeting.I had it fixed by manualy checking the cookie value and granting approval on new page load, but still
acceptedCategory
returns false when redirected.I didnt understand if this was for the Github issues so I decided to ask here.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions