ifp_initView
When the browser displays a new View to the customer, the following method has to be called to initialize the profiling and to send the first profiling data to signal collector:
...
ifp_initView(visitId, partnersConfigurations, callback);
...
Method Parameters
| Parameter | Value | Description | Data Type |
|---|---|---|---|
| visitId | Required | A previously generated visitId (from ifp_initUseCase method) | string |
| partnersConfigurations | Required | A json object, containing the partner’s configurations (if needed). See below the partner section for integration with Threatmetrix) for more information | Json object |
| callback | Optional | A javascript function that will be called at the end of the initView function. | function |
Note 1
This method shall be called once the loading of the view is complete. CORS
Note 2
When you start a new Use Case, you should always call the ifp_initView method also.
Response
This method returns void