dansmaculotte / dansmaculotte/nuxt-segment

Initiating segment on disabled change

Open
#26 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
20
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Hi ! To comply with GDPR measures, I need to set segment `disabled` to `true` initially but then init it when the user clicks accepts in the cookie banner.
Is there a way to load the script in this way?
setting `this.$segment.disabled = false` like this does not seem to work.

Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.