Skip to main content
All CollectionsReviews & QAIntegration
Shopify Metafields Integration Is Now Available On TargetBay Reviews
Shopify Metafields Integration Is Now Available On TargetBay Reviews
Danielle Fietkau avatar
Written by Danielle Fietkau
Updated over a month ago

Enable Shopify Metafields in TargetBay Reviews to synchronize review data with your Shopify store backend and use it in real-time with other Shopify apps.

  1. Login into your TargetBay Account using the correct credentials.

  2. Navigate to “Reviews & QA” in the top menu bar of the TargetBay dashboard and click on “Integrations” from the drop-down menu.

  3. Scroll to find “Shopify Metafields” and click “Add Integration” to add it to your TargetBay Reviews integrations.

  4. Then click on the “Enable” button to initiate synchronization of review data to your Shopify store.

    Note: Click “Disable” to stop data synchronization. When you “Enable” it again, TargetBay Reviews will synchronize all reviews from the beginning to prevent data loss.

  5. Login into your Shopify store admin account.

  6. Navigate to “Settings” on the left-hand side menu bar.

  7. Click on “Custom Data” on the left-hand side menu bar inside “Settings.”

  8. On your screen, click on “Products” under “Metafield definitions” to open “Product metafield definitions.”

  9. Click on “View unstructured metafields” at the top to view the review data synchronized from TargetBay Reviews.

  10. To display the synchronized average product rating data on your Shopify store product page, copy the following line of code.

  11. Code for displaying product reviews count:

    <div class="custom_data_field"> {{ product.metafields.targetbay.review_count }}</div>

  12. Code for displaying product average rating:

    <div class="custom_data_field"> {{ product.metafields.targetbay.review_average }}</div>

  13. Paste the copied code on any product page in your store where you want to display the review information.

  14. Any app on your Shopify store can use this TargetBay synchronized Shopify Metafields data in real time.

Note: The one-line codes work only on the product page to display the product review data.

Did this answer your question?