1. Creating an Email Design
- In my.clerk.io, go to Designs.
- Click New Design and give it a name.
- Choose Email, and optionally, pick either a starting Design.
- Style the email Design to your liking.
- Click Update Design.
2. Choosing which recommendations to show
- Go to Email Content, and create a new Content block.
- In the Content Page, under Choose Product logic, you can choose what type of recommendations to show:
3. Getting the Embedcode
- In the Content page, under Select Design start by choosing the amount of products you want to be shown and the Design you just created.
- Under Insert into e-mail, choose your email client from the dropdown of supported clients:
3. Your embedcode has now been configured for that platform
4. After copying the embedcode, go to your email client.
5. Insert the embedcode as HTML to your email in the place where you want
recommendations to be shown. They will then be rendered and shown.
5. Styling the Recommendations (Optional)
- Open a text-editor, and insert your embedcode.
- Save the file as a .html file, for example test.html.
- Open your file in a browser to see the results generated.
- In my.clerk.io go to the Design page of the email recommendations that you have created.
- Style the recommendations HTML structure in Edit Product Code, and its CSS styling in Edit CSS Code. You can also change the height and width of each product box on the Design page.
- Click Update Design and refresh the browser page that you opened your file in.
- Repeat until your styling looks the way you want it to.