Add a privacy policy page
This article describes how to add a privacy policy page to your site in Microsoft Dynamics 365 Commerce.
Privacy compliance includes organizational measures that inform site users about how their data is collected and handled. Users can then decide how they want their personal data to be handled and can take appropriate action.
Review the Microsoft privacy statement in Dynamics 365 Commerce
To review the Microsoft privacy statement while you're signed in to the Dynamics 365 Commerce authoring tools, select the Help button (?) in the upper-right corner, and then select Privacy and cookies. A new tab is opened that has a link to the Microsoft privacy statement.
Build a privacy policy page for your site
In Dynamics 365 Commerce, there are several ways to give users of your site access to your privacy policy. This section shows how to build a privacy policy page and then reference the page by using a footer fragment.
The guidance that follows is an example that shows how to build a generic privacy policy page for a Commerce site. You're responsible for designing and implementing a privacy policy page solution that best meets your company's legal requirements.
To start, in the authoring tools, go to the site that you want to build a privacy policy page for.
Create a template
Note
If a template that can be used for the privacy policy page has already been created, skip ahead to the Build a privacy policy page section.
To create a template, follow these steps.
- Go to Templates, and then select New to create a page template.
- In the New Template dialog box, under Template Name, enter Promo banner template, and then select OK.
- In the template, add any required modules to the required page slots. For guidance, hover over the red exclamation marks. (For example, the HTML Head slot might require a Default External Script module.)
- In the Body slot, add a Default Page module.
- In the Default Page module, in the Main slot, add a Content Rich Block module.
- In the Content Rich Block module, add a Content rich block item module.
- Select Save, select Finish editing to check in the template, and then select Publish to publish it.
Build a privacy policy page
To build a privacy policy page, follow these steps.
- Go to Pages, and then select New to create a page.
- In the Choose a template dialog box, select the template for the privacy policy page.
- Enter a page name and page URL, and then select OK.
- In the Main slot of the page, add a Content Rich Block module.
- In the Content Rich Block module, add a Content rich block item module.
- In the properties pane for the Content Rich Block module, select Add Data Source, and then select Rich Text Content.
- In the rich text editor, enter the content for the privacy policy page. Expand the rich text editor to full-screen mode as you require.
- When you've finished entering content, select Preview to preview the page in the web browser.
- Complete any remaining additions to the page and module properties.
- Select Save, select Finish editing to check in the page, and then select Publish to publish it.
To publish the URL for the privacy policy page, follow these steps.
- Go to URLs, and select the URL for the privacy policy page.
- Select Publish to publish the selected URL.
Create a link to the privacy policy page in a footer
You can add a link to the privacy policy page to a fragment. In this way, you can share the link and update it across multiple site pages by referencing the fragment. This example shows how to add a link to the privacy policy page to a footer fragment.
To add a link to a footer fragment, follow these steps.
- Go to Fragments, and then select New to create a page fragment.
- In the New fragment dialog box, select the Footer module.
- Under Fragment name, enter a name for the fragment, and then select OK.
- In the Footer category slot, add a Footer item module.
- In the properties pane on the right, select Link text.
- In the Link text dialog box, enter the link text and link target of the privacy policy page, and then click OK.
- To get the URL of the privacy policy page, go to Pages, go to the privacy policy page, and copy the URL from the properties pane.
- Select Save, select Finish editing to check in the fragment, and then select Publish to publish it.
- Preview the fragment, and test the link to the privacy policy page.
The fragment can now be referenced in the template for other site pages. When this fragment is referenced in the Footer module of a template, the link reference will appear on any pages that are built by using that template.