The GDPR component by default is integrated with the core Joomla! components for users and contacts management as well as with a series of common extensions such as RS Forms Pro, Chronoforms, JomSocial, EasySocial, etc in order to:
• Show buttons to delete and export a user profile if any
1. Specifying the view name used by the component to show a form and a CSS selector to match the form
2. Specifying the form name and the form task used by the component to show a form
3. Simply using a dynamic checkbox and copy/paste the placeholder wherever you want the checkbox to appear (see PDF docs at the paragraph 'Dynamic checkbox')
Refer to the PDF docs at the paragraph 'Integration with third-party extensions' for detailed explanations about this kind of configuration.
To easily find the component.viewname used for a certain menu item, it's recommended to check the raw link included in the Joomla! backend for a given menu item or to temporary disable the SEF URLs in the Joomla! global configuration and check the website frontend.
Take care that if you are using a Joomla! module to embed a form into your pages, for example from a third-party extension having a related module to display forms, you can't specify a view name for the component associated to that form and the standard integration could not be enough. Indeed a module may appear on any page of your website, based on menu assignments, so several components/views may be executed everytime that the module containing the form is displayed.
In this case you have not to specify the value 'com_xxx.viewname' of the component itself that generates the form, but the value 'com_xxx.viewname' of the component executed on each page in which the module including the form is displayed.
Let's say you have a Chronoforms module including a form shown in a Joomla! single article page, in this case you must specify in the parameter 'View name for custom components' the value 'com_content.article' that relates to the component and view used on that page.