Welcome to TalkGraphics.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    15,891

    Lightbulb Website Cookie Acceptance

    I see few Xara-designed websites ever paying attention to the regulatory need to advice about how that site is using Cookies.
    This applies even when just using Google Analytics.

    Xara links to https://help.xara.com/article/446-ad...consent-banner and you can use the Open Source product for free.
    This is a third-party widget.

    I have developed a more Xara-integrated design that uses a small amount of JavaScript to handle localStorage instead of a Cookie.
    It can be repurposed to handle Cookies but localStorage only saves a record on the browser your are using and does not transmit anything back to a third-party.

    The Consent Form is on a !layer (always publishes).
    The ACCEPT set the 'hidden' item in localStorage.
    The consent() function adds a ClassName of 'given' to all objects that have a Name of htmlclass="consent"; here, these are all in the !Consent layer.
    The page is then refreshed and the Consent form vanishes, never to be seen again, until you press the REMOVE CONSENT button.
    Its code is also all in its Link.

    The consent() function is in the Website HTML Code head section.

    It works across Variants.

    You can link to a separate Cookie Policy page, I used a pop-up layer.
    The pop-ups have to be Sticky.to appear above the blocking box.

    What I would appreciate knowing is how bulletproof the mechanism is across browsers and devices.
    Is it as good as the third-party widget?

    JS - Cookie Consnet Pop-up.xar

    Do ask if there are any unclear instructions.

    Acorn
    Acorn - installed and active Xara software: Cloud+/Pro+, XDPXv18 , XWDPv12/v15, XPGDv10, X3D7, Xara Xtreme 5, and others back through time (to CC's Artworks).
    Technical remediation and consultancy for your web designs. TG Nuggets you might like. Report faults: Magix; Xara Cloud+/Pro+

  2. #2
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    40,847

    Default Re: Website Cookie Acceptance

    Very helpful.
    Gary W. Priester
    Mr. Moderator Emeritus Dude
    , Sir

    gwpriester.com | eyetricks-3d-stereograms.com | eyeTricks on Facebook






  3. #3
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    15,891

    Default Re: Website Cookie Acceptance

    Quote Originally Posted by gwpriester View Post
    Very helpful.
    Gary, thank you.

    @All - It's the browsers used I need to know about. Secondary, it's then the devices but that ask might be seen as intrusive by some.

    In passing, this can be used as a one-time pop-up for new visitors, it doesn't have to be all about cookies.

    Acorn
    Acorn - installed and active Xara software: Cloud+/Pro+, XDPXv18 , XWDPv12/v15, XPGDv10, X3D7, Xara Xtreme 5, and others back through time (to CC's Artworks).
    Technical remediation and consultancy for your web designs. TG Nuggets you might like. Report faults: Magix; Xara Cloud+/Pro+

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •