The persistent CTA “Preferences” does not comply with the new law from 9/2025 from the CPPA

Description

The persistent CTA “Preferences” does not comply with the new law from 9/2025 from the CPPA. Immediately after they press “Accept” or “Reject”, there needs to be another message that says we got the request. Revised and New CCPA Regulations Set to Take Effect on Jan. 1, 2026 – Summary of Near-Term Action Items | Insights | Greenberg Traurig LLP

Site URL

Required: Please provide a staging/production URL where we can see the issue

Steps to Reproduce

Expected Behavior

  1. After a user clicks “Accept,” “Reject,” or opts out, you need:
    • A visible confirmation message

Actual Behavior

Only the Preference CTA appears

Video/Screenshots

Required: Please provide a short screen recording showing the issue

  • Video link:
  • Screenshots (if applicable):

Additional Context

  • Browser: [e.g., Chrome 120, Safari 17]
  • Device: [e.g., Desktop, iPhone 14]

NDA Notice: If you’re under an NDA, please feel free to send us a Direct Message/Email with the above information.

Hey @amyhynes :flexed_biceps:

For the specific regulatory requirements you mentioned from the CPPA, we’d recommend consulting with a legal professional to ensure full compliance with those new regulations — we can’t provide legal advice on what’s required, but we can definitely help you with the technical implementation side.

Consent Pro doesn’t currently have a built-in confirmation message feature. However, we can achieve this with some custom JavaScript using Consent Pro’s event API.

The Approach

Consent Pro fires an event called consent-updated whenever a user accepts, rejects, or modifies their consent preferences. We can listen for this event and show a confirmation message when it triggers.

Implementation Steps

  1. Add a confirmation message element in Webflow

Create a hidden div in your Webflow Designer with your confirmation text. Give it a class name like consent-confirmation and set its initial display to none.

Example structure:

<div class="consent-confirmation" style="display: none;">
  <div class="consent-confirmation-content">
    Thank you! Your preferences have been saved.
  </div>
</div>
  1. Add this JavaScript to your site

Place this in your page’s custom code section or in an embed:

<script>
window.FinsweetConsentPro = window.FinsweetConsentPro || [];
window.FinsweetConsentPro.push([
  'consent',
  (FinsweetConsentPro) => {
    let confirmationShown = false;
    
    FinsweetConsentPro.on('consent-updated', (detail) => {
      // Prevent showing multiple times
      if (confirmationShown) return;
      confirmationShown = true;
      
      // Show the confirmation message
      const confirmationEl = document.querySelector('.consent-confirmation');
      if (confirmationEl) {
        confirmationEl.style.display = 'block';
        
        // Auto-hide after 3 seconds
        setTimeout(() => {
          confirmationEl.style.display = 'none';
          // Reset flag for future preference changes
          confirmationShown = false;
        }, 3000);
      }
    });
  }
]);
</script>
  1. Style your confirmation message

Use Webflow’s Designer to style the consent-confirmation class however you’d like — position it as a toast notification, modal overlay, or wherever makes sense for your design and compliance requirements.

Important Notes

This is a custom implementation using the Consent Pro API, not a built-in feature. The code above includes a flag to prevent the message from showing multiple times on the same page load. You can adjust the timeout (currently 3000ms = 3 seconds) to fit your needs.

If you run into any issues implementing this or need help adjusting it for your specific requirements, feel free to share your staging link and we can help debug!

Hey @amyhynes! I just wanted to add that we have added this to our development pipeline, and we should have native support soon!

If you need any help with the implementation please let me know!