FitMetrix Developer Documentation

Advanced configuration


FitMetrix library permit you to custom your widget the best as possible.
To do this, you can configure:

Javascript configuration

Directive Detail
container DOM element or element id where the product has to be
customervalue Web user ID that'll be reported in the admin area.
finalizecallback Callback function called on click on finished button.
* See JSDoc Reference for more details.

Basic example

window.onload = function()
    FitMetrix = Fb.FitMetrix.GetInstance(
                container: '#myFitMetrix',
                customervalue: 'USERXXX',
                finalizecallback: function()
                    alert('Function called');
* See Basic example live demo.