FitMetrix Developer Documentation

Quick start

User guides


First, install between <head> the FitMetrix Javascript library using your CustomerID :
<script src=""></script>
* Refer to FittingBox Team to know your CustomerID, otherwise you can use demo for your tests.
Place a <div> tag identified by a uniq id into the <body> :
<div id="myFitMetrix"></div>
Then, call Fb.FitMetrix.GetInstance method to set your FitMetrix into #myFitMetrix HTML element :
<script type="text/javascript">
    window.onload = function()
        FitMetrix = Fb.FitMetrix.GetInstance(
                    container: '#myFitMetrix',
                    customervalue: 'USERXXX',
                    finalizecallback: function()
                        alert('Function called');
                    withglasses: false


If you need to use FitMetrix with an SSL connection, you just have to change the protocol of your script call :
<script src=""></script>