Section Template
Tags
Learn about available tags for extending section template functionality
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
Supported Apps:
- Judge.me
- Loox
Example:
Output Examples:
For Judge.me:
For 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
The tag will automatically:
- 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
Support
For questions about tags or custom tag development, contact our support team at support@glood.ai