{"id":6422,"date":"2021-09-01T08:37:01","date_gmt":"2021-09-01T12:37:01","guid":{"rendered":"https:\/\/trustpulse.com\/?post_type=docs&p=6422"},"modified":"2024-05-31T09:52:23","modified_gmt":"2024-05-31T13:52:23","slug":"how-to-integrate-trustpulse-with-woocommerce","status":"publish","type":"docs","link":"https:\/\/trustpulse.com\/docs\/how-to-integrate-trustpulse-with-woocommerce\/","title":{"rendered":"How to Integrate TrustPulse with WooCommerce"},"content":{"rendered":"
TrustPulse can work with any website and makes it easy to connect directly to your WooCommerce store.<\/p>\n
In this guide you’ll learn how to integrate TrustPulse with WooCommerce to create purchase notifications that you can show for social proof notifications.<\/p>\n
This guide assumes you already have WooCommerce<\/a> and TrustPulse<\/a> plugins installed on your WordPress website. You also need to be on the TrustPulse Pro Plan<\/strong> or higher.<\/p>\n See this guide<\/span><\/a> on creating and editing your campaign for a step-by-step walkthrough if this is your first time creating a campaign.<\/span><\/p>\n While editing your campaign, go to the Capture Activity settings and do the following:<\/span><\/p>\n 1. Select <\/span>WooCommerce Orders<\/b> from the <\/span>How Would You Like to Capture Activity?<\/b> dropdown.<\/span><\/p>\n <\/p>\n 2. Next, click on the <\/span>Connect TrustPulse to your website<\/b> button to launch the connection window.<\/span><\/p>\n <\/p>\n 4. Approve the new connection so that your TrustPulse campaigns will be able to create a webhook for new order notifications.<\/span><\/p>\n <\/p>\n 5. After clicking on <\/span>Approve<\/b>, the authorization window will close and you will see a Success message for the new connection.<\/span><\/p>\n <\/p>\n 6. Now that your store is connected you can click on the Create new webhook button. This ensures that each time an order is created a notification is created for this specific campaign.<\/p>\n <\/p>\n 1. Next, customize the notification message text. You can use TrustPulse Smart Tag<\/a>s in the textbox for the <\/span>Message text<\/b>.\u00a0<\/span><\/p>\n <\/p>\n 2. For customer orders that contain multiple products you can choose to use the First, Most Expensive, or a Random product from the <\/span>Single Product Priority (from capture)<\/b> option. This single product is used in the product_* smart tags and the image used for the notification when enabled.<\/span><\/p>\n <\/p>\n 3. By default the image in the notification will be the product purchased for this notification if one was set in WooCommerce. Toggle this off if you want to use the option selected in Appearance & Design<\/span>.\u00a0The preview in the builder will not show a product image.<\/em><\/span><\/p>\n 4. Next, click the <\/span>Save <\/b>button.\u00a0<\/span><\/p>\n 5. Click on <\/span>Next Step <\/b>to customize the Display Rules for this campaign.<\/span><\/p>\n <\/p>\n 6. Finally, <\/span>Launch <\/b>the campaign to display notifications from your WooCommerce store.<\/span><\/p>\n <\/p>\n <\/p>\n The end result is an easy, automatic notification proving the popularity of your products any time a product is purchased from your WooCommerce store:<\/p>\n <\/p>\n <\/p>\n You can manually generate your own Keys in WooCommerce following these steps:<\/span><\/p>\n 1. In the WordPress admin<\/strong> navigate to the WooCommerce<\/strong> > Settings<\/strong> > Advanced<\/strong> > Rest API<\/strong> screen.<\/span><\/p>\n 2. Select the Add key<\/strong> button.<\/span><\/p>\n <\/p>\n 3. Give the Key an identifiable description, we recommend \u201cTrustPulse\u201d<\/b>, then select the Generate API Key<\/b> button. Ensure the permissions are set to Read\/Write<\/b>.<\/p>\n <\/p>\n 4. You\u2019ll be provided with a <\/span>Consumer Key<\/b> and <\/span>Consumer Secret<\/b> to add to TrustPulse.<\/span><\/p>\n <\/p>\n<\/span>Create a Campaign<\/b><\/span><\/h3>\n
<\/span>Authorize TrustPulse to connect with WooCommerce on your Site<\/b><\/span><\/h3>\n
<\/span>Customize Your WooCommerce Notifications<\/b><\/span><\/h3>\n
<\/h3>\n
<\/span>Troubleshooting<\/b><\/span><\/h3>\n
How can I manually connect WooCommerce with TrustPulse?<\/b><\/h5>\n