Sorry, we don't support your browser.  Install a modern browser

Option to prefill Booking Form via url Parameters for use in Email Marketing#880

I want to send an email with a link to the booking form.
The fields for name, email … should be prefilled, when the user clicks in the email.

So I am asking for the option to pass the values for the fields via url parameters to the booking form.

e.G. https://bookingsite.com/form?parameter=value&parameter2=value2

4 years ago
1

I almost feel like this can’t be true that this feature doesn’t exist. Outside of this, this is a premium plugin. But to cut off all people who want to drive cold traffic ads to book is crazy to me. Getting a form filled out gets a quick low level of committment. Then to redirect to Amelia with the name and email all filled in so that the user just needs to grab a time is such a widely used tactic. Can we get notified if this is on your roadmap?

4 years ago
1

exactly. this is so important. Please have this in your roadmap.

4 years ago

Would be really nice to have this funciontality

3 years ago

Are there any plans to integrate this?

3 years ago

Its really important to us to have this feature. Is there any plan to this? We are currently limited by adding duplicate name, email, and phone number during the registration process.

Our process is to get leads from a form and if they select to book an appointment, we would like to send them to Amelia appointment page with pre-selected fields so the customer doesnt have to enter them again.

3 years ago

Now that the REST API is out, I can honestly say this is the only “must have” feature that every solid booking software provides. I am not sure if the team at TMS is funnel marketing focused is the only reason I can think why they wouldn’t have developed this.

Great plugin other than that though!

3 years ago
?

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.inputmask/5.0.8/inputmask.js"></script>
<script>
// Fonction pour obtenir la valeur d’un paramètre spécifique dans l’URL
function getQueryParam(param) var searchParams = new URLSearchParams(window.location.search);
return searchParams.get(param);
}

function triggerInputEvents(element) [‘input’, ‘change’, ‘blur’].forEach(eventType => var event = new Event(eventType, { bubbles: true });
element.dispatchEvent(event);
});
}

// Fonction pour remplir le formulaire
function fillForm() var email = getQueryParam(‘email’);
var nom = getQueryParam(‘firstName’);
var nomdefamille = getQueryParam(‘lastName’);
var telephone = getQueryParam(‘phone’);
var entreprise = getQueryParam(‘entreprise’);
var meetingType = getQueryParam(‘meeting’);

var emailInput = document.querySelector(‘input[name=”email”]’);
var nomInput = document.querySelector(‘input[name=”firstName”]’);
var nomdefamilleInput = document.querySelector(‘input[name=”lastName”]’);
var telephoneInput = document.querySelector(‘label[for=”cf16”] + div input’);
var entrepriseInput = document.querySelector(‘label[for=”cf8”] + div input’);
var meetingTypeInput = document.querySelector(‘label[for=”cf17”] + div input’);

if (email && emailInput) emailInput.value = email;
triggerInputEvents(emailInput);
}
if (nom && nomInput) nomInput.value = nom;
triggerInputEvents(nomInput);
}
if (nomdefamille && nomdefamilleInput) nomdefamilleInput.value = nomdefamille;
triggerInputEvents(nomdefamilleInput);
}
if (telephone && telephoneInput) telephoneInput.value = telephone;
triggerInputEvents(telephoneInput);
}
if (entreprise && entrepriseInput) entrepriseInput.value = entreprise;
triggerInputEvents(entrepriseInput);
}
}

// Observer pour surveiller l’apparition du div spécifique
var divObserver = new MutationObserver(function(mutations, obs) mutations.forEach(function(mutation) mutation.addedNodes.forEach(function(node) if (node.nodeType === 1 && node.matches(‘div.am-fs__info.am-fs__main-content’)) { // Vérifie si le nœud ajouté est le div recherché
fillForm();
}
});
});
});

// Configuration de l’observer pour surveiller l’ajout de nouveaux enfants
divObserver.observe(document.body, childList: true,
subtree: true
});
</script>

2 years ago
1
?

Worked like a charm, thanks!

2 years ago
D

The script no longer seems to be working. Is there still no solution for sending parameters in the URL?

6 months ago
L
Merged Prefill Customer/Service Fields#2200
3 months ago
L
Merged Prefill fields#525
3 months ago
L
Merged Optionally pre-populated fields#2089
3 months ago