Skip to content
Donate
Join Now
Donation
NGO Association
Commitment
Benefits
Presentation
Peacebuilding
Who We Are
Contact
Blog
Menu
Join Now
Donation
NGO Association
Commitment
Benefits
Presentation
Peacebuilding
Who We Are
Contact
Blog
Email Verification
Thank you for verifying your email!
Your registration is now confirmed.
document.addEventListener('DOMContentLoaded', function() { const urlParams = new URLSearchParams(window.location.search); const leadId = urlParams.get('id'); const successMessage = 'Thank you! Your email has been successfully verified.'; const failureMessage = 'Verification failed. Please try again later.'; const errorMessage = 'An error occurred. Please try again later.'; const invalidLinkMessage = 'Invalid verification link.'; if (leadId) { fetch('https://yourSalesforceAPIurl.com/update-verification?id=' + encodeURIComponent(leadId), { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ id: leadId }) }) .then(function(response) { if (response.ok) { document.body.textContent = successMessage; } else { document.body.textContent = failureMessage; } }) .catch(function(error) { console.error('Error:', error); document.body.textContent = errorMessage; }); } else { document.body.textContent = invalidLinkMessage; } });