Jump to content

expand.shine

Circle Member
  • Posts

    7
  • Joined

  • Last visited

expand.shine's Achievements

Level 2

Level 2 (2/20)

2

Reputation

  1. Thanks @paul2009! I made the changes. What are the integrity & crossorigin elements of the jquery script? Are they required to update the version? I didn't have that part in my original code.
  2. Site URL: https://www.delightedspirit.com I want to prevent ActiveCampaign's site tracking if someone doesn't consent to cookies on my website. I'm following these instructions & I'm now at the last step (#4). I'd like to know if I need to change anything to make it work with Squarespace specifically? Here's their example: // Insert tracking snippet here if (document.cookie.indexOf('accept_cookies') !== -1) { vgo('process', 'allowTracking'); } $('.btn').on('click', function() { var expiration = new Date(new Date().getTime() + 1000 * 60 * 60 * 24 * 30); vgo('process', 'allowTracking'); document.cookie = 'accept_cookies=1; expires=' + expiration + '; path=/'; }); I'm not even sure how to test if I did this correctly.
×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.