חיבור אתרים שנבנו במערכת WEBYDO

  1. Go to integration page.
  2. Copy Pixel integration מהגלגל שיניים של כל נכס לבחור בסוג התממשקות הזה
  3. Open page with form you want to send to the fix
  4. Right click to the submit button of the form you want to integrate and choose inspect element
  5. Copy id of the button (“mainShape82” for example) and onclick attribute of the button (mainForm81_submit())
  6. Login to the dashboard https://dashboard.webydo.com/sitelist.aspx
  7. Click edit site(yellow button) for the required site
  8. Click Pages in the top menu
  9. Click ‘Add code button’
  10. Switch to the ‘Add code to the all pages’
  11. Insert pixel integration script to the head code block
  12. Create the additional script for the form you get from the previous steps:

 

<script> document.addEventListener("DOMContentLoaded",function(){
document.getElementById("mainShape82").addEventListener("click", function() {
var formData = new FormData();
var inputs = document.getElementById('mainForm81').querySelectorAll("input");
inputs.forEach(function(i) {
formData.append(i.id, i.value);
});
if (mainForm81_Validate()) {
fixdigital.sendLead(formData)
}
})});</script>

 

Replace form id, button id and validate Script id to appropriate identifiers from step 5

  1. Add new script after integration script.
  2. Publish the changes.
  3. Send the test lead.
  4. Set up fields on fixdigital integration page.

לצפיה במסך הדרכה