How to formulate data layer below which will dynamically fill e-mail and phone number when user submits avada fusion form in console on datalayer command?
<script> window.dataLayer = window.dataLayer || []; window.dataLayer.push({ 'event': 'form_completion', 'email': '[email protected]', 'phone_number': '31612345678' }); </script>
Thanks,
Data layer form completion should show dynamically filled data.