Shahi LegalFlowSuite

Consent Tracking & Audit Logs

Overview

Consent Tracking provides comprehensive audit trails and metadata collection for all user consent actions, ensuring compliance with privacy regulations and enabling detailed analytics.

Audit Log Features

Complete Action Tracking

Every Consent Action Recorded:

    1. Banner display events
    2. User consent decisions
    3. Consent withdrawals
    4. Preference updates
    5. Cookie category changes
    6. Metadata Captured:

    7. Timestamp (UTC)
    8. User IP address (anonymized)
    9. Geo location data
    10. Browser and device info
    11. Consent version
    12. Template variant used
    13. Database Storage

      Local Storage Only:

    14. No external data transmission
    15. Encrypted database storage
    16. GDPR-compliant retention
    17. Secure access controls
    18. Data Structure:

    19. User identifier (hashed)
    20. Consent timestamp
    21. Decision details
    22. Context information
    23. Audit trail
    24. Consent Metadata

      User Context

      Geographic Data:

    25. Country and region
    26. Time zone
    27. Language preference
    28. Regional regulations
    29. Technical Context:

    30. Browser type and version
    31. Operating system
    32. Device type (desktop/mobile/tablet)
    33. Screen resolution
    34. User agent string
    35. Consent Context

      Banner Information:

    36. Template used (GDPR, CCPA, etc.)
    37. A/B test variant
    38. Display position
    39. Customization settings
    40. Decision Details:

    41. Consent categories accepted
    42. Rejection reasons (if applicable)
    43. Customization choices
    44. Withdrawal timestamps
    45. Version Tracking

      Policy Versioning

      Version Management:

    46. Track policy changes
    47. Consent validity periods
    48. Version-specific consents
    49. Migration handling
    50. Version Metadata:

    51. Policy effective date
    52. Version number
    53. Change summary
    54. Legal review status
    55. Consent Validity

      Expiration Handling:

    56. Configurable validity periods
    57. Automatic re-consent prompts
    58. Policy change notifications
    59. Consent renewal workflows
    60. Withdrawal & Updates

      Consent Withdrawal

      Easy Withdrawal Mechanisms:

    61. Footer links
    62. Privacy dashboard
    63. Email preferences
    64. One-click withdrawal
    65. Withdrawal Tracking:

    66. Withdrawal timestamp
    67. Reason recording
    68. Partial vs complete withdrawal
    69. Cookie cleanup actions
    70. Preference Updates

      Granular Control:

    71. Category-specific changes
    72. Partial consent updates
    73. Preference history
    74. Change notifications
    75. Analytics Integration

      Event Tracking

      Consent Events:

    76. Banner displayed
    77. Consent given
    78. Consent withdrawn
    79. Preferences updated
    80. Time to decision
    81. Custom Events:

    82. Hook-based event firing
    83. Custom event parameters
    84. Third-party integration
    85. Analytics platform support
    86. Performance Metrics

      Consent Analytics:

    87. Acceptance rates by category
    88. Withdrawal rates
    89. Time-to-consent metrics
    90. A/B test performance
    91. Regional variations
    92. Reporting & Compliance

      Audit Reports

      Compliance Reports:

    93. Consent records by date range
    94. User consent summaries
    95. Withdrawal statistics
    96. Regional compliance data
    97. Export Formats:

    98. PDF compliance reports
    99. CSV data exports
    100. JSON API access
    101. XML for integrations
    102. Data Subject Rights

      DSR Portal Integration:

    103. Consent history access
    104. Data export capabilities
    105. Consent withdrawal
    106. Audit trail provision
    107. Privacy Rights:

    108. Right to access consent data
    109. Right to rectify consent records
    110. Right to erase consent history
    111. Right to data portability
    112. Data Retention

      Retention Policies

      Configurable Retention:

    113. Consent data retention period
    114. Audit log retention
    115. Anonymization schedules
    116. Automatic cleanup
    117. Legal Requirements:

    118. GDPR minimum retention
    119. CCPA data minimization
    120. LGPD storage limits
    121. Industry best practices
    122. Data Minimization

      Anonymization:

    123. IP address masking
    124. Personal data removal
    125. Aggregation for analytics
    126. Pseudonymization options
    127. Security Features

      Data Protection

      Encryption:

    128. Database-level encryption
    129. Secure API endpoints
    130. HTTPS-only access
    131. Input validation
    132. Access Controls:

    133. Role-based permissions
    134. Admin-only access
    135. Audit logging
    136. Suspicious activity detection
    137. Privacy by Design

      Data Minimization:

    138. Only necessary data collected
    139. Purpose limitation
    140. Storage limitation
    141. Security measures
    142. User Control:

    143. Transparent data practices
    144. Easy access to data
    145. Simple deletion options
    146. Consent management
    147. Performance Optimization

      Database Optimization

      Efficient Storage:

    148. Indexed database tables
    149. Optimized queries
    150. Background processing
    151. Caching strategies
    152. Scalability:

    153. Large dataset handling
    154. Query performance
    155. Backup strategies
    156. Archive management
    157. Real-time Processing

      Event Handling:

    158. Asynchronous processing
    159. Queue-based systems
    160. Background workers
    161. Error handling
    162. Integration Capabilities

      WordPress Integration

      User Profile Linking:

    163. WordPress user association
    164. Profile data integration
    165. Comment consent tracking
    166. User preference storage
    167. Plugin Compatibility:

    168. WooCommerce integration
    169. Membership plugin support
    170. Form plugin consent
    171. E-commerce tracking
    172. External Systems

      CRM Integration:

    173. Consent data export
    174. User preference sync
    175. Marketing automation
    176. Customer data platforms
    177. Analytics Platforms:

    178. Google Analytics 4
    179. Mixpanel integration
    180. Segment compatibility
    181. Custom analytics
    182. API Access

      REST API Endpoints

      Consent Data:
      `
      GET /wp-json/slos/v1/consent/history
      GET /wp-json/slos/v1/consent/{user_id}
      POST /wp-json/slos/v1/consent/withdraw
      `

      Audit Logs:
      `
      GET /wp-json/slos/v1/audit/logs
      GET /wp-json/slos/v1/audit/events
      POST /wp-json/slos/v1/audit/export
      `

      Webhook Support

      Real-time Events:

    183. Consent given
    184. Consent withdrawn
    185. Preferences updated
    186. Audit events
    187. Integration Examples:

    188. Slack notifications
    189. Email alerts
    190. External CRM updates
    191. Compliance monitoring
    192. Troubleshooting

      Data Not Recording

      Common Issues:

    193. Database connection problems
    194. JavaScript errors
    195. Permission issues
    196. Server configuration
    197. Solutions:

    198. Check database tables
    199. Verify JavaScript loading
    200. Review server logs
    201. Test API endpoints
    202. Performance Issues

      Slow Queries:

    203. Database optimization
    204. Index creation
    205. Query refactoring
    206. Caching implementation
    207. High Storage Usage:

    208. Retention policy review
    209. Data cleanup
    210. Archive strategies
    211. Storage optimization
    212. Integration Problems

      Event Not Firing:

    213. Hook priority issues
    214. JavaScript loading order
    215. Event listener conflicts
    216. Browser compatibility
    217. Data Not Syncing:

    218. API authentication
    219. Network connectivity
    220. Data format issues
    221. Rate limiting
    222. Best Practices

      Data Management

    223. Regular Audits: Monthly compliance reviews
    224. Clean Retention: Implement data minimization
    225. Secure Storage: Encrypted database storage
    226. Access Controls: Role-based permissions
    227. Performance

    228. Optimize Queries: Efficient database access
    229. Background Processing: Non-blocking operations
    230. Caching: Result and metadata caching
    231. Monitoring: Performance tracking
    232. Compliance

    233. Transparent Practices: Clear privacy notices
    234. User Rights: Easy access and control
    235. Audit Trails: Complete action logging
    236. Regular Reviews: Policy and process updates
    237. Legal Considerations

      GDPR Compliance

      Article 7 Requirements:

    238. Freely given consent
    239. Specific and informed
    240. Unambiguous indication
    241. Withdrawal rights
    242. Record Keeping:

    243. Consent records
    244. Withdrawal tracking
    245. Version management
    246. Audit trails
    247. CCPA Compliance

      Consumer Rights:

    248. Right to know
    249. Right to delete
    250. Right to opt-out
    251. Non-discrimination
    252. Data Practices:

    253. Notice at collection
    254. Opt-out mechanisms
    255. Data minimization
    256. Security safeguards
    257. Related Documentation

    258. Consent Management Overview
    259. Cookie Banner Templates
    260. Cookie Scanner
    261. Analytics Integration
    262. Configuration Guide

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