Documentation Index
Fetch the complete documentation index at: https://docs.glood.ai/llms.txt
Use this file to discover all available pages before exploring further.
Section Template Tags
Tags in Glood.AI section templates provide additional functionality and integrations for your product recommendations.Available Tags
Product Review Integration
product_ratings
Integrates product reviews from supported review apps. Parameters:product_id: The product ID to fetch reviews for
- Judge.me
- Loox
Using Tags in Templates
Here’s an example of using tags in a product card:Tag Configuration
Review App Integration
To use the review app integration:- Configure your review app in the Glood.AI dashboard
- Add the appropriate review app scripts to your theme
- Use the tag in your section templates
- Detect the configured review app
- Generate appropriate widget markup
- Handle missing configurations gracefully
Best Practices
- Always check if review app is configured before using the tag
- Handle cases where product ID might be missing
- Consider loading performance of review widgets
- Test integration with different review app configurations
- Provide fallback content when review app is not available
Error Handling
The tag handles various error cases:- No review app configured: Shows HTML comment
- Missing product data: Shows HTML comment
- Unsupported review app: Shows HTML comment