The goal of this issue is to offer an easy way to customise the fonts, colors, sizes, of the iframe opt-out feature. This will let Piwik users show the opt-out in a way that integrates well in the design of the website where it is embed.
We'd like to be be able to customise the following styles:
rgb(0, 255, 0),
00FF00(possibly could allow color names eg .
limebut not needed I think)
a-Zcharacters ranges and
Ideas / optional:
backgroundColor=transparentwhere the background would be set to the same as the website it is embedded, but likely requires complex code as it's not a browser feature I think?
As part of respecting user privacy we have been offering a global opt-out which lets a Piwik administrator embed an IFRAME in their website. This IFRAME will load our Opt-out feature:
Opting-out of website tracking.
font size would only accept valid sizes eg. 10pt or 1.5em
Valid font sizes are 10pt, 1em, 10px, 100% and words like small or large.
Maybe add on "auto styling" for Bootstrap modal? As I think it is quite often used in such way.