Shahi LegalFlowSuite

Troubleshoot Cookie Banner Issues

Common Cookie Banner Problems & Solutions

Banner Not Displaying

Problem: Cookie banner doesn’t appear on website

Symptoms:

    1. Banner completely missing from all pages
    2. No consent prompt shown to visitors
    3. Console errors related to banner scripts
    4. Solutions:

    5. Check Module Status
    6. `
      SLOS → Settings → Modules
      `
      Ensure “Consent Management” is enabled

    7. Verify Banner Configuration
    8. `
      SLOS → Consent Management → Banner Settings
      `
      – Check if banner is set to “Enabled”
      – Verify display conditions are met
      – Confirm banner position is set

    9. Check Theme Conflicts
    10. – Disable other consent plugins temporarily
      – Switch to default WordPress theme
      – Check for JavaScript errors in browser console

    11. Clear Caches
    12. – Clear WordPress cache (if using caching plugin)
      – Clear browser cache and cookies
      – Hard refresh the page (Ctrl+F5)

      Problem: Banner displays but doesn’t work properly

      Symptoms:

    13. Banner appears but buttons don’t respond
    14. Consent choices aren’t saved
    15. Banner reappears on every page load
    16. Solutions:

    17. Check JavaScript Errors
    18. Open browser developer tools (F12) and check Console tab for errors

    19. Verify Cookie Settings
    20. `
      SLOS → Consent Management → Cookie Settings
      `
      – Ensure cookies are properly configured
      – Check cookie expiration settings
      – Verify cookie domain settings

    21. Test Consent Storage
    22. – Accept cookies and check if they’re stored
      – Use browser dev tools → Application → Cookies
      – Look for slosconsent* cookies

      Consent Not Being Saved

      Problem: User consent choices aren’t remembered

      Symptoms:

    23. Banner reappears on every visit
    24. Consent preferences reset
    25. Cookies blocked despite consent
    26. Solutions:

    27. Check Cookie Domain
    28. `
      SLOS → Consent Management → Advanced Settings
      `
      – Ensure cookie domain matches your site
      – For subdomains, use .domain.com
      – Check for www vs non-www issues

    29. Verify SSL Configuration
    30. – Consent cookies require HTTPS in most browsers
      – Check SSL certificate validity
      – Ensure site loads over HTTPS

    31. Browser Privacy Settings
    32. – Some browsers block third-party cookies
      – Check browser privacy settings
      – Test in incognito/private mode

    33. Cookie Expiration
    34. – Check cookie lifetime settings
      – Default is usually 1 year
      – Adjust based on your needs

      Banner Styling Issues

      Problem: Banner looks wrong or overlaps content

      Symptoms:

    35. Banner covers important content
    36. Styling conflicts with theme
    37. Banner appears in wrong position
    38. Colors don’t match site design
    39. Solutions:

    40. Adjust Banner Position
    41. `
      SLOS → Consent Management → Banner Design
      `
      – Try different positions: top, bottom, corner
      – Adjust z-index if overlapping
      – Test on mobile devices

    42. Custom CSS Fixes
    43. `css
      / Add to theme custom CSS /
      .slos-consent-banner {
      z-index: 999999 !important;
      }

      .slos-consent-banner .banner-content {
      max-width: 1200px;
      margin: 0 auto;
      }
      `

    44. Theme Integration
    45. – Use theme hooks to position banner
      – Check for theme-specific CSS conflicts
      – Test with different themes

      Geo-Targeting Problems

      Problem: Wrong banner shown for location

      Symptoms:

    46. Wrong language or regulations shown
    47. Banner not appearing in certain countries
    48. Incorrect geo-detection
    49. Solutions:

    50. Check Geo-Detection
    51. `
      SLOS → Consent Management → Geo-Targeting
      `
      – Verify IP geolocation service is working
      – Check API key if using paid service
      – Test with different IP addresses

    52. Update Geo-Rules
    53. – Review country-specific rules
      – Check for EU/EEA country list updates
      – Verify regional compliance settings

    54. Fallback Settings
    55. – Configure default banner for unknown locations
      – Set global fallback rules
      – Test with VPN or proxy

      Mobile Display Issues

      Problem: Banner doesn’t work properly on mobile

      Symptoms:

    56. Banner too small on mobile
    57. Buttons hard to tap
    58. Banner covers mobile navigation
    59. Text not readable on small screens
    60. Solutions:

    61. Mobile Optimization
    62. `
      SLOS → Consent Management → Banner Design
      `
      – Enable mobile-specific settings
      – Adjust banner size for mobile
      – Test touch targets (minimum 44px)

    63. Responsive Design
    64. – Check banner responsiveness
      – Test on various screen sizes
      – Verify mobile browser compatibility

    65. Mobile-Specific CSS
    66. `css
      @media (max-width: 768px) {
      .slos-consent-banner {
      position: fixed !important;
      bottom: 0 !important;
      width: 100% !important;
      }
      }
      `

      Integration Conflicts

      Problem: Banner conflicts with other plugins

      Symptoms:

    67. Multiple consent banners appearing
    68. JavaScript errors from conflicts
    69. Features not working together
    70. Performance issues
    71. Solutions:

    72. Plugin Conflict Resolution
    73. – Temporarily disable other consent plugins
      – Check plugin compatibility lists
      – Update all plugins to latest versions
      – Use plugin conflict detection tools

    74. JavaScript Conflicts
    75. – Check for duplicate jQuery loading
      – Resolve script loading order issues
      – Use script defer/async attributes
      – Minify and combine scripts

    76. Theme Conflicts
    77. – Test with default WordPress theme
      – Check theme JavaScript conflicts
      – Use child theme for customizations
      – Contact theme developer for compatibility

      Performance Issues

      Problem: Banner slows down website

      Symptoms:

    78. Slow page loading times
    79. High CPU usage
    80. Large JavaScript bundle size
    81. Poor Core Web Vitals scores
    82. Solutions:

    83. Optimize Loading
    84. `
      SLOS → Consent Management → Performance
      `
      – Enable lazy loading
      – Use CDN for assets
      – Minify CSS and JavaScript
      – Enable browser caching

    85. Reduce Bundle Size
    86. – Disable unused features
      – Use tree shaking for JavaScript
      – Optimize images and assets
      – Enable compression

    87. Caching Strategies
    88. – Implement proper caching headers
      – Use service worker for caching
      – Enable browser caching
      – Use CDN for global delivery

      Cookie Scanner Issues

      Problem: Cookie scanner not finding cookies

      Symptoms:

    89. Empty cookie inventory
    90. Missing third-party cookies
    91. Scanner not detecting dynamic cookies
    92. Solutions:

    93. Scanner Configuration
    94. `
      SLOS → Consent Management → Cookie Scanner
      `
      – Enable all scanner options
      – Configure scan frequency
      – Set up automated scanning
      – Check scanner permissions

    95. Manual Cookie Detection
    96. – Use browser dev tools to inspect cookies
      – Check network tab for cookie setting
      – Manually add undetected cookies
      – Update cookie database

    97. Dynamic Content Scanning
    98. – Enable JavaScript execution during scans
      – Configure user interaction simulation
      – Set up authenticated scanning
      – Use headless browser scanning

      Analytics Integration Problems

      Problem: Consent events not tracking properly

      Symptoms:

    99. Missing consent events in analytics
    100. Incorrect consent status tracking
    101. Analytics platform connection issues
    102. Solutions:

    103. Platform Connection
    104. `
      SLOS → Analytics Integration → Platform Settings
      `
      – Verify API keys and credentials
      – Check platform connectivity
      – Test authentication
      – Review error logs

    105. Event Configuration
    106. – Verify event mapping
      – Check consent status passing
      – Test event firing
      – Validate event parameters

    107. Debug Analytics
    108. – Use platform debug tools
      – Check browser developer console
      – Verify event queue
      – Test with different scenarios

      Legal Compliance Issues

      Problem: Banner not meeting legal requirements

      Symptoms:

    109. Non-compliant with GDPR/CCPA
    110. Missing required information
    111. Incorrect consent mechanisms
    112. Solutions:

    113. Compliance Check
    114. `
      SLOS → Consent Management → Compliance
      `
      – Run compliance audit
      – Check regulation requirements
      – Update banner content
      – Verify consent mechanisms

    115. Legal Review
    116. – Consult with legal counsel
      – Update privacy policies
      – Review consent wording
      – Document compliance decisions

    117. Regulation Updates
    118. – Stay updated on regulation changes
      – Update banner for new requirements
      – Review geo-targeting rules
      – Monitor compliance deadlines

      Advanced Troubleshooting

      Debug Mode

      Enable Debug Logging

      `php
      // Add to wp-config.php
      define(‘WP_DEBUG’, true);
      define(‘WPDEBUGLOG’, true);
      define(‘SLOS_DEBUG’, true);
      `

      Check Debug Logs

      `
      wp-content/debug.log
      `

      System Diagnostics

      Run Diagnostics

      `
      SLOS → Settings → Diagnostics
      `

    119. Check system requirements
    120. Verify file permissions
    121. Test database connections
    122. Review configuration settings
    123. Support Resources

      Get Help

    124. Check this troubleshooting guide
    125. Review error logs
    126. Test in staging environment
    127. Contact support with diagnostic information
    128. Diagnostic Information

    129. WordPress version
    130. PHP version
    131. Plugin version
    132. Browser console errors
    133. Server error logs
    134. Configuration export
    135. Prevention Tips

      Regular Maintenance

    136. Update plugin regularly
    137. Monitor error logs
    138. Test banner functionality
    139. Review compliance status
    140. Best Practices

    141. Use staging environment for testing
    142. Document customizations
    143. Keep backups of configurations
    144. Monitor performance metrics
    145. Proactive Monitoring

    146. Set up uptime monitoring
    147. Monitor consent rates
    148. Track error rates
    149. Review analytics data

Share this article

Was this article helpful?

Help us improve our documentation

Still need help?

Our support team is ready to assist you with personalized guidance for your workspace.

Submit a support ticket