Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

EU cookie policy code :) Rate Topic   - - - - -

 

Posted 21 August 2012 - 03:23 PM #1

couldn't see any samples posted anywhere so thought id add one that I found
at www.kartris.com/Knowledgebase/EU-cookie-law-and-compliance__k-39.aspx

slightly modified from that link, less intrusive.

easy to setup and just covers this pointless bit of legislation.

download the cookie zip, unzip to the root of your website

colour changes, font sizes etc etc etc can be made in CookieCompliance/stylesheet.css

edit skins/yourskin/customer/index.tpl

place directly under <head>

if you have search friendly urls enabled

  <script type="text/javascript" src="/CookieCompliance/jquery.js"></script>
  <script type="text/javascript" src="/CookieCompliance/cookie-compliance.js"></script>
  <link type="text/css" href="/CookieCompliance/stylesheet.css" rel="stylesheet">

if you dont have search friendly urls enable

<script type="text/javascript" src="CookieCompliance/jquery.js"></script>
<script type="text/javascript" src="CookieCompliance/cookie-compliance.js">
</script> <link type="text/css" href="CookieCompliance/stylesheet.css" rel="stylesheet">

place between </head> and <body>

change the link to your privacy policy / terms wherever you mention how you handle cookies etc

<div id="cookieMessageWrapper">
			<div id="cookieMessage">
				<a id="cookieClose" href="#">Accept</a>
				<p><strong>This site uses cookies. By continuing to use this site you agree to our use of cookies. To find out more, see our <a href="http://fudgefeast.co.uk/privacy-policy.html">privacy policy</strong></a>
			</div>
		</div>

this will give you the following popup

Posted Image

Attached Files



 
  • Janssen
  • Advanced Member
  • Trial users
  • Join Date: 18-Jul 12
  • 83 posts

Posted 21 August 2012 - 05:58 PM #2

Should be a standard feature in the software, if you ask me.

But Kudos for you!

JJ.

 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4673 posts

Posted 21 August 2012 - 06:30 PM #3

Great thanks for the effort, but doesnt seem to work with smart optimizer enabled, "error smart optimizer cannot find file/cookie-compliance/jquery.js"
any idea
Thanks
john

Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


 

Posted 21 August 2012 - 08:02 PM #4

John have you tried putting the full path to the js file
for example:
<script type="text/javascript" src="http://www.yourwebsi...y.js"></script>

John
John Carroll
My Webshop: Alpha Spas

 
  • Janssen
  • Advanced Member
  • Trial users
  • Join Date: 18-Jul 12
  • 83 posts

Posted 21 August 2012 - 08:03 PM #5

For your information: it works perfectly on v3.0.2 Ultimate

Many thanks for your efforts.

JJ.

 
  • Eduard
  • Junior Member
  • Members
  • Join Date: 22-Feb 11
  • 86 posts

Posted 24 August 2012 - 09:02 PM #6

Hello,

Where should I put this code. Its unclear to me where to put it:
change the link to your privacy policy / terms wherever you mention how you handle cookies etc


<div id="cookieMessageWrapper">
<div id="cookieMessage">
<a id="cookieClose" href="#">Accept</a>
<p><strong>This site uses cookies. By continuing to use this site you agree to our use of cookies. To find out more, see our <a href="http://fudgefeast.co...cy-policy.html">privacy policy</strong></a>
</div>
</div>


Thanks in advance

Sincerely

Edwin

 

Posted 25 August 2012 - 11:29 PM #7

it should be at around line 20 or 25 if you already put the first few lines of code in.

look for the </head> line and it goes inbeween that, and the <body> tag that is directly below it

 
  • dvsgr
  • Senior Member
  • Authorized Reseller
  • Join Date: 14-Apr 09
  • 1448 posts

Posted 27 August 2012 - 07:26 PM #8

Hi,

for those who are looking the 2.2x version visit http://forum.cs-cart..._fromsearch__1.

I had that as an Addon made.

Read more at the link

Fotis
Fotis Kourmadas
Cs-Cart Development - Cs-Cart Authorized Reseller 

 
  • richardfmm
  • Senior Member
  • Trial users
  • Join Date: 20-Apr 12
  • 240 posts

Posted 28 August 2012 - 05:52 PM #9

Hi,

After reading privacy policy and then accept the cookie the screen stay on the cookie screen.
Is it posible after reading policy and accept cookie to go to the main-frame instead staying policy screen?

Thanks.

 
  • Dezigner
  • Member
  • Members
  • Join Date: 12-Oct 09
  • 136 posts

Posted 30 August 2012 - 08:14 AM #10

But there is no button for not accepting users ...

 
  • UrKo
  • Junior Member
  • Members
  • Join Date: 08-Dec 06
  • 161 posts

Posted 16 June 2013 - 12:43 PM #11

will this install cookies even if you dont accept? As in slovenia the cookies can't be installed unless users confirms it!
UrKo

 
  • pbannette
  • Senior Member
  • Members
  • Join Date: 09-Aug 07
  • 1036 posts

Posted 16 June 2013 - 03:14 PM #12

I think if a user does not accept. They just leave the site.
I checked my site and there are at least 20 cookies created just to go through the checkout process. Even if you exclude the cart cookies, which may be needed to create a sale, there are many other cookies. Just by loading the checkout page I have these cookies::
Amazon
PayPal
Cookie for a marketing tool I use
Chat Software
twitter
There is also a cookie from my payment processor.
If a person does not want to accept any cookies, you either have to get a cart that does not need cookies to track individual carts/session and never use any third party marketing tools, chat software and may never use any social media on the site, etc. Or, the person leaves the site.
I set my opera settings to let me know when a cookie was placed on my computer. Went to my site and was very surprised to see so many. Many I have no idea where they came from. I'll be looking into it. I think I need my third parties to let me know what other cookies are being created on their behalf.
Bob

Version CS-Cart 4.3.5


 
  • UrKo
  • Junior Member
  • Members
  • Join Date: 08-Dec 06
  • 161 posts

Posted 16 June 2013 - 03:22 PM #13

i see.
well i dont want to change the cart. Im very happy with this one. Currently I have a .js that disables cookies for users when it enters and if confirm then the cookie is installed. So now i have users browsing and because of this new law I can say thank you F#$$ slovenian government as now when i check google analytics i noticed 60%+ less activity.
Of course when i checked under filters 100+ are selected not to be tracking!!
UrKo

 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4673 posts

Posted 16 June 2013 - 06:08 PM #14

thought the policy had changed now, only requiring it to be listed on a page and not have to automatically pop up

john

Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


 
  • UrKo
  • Junior Member
  • Members
  • Join Date: 08-Dec 06
  • 161 posts

Posted 16 June 2013 - 06:18 PM #15

actually our policy just became valid on saturday and each site must have a text displayed as i written above..really stupid policy. i hope they'll change it soon..
UrKo