Huge Christmas Sale! - Save 20% on your order using coupon: christmas16 during checkout Learn More
 
 

First download the cookie law ZIP file from inside your Zomex account. Extract the files and move the extracted folder to your desktop.

Next check to see if your website loads jQuery, you can do this by viewing your website and then right click somewhere blank on the page > click on view source or view page source. Then search for jquery between & . If you see it skip this step, if not add the following just below <head>:

Next select the type of website you're installing the script on:

 

HTML

1) Open the EU Cookie Law Script v1-0 folder and then files, upload the images, js & css directories to the public_html/ directory of your web hosting account.

2) Open each of your pages and add the following code just before </head>:

WHMCS

1) Open the EU Cookie Law Script v1-0 folder and then files, upload the images, js & css directories to your active WHMCS template directory. e.g public_html/templates/blue-blaze-v3-4/

2) Open header.tpl of your activate template directory and add the following just before </head>:

Wordpress

1) Open the EU Cookie Law Script v1-0 folder and then files, upload the images, js & css directories to your active WordPress theme directory. e.g public_html/wp-content/themes/blue-blaze-v1-0/

2) Open header.php of your activate template directory and add the following just before </head>:


Setting your privacy policy URL

Open the javascript/eucookielaw.css file and change replace Zomex Privacy Policy URL with your own:

The script also supports the ability to load your websites cookies only if/when the close button is clicked by your visitor. This is done by wrapping your cookie generating Javascript (e.g Google Analytics code) is our PHP statement.

Add the following code below the two lines you just pasted when installing the script:

Add your cookie generating code between these two lines and it'll only load when your visitors accept the cookie notice by clicking the close button.

Code example

Here is a example using Google Analytics:

If you're using a WHMCS template the code must be modified slightly:

 

Leave a comment

Let us know what you think!

 
 
the best whmcs templates
premium html code - scripts
custom banner design service
 
 
Top