Before implementing the following code, it is important to ensure that the page contains the necessary HTML elements.
The Geoloc Monitoring SDK requires an input
element with the id attribute set to legitimuz-action-send-analisys.
This element is used for CPF input.
Additionally, the page must include a button
element with the id attribute set to legitimuz-action-send-analisys.This button is not essential, but it is used to submiting the CPF and actions to the SDK.
Ensure that these elements are present on the page before proceeding with the implementation of the code above.
Does your code have a different writing pattern? Don’t worry, you can change the element selector through the methods exported by the SDK.