Create your own piwik opt-out iframe css styles
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
javascripts
lang
screenshots
stylesheets/codemirror
templates
.gitignore
.travis.yml
API.php
CHANGELOG.md
Controller.php
CustomOptOut.php
LICENSE.md
Menu.php
README.md
SystemSettings.php
plugin.json

README.md

Custom Opt-Out Styles Piwik Plugin

Description

Adds a new admin tab allowing to change the opt-out CSS Styles for each website.

Usage

  1. Click on the "Settings" link located in the top menu on the right

  2. Click on the "Custom Opt-Out" tab located in the "Settings" section of the sidebar on the left

  3. Enter your customized CSS code into the textarea input field called "Custom Css" e.g.

  body {
    font-family: Arial, Verdana, sans-serif;
    font-size: 12px;
    color: #ddd;
    line-height: 160%;
    margin: 10px;
    padding: 0;
  }

or insert a URL to the file containing your custom CSS into the input field called "External CSS File" e.g.

http://www.example.org/styles/piwikcustom.css

  1. Click the "Save" button.

  2. Use the iframe code provided below the input fields to add the Piwiki Opt-Out to your website.

How to change the opt-out text

I needed to remove this feature due to the breaking changes in Piwik 2.11.0

Requirements

  • Piwik >=3.0.0-b1

Authors

Jens Averkamp

Sven Motz

Support

Please direct any feedback to https://github.com/Zeichen32/PiwikCustomOptOut

Copyright and license

Released under the GPL v3 (or later) license, see LICENSE.md