
Understanding Page Context
Page context allows your AAIA assistant to understand what page the visitor is currently viewing and incorporate that information into conversations. This makes responses more relevant, accurate, and helpful by providing situational awareness.
Note: Page context is a PRO feature that requires an active license.
🎯 What is Page Context?
How It Works
When enabled, your assistant automatically:
- Detects the current page the visitor is viewing
- Extracts relevant content from that page (title, headings, key text)
- Incorporates this information into conversation responses
- Provides page-specific answers instead of generic responses
Types of Context Captured
Page Information:
- Page title and meta description
- Main headings (H1, H2, H3)
- Key content sections
- Product details (for e-commerce)
- Service descriptions
Situational Awareness:
- What the visitor is currently looking at
- Specific products or services they’re interested in
- Content they might have questions about
- Related information they might need
💡 Benefits of Page Context
More Relevant Responses
Without Page Context:
- User: “What’s the price?”
- Assistant: “Which product are you asking about?”
With Page Context:
- User: “What’s the price?” (viewing iPhone 15 Pro page)
- Assistant: “The iPhone 15 Pro starts at $999 for the 128GB model. Would you like to see our current promotions?”
Improved User Experience
Faster Answers: No need to specify what they’re looking at Natural Conversations: Questions flow more naturally Reduced Friction: Fewer clarification questions needed Better Guidance: Assistant can reference specific page elements
Business Benefits
Higher Conversion: More targeted responses lead to better outcomes Reduced Support: Fewer confusion-based questions Better Analytics: Understanding of page-specific interests Enhanced Personalization: Responses tailored to visitor intent
⚙️ Configuration Options
Enable Page Context
- Navigate to Page Context tab in your AAIA dashboard
- Toggle “Enable Page Context” to ON
- Configure content capture settings
- Save and test
Content Capture Settings
CSS Selector for Context: Specify which parts of your page to capture
- Default: Main content areas
- Custom: Target specific sections (e.g.,
.product-details
,#main-content
)
Capture Main Page Content: Include general page content in context
- Recommended for most sites
- Helps with general page-related questions
Advanced Configuration
Content Filtering: Choose what types of content to include/exclude Priority Sections: Emphasize certain page areas over others Dynamic Content: Handle JavaScript-loaded content appropriately
🎨 Use Cases by Industry
E-commerce
Scenario: Customer viewing product page Context: Product name, price, features, availability Better Responses: Specific product questions, comparisons, purchasing help
Services
Scenario: Visitor on service description page
Context: Service details, benefits, pricing, process
Better Responses: Service-specific questions, booking assistance, customization options
Content/Blog
Scenario: Reader on blog article Context: Article topic, key points, author, date Better Responses: Article-related questions, related content suggestions, deeper explanations
Restaurant
Scenario: Customer viewing menu page Context: Available dishes, prices, dietary options Better Responses: Menu questions, dietary accommodations, ordering assistance
🔧 Implementation Best Practices
Optimize Your Content Structure
Clear Headings: Use descriptive H1, H2, H3 tags Structured Content: Organize information logically Semantic HTML: Use proper HTML elements for better extraction Meta Information: Include relevant meta descriptions and titles
Test Context Capture
Verify Content: Check what content is being captured from each page Test Responses: Ensure assistant uses page context appropriately Monitor Performance: Track if context improves conversation quality
Content Guidelines
Relevant Information: Ensure captured content is useful for conversations Up-to-date: Keep page content current and accurate Accessible: Use clear, understandable language Complete: Include all information visitors might ask about
🛠️ Technical Considerations
Performance Impact
Minimal Overhead: Context capture is lightweight and fast Caching: Content is cached to avoid repeated processing Selective Capture: Only relevant content is processed
Privacy and Security
No Personal Data: Only public page content is captured Visitor Privacy: No personal information is stored or processed Secure Processing: All context handling follows security best practices
Compatibility
Works With: All modern websites and CMSes JavaScript Support: Handles both static and dynamic content Mobile Friendly: Context capture works on all devices
📊 Measuring Success
Analytics to Monitor
Context Usage: How often page context influences responses Response Quality: Improvement in conversation relevance User Satisfaction: Fewer clarification requests needed Conversion Impact: Effect on desired user actions
A/B Testing
Test page context on/off to measure:
- Conversation length and engagement
- User satisfaction scores
- Conversion rates and goal completions
- Support ticket reduction
🚨 Troubleshooting
Common Issues
Content Not Captured: Check CSS selectors and page structure Irrelevant Context: Adjust content filtering settings Performance Issues: Optimize content selection and caching
Content Quality
Too Much Context: Limit to essential information only Outdated Information: Ensure captured content stays current Missing Key Details: Include all important page elements
🔗 Integration with Other Features
Works With System Instructions
Page context enhances your assistant’s base knowledge with current page information.
Complements Starter Questions
Context-aware starter questions can be more specific to the current page.
Enhances Follow-up Questions
Follow-up questions can reference specific page elements and content.
🔗 Next Steps
- Monitor performance: Track impact on conversations
Page context transforms generic chatbot interactions into intelligent, situational conversations. The better your page content is structured, the more helpful your assistant becomes.