Skip to content

Add 'already accepted' function #9

@BruceMcKinnon

Description

@BruceMcKinnon

Great plugin. But when dynamically loading Google Analytics, the user_cookie_already_accepted can be triggered early.

My work-around was to add an additional public function, so you can check cookie acceptance at any time:
alreadyAccepted : function() {
// No need to display this if user already accepted the policy
return userAlreadyAcceptedCookies();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions