You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry I'm still really new to Vue.js and JS apps, but I'm not understanding how I'm supposed to check if cookie consent has been given when a visitor visits the page.
I wanted to use this to enable / disable vue-analytics. I assume I want to do a check on the isAccepted() method inside mounted(), but how? What is the function tied to? this.isAccepted() doesn't work, nor does CookieLaw.isAccepted()
I'm not using scoped version of the code, just literally just:
<cookie-law v-on:accept="enableTracking()" />
The text was updated successfully, but these errors were encountered:
vue & vue-cookie-law version
2.6.12, 1.13.3
Sorry I'm still really new to Vue.js and JS apps, but I'm not understanding how I'm supposed to check if cookie consent has been given when a visitor visits the page.
I wanted to use this to enable / disable vue-analytics. I assume I want to do a check on the isAccepted() method inside mounted(), but how? What is the function tied to? this.isAccepted() doesn't work, nor does CookieLaw.isAccepted()
I'm not using scoped version of the code, just literally just:
<cookie-law v-on:accept="enableTracking()" />
The text was updated successfully, but these errors were encountered: