Navigation Path: Admin Dashboard → Integrations → Chat Online
Overview
Integrate live chat and push notifications to provide real-time customer support and keep users engaged with timely updates.Live Chat
Real-time customer support
Push Notifications
Browser push notifications
Engagement
Increase customer interaction
Support
Instant help and assistance
What is OneSignal?
OneSignal is a customer engagement platform that provides:- Live Chat: Real-time messaging with customers
- Push Notifications: Browser and mobile push notifications
- In-App Messaging: Targeted messages to users
- Email: Automated email campaigns
- SMS: Text message notifications
Integration Benefits
- Instant Support: Chat with customers in real-time
- Proactive Engagement: Send notifications about updates, offers
- Increased Conversions: Engage visitors before they leave
- Customer Retention: Keep users informed and engaged
- Multi-Channel: Reach customers across web, mobile, email
Configuration
| Setting | Description | Format |
|---|---|---|
| OneSignal App ID | Your OneSignal application identifier | UUID format |
| Safari Web ID | Safari push notification identifier | web.onesignal.auto... |
Getting OneSignal Credentials
1. Create OneSignal Account- Sign up at OneSignal.com
- Click New App/Website
- Enter your app name (e.g., “My Hosting Platform”)
- Select Web as platform
- Click Next
- Choose Typical Site setup
- Enter your Site URL (e.g.,
https://yourdomain.com) - Upload notification icons:
- Large Icon: 256x256 px (shown in notification)
- Small Icon: 128x128 px (shown in browser)
- Click Save
- Go to Settings → Keys & IDs
- Copy your OneSignal App ID
- Copy your Safari Web ID (if using Safari push)
- Paste both into your platform’s integration settings
- In OneSignal dashboard, go to Messages → Live Chat
- Click Enable Live Chat
- Customize chat widget appearance
- Set online hours and automated responses
- Save configuration
Free Plan: OneSignal offers a generous free plan with unlimited push notifications and basic chat features. Paid plans add advanced features and higher limits.
Live Chat Features
Chat Widget
The chat widget appears on your website, allowing customers to:- Start conversations instantly
- Get real-time responses
- Attach files and screenshots
- View chat history
- Rate support interactions
Admin Features
From OneSignal dashboard, you can:- Respond to Chats: Answer customer inquiries in real-time
- View History: Access past conversations
- Set Status: Online, away, or offline
- Automated Responses: Set up auto-replies for common questions
- Team Chat: Multiple agents can handle chats
- Chat Routing: Route chats to specific departments
- Analytics: Track chat volume, response times, satisfaction
Customization
Widget Appearance:- Position (bottom right, bottom left, etc.)
- Colors matching your brand
- Welcome message
- Avatar images
- Online/offline status
- Auto-open on page load
- Trigger based on time on page
- Show on specific pages only
- Hide on mobile devices
Push Notifications
How Push Notifications Work
- User Visits Site: Customer lands on your website
- Permission Prompt: Browser asks for notification permission
- User Subscribes: Customer allows notifications
- Send Notifications: You send updates via OneSignal
- User Receives: Notifications appear even when not on site
Notification Types
Automated Notifications:- Welcome message after subscription
- Order confirmations
- Payment reminders
- Website expiration warnings
- Support ticket updates
- Account notifications
- Promotional offers
- New feature announcements
- System maintenance alerts
- Special events
- Blog post notifications
Sending Push Notifications
From OneSignal Dashboard:- Go to Messages → New Push
- Enter notification title and message
- Add action URL (where users go when clicking)
- Upload notification image (optional)
- Select audience:
- All Subscribers: Everyone
- Segments: Specific user groups
- Filters: Based on behavior, location, etc.
- Schedule or send immediately
- Click Send Message
- Keep titles under 50 characters
- Messages under 120 characters
- Use action-oriented language
- Include clear call-to-action
- Add relevant images
- Don’t over-send (max 1-2 per week)
Segmentation & Targeting
User Segments
Create targeted segments based on:- Behavior: Pages visited, actions taken
- Location: Country, city, timezone
- Device: Desktop, mobile, browser type
- Subscription Date: New vs. long-time subscribers
- Custom Tags: Customer type, package, status
- Customers with expiring websites
- Users who haven’t logged in 30 days
- Premium package subscribers
- Users in specific timezone for timing
- Mobile users only
Personalization
Personalize notifications with:- User Name: “Hi John, your website expires soon”
- Custom Data: Package name, expiration date
- Dynamic Content: Based on user behavior
- Localization: Language and timezone
Configuration Examples
- Chat Only
- Push Only
- Full Integration
Use Case: Live chat without push notifications
- OneSignal App ID:
abc12345-6789-... - Safari Web ID: Not configured
- Features: Live chat enabled
- Push: Disabled
Best Practices
Live Chat Management
Live Chat Management
- Set realistic online hours and stick to them
- Use automated responses for off-hours
- Respond to chats within 1-2 minutes
- Train team on common questions
- Use canned responses for efficiency
- Monitor chat satisfaction ratings
- Follow up on unresolved chats
Push Notification Strategy
Push Notification Strategy
- Get explicit permission before sending
- Send valuable, relevant notifications only
- Limit frequency (1-2 per week max)
- Personalize with user data
- Test notification timing
- A/B test messages and images
- Monitor opt-out rates
User Experience
User Experience
- Don’t auto-open chat on every page load
- Make chat widget easy to close
- Use subtle notification prompts
- Respect user’s notification preferences
- Provide easy opt-out options
- Test on mobile devices
- Ensure fast loading times
Privacy & Compliance
Privacy & Compliance
- Add OneSignal to privacy policy
- Comply with GDPR and regional laws
- Get explicit consent for notifications
- Provide clear opt-out mechanisms
- Don’t share user data
- Secure chat conversations
- Review data processing terms
Troubleshooting
Chat Widget Not Showing
Chat Widget Not Showing
Issue: Live chat widget doesn’t appearSolutions:
- Verify OneSignal App ID is correct
- Check chat is enabled in OneSignal dashboard
- Clear browser and server cache
- Check browser console for JavaScript errors
- Verify OneSignal script is loading
- Test in incognito mode
- Check widget isn’t hidden by CSS
Push Notifications Not Working
Push Notifications Not Working
Issue: Push notifications not being receivedSolutions:
- Verify user has granted notification permission
- Check OneSignal App ID and Safari Web ID
- Ensure HTTPS is enabled (required for push)
- Test with OneSignal’s test notification
- Check browser supports push notifications
- Verify user is subscribed in OneSignal dashboard
- Check notification isn’t blocked by browser
Permission Prompt Not Appearing
Permission Prompt Not Appearing
Issue: Browser doesn’t ask for notification permissionSolutions:
- Ensure site is using HTTPS (required)
- Check user hasn’t previously denied permission
- Verify OneSignal SDK is loaded correctly
- Test in different browser
- Check browser supports push notifications
- Review browser console for errors
- Try resetting browser permissions
Chat Messages Not Sending
Chat Messages Not Sending
Issue: Chat messages fail to sendSolutions:
- Check internet connection
- Verify OneSignal service is online
- Clear browser cache and cookies
- Test in different browser
- Check firewall isn’t blocking OneSignal
- Review OneSignal dashboard for issues
- Contact OneSignal support
Testing Your Integration
Live Chat Testing:- OneSignal App ID configured
- Chat widget appears on website
- Can open and close chat widget
- Can send test message
- Message appears in OneSignal dashboard
- Can reply from dashboard
- Reply appears in chat widget
- Test on mobile devices
- Verify offline message handling
- OneSignal App ID and Safari Web ID configured
- HTTPS enabled on website
- Permission prompt appears
- Can subscribe to notifications
- Send test notification from OneSignal
- Notification received in browser
- Clicking notification opens correct URL
- Test on different browsers
- Verify unsubscribe works
Analytics & Reporting
Chat Metrics
Track in OneSignal dashboard:- Chat Volume: Number of chats per day/week
- Response Time: Average time to first response
- Resolution Time: Time to resolve issues
- Satisfaction: Customer ratings
- Agent Performance: Individual agent metrics
Push Notification Metrics
Monitor notification performance:- Subscribers: Total push subscribers
- Delivery Rate: Successfully delivered
- Click-Through Rate: Users who clicked
- Conversion Rate: Actions completed
- Opt-Out Rate: Unsubscribes
Related Documentation
General Settings
Platform configuration
Email Settings
Email notifications
User Roles & Permissions
Access control
Website Configuration
Website settings