If your reporters log into your web application before reporting feedback, you can pass their credentials through the Marker.io snippet code, removing the need for us to ask for their name and email address.
Note: You may also like to capture additional Custom Metadata.
Why identify your reporters automatically
The reporting experience will be much better for your guests as they will not need to provide their contact information while reporting their issues.
How to identify your reporters
Identifying your reporters is simple. Provide their information in the configuration object of your snippet code.
window.markerConfig = {
project: "<Project ID>",
โ
reporter: {
email: 'john@clientwebsite.com',
fullName: 'John Smith',
},
};
If you use our JavaScript SDK, you can set the reporter as follows:
Marker.setReporter({
email: 'client@website.com',
fullName: 'Gabrielle Rose'
});
What happens when the email matches a Marker.io user account?
If the provided email matches a Marker.io account, a link will be shown in the widget, encouraging the user to log in.
Note: You may also like to capture additional Custom Metadata.