Skip to content

republa/Piwik-ProtectTrackID

 
 

Repository files navigation

Piwik ProtectTrackID Plugin

Description

Provides a option to protect idSite using hash instead default numeric

FAQ

Why isn't good to change configuration more times?

Because if you change configurations (base string, salt and length), hashed string will change too, then old hashes will not work. ONLY change salt if you will change all JavaScript Tracking Code or Image Tracking Link after change configuration. Then is HIGHT RECOMMENDED to set configurations ONLY ONE TIME.

How to I config plugin?

On Administration > Plugin Settings. For plugin work, is required all configurations defined, if only one or two defined, plugin will not work.

Plugin need 3 configurations, base string, salt and length.

base string is string used to generate hash. Example, if you set ABCDEFGHIJKLMNOPQRSTUVXWYZ, plugin will use only this characters for build hash.

salt is a radom string key for generate hash with base string and length configurations.

length is a hash string size. If you set 10 as example, plugin will generete hash with 10 characters defined on base string.

Why JavaScript Tracking Code and Image Tracking Link is blank?

This plugin will hash siteId by configurations, but if you define small base string, salt or length, plugin wont haven't combinations enough for create hash string. Then you need incresease base string, salt and/or length.

If I install this plugin I need to change track code for all sites or old track code still will work? Thanks @yurgon for the question.

You can install and set plugin configuration, old tracking code will work without problems because plugin validates tracking siteId with plugin settings to set if siteId is hashed id or normal numeric id. But is necessary attention, because although old tracking code will continue work, Piwik will display only new tracking code.

Changelog

This project follows the guidelines of semantic versioning.

  • Version 1.0.0 - New major version for new Piwik Major version, 3.0.0
  • Version 0.2.2 - Restrict Plugin only for Piwik 2.X.X
  • Version 0.2.0 - Production version, Portuguese Brazilian language added.
  • Version 0.1.0 - Beta version with base string on config.

Support

Want support? Here in https://github.com/joubertredrat/Piwik-ProtectTrackID/issues

Packages

No packages published

Languages

  • PHP 100.0%