Kostenfreies und unverbindliches Erstgespräch
Trage Dich jetzt für Dein kostenfreies und unverbindliches Erstgespräch ein
Deine Daten bleiben bei uns selbstverständlich anonym und werden nicht an Dritte weitergegeben. Uns ist es wichtig, dass Du Dich sicher und wohl bei uns fühlst.
function getAllUrlParamsCdly(url) {
// get query string from url (optional) or window
var queryString = url ? url.split('?')[1] : window.location.search.slice(1);
// we'll store the parameters here
var obj = {};
// if query string exists
if (queryString) {
// stuff after # is not part of query string, so get rid of it
queryString = queryString.split('#')[0];
// split our query string into its component parts
var arr = queryString.split('&');
for (var i = 0; i < arr.length; i++) {
// separate the keys and the values
var a = arr[i].split('=');
// set parameter name and value (use 'true' if empty)
var paramName = a[0];
var paramValue = typeof (a[1]) === 'undefined' ? true : a[1];
// (optional) keep case consistent
paramName = paramName.toLowerCase();
// if (typeof paramValue === 'string') paramValue = paramValue.toLowerCase();
// if the paramName ends with square brackets, e.g. colors[] or colors[2]
if (paramName.match(/\[(\d+)?\]$/)) {
// create key if it doesn't exist
var key = paramName.replace(/\[(\d+)?\]/, '');
if (!obj[key]) obj[key] = [];
// if it's an indexed array e.g. colors[2]
if (paramName.match(/\[\d+\]$/)) {
// get the index value and add the entry at the appropriate position
var index = /\[(\d+)\]/.exec(paramName)[1];
obj[key][index] = paramValue;
} else {
// otherwise add the value to the end of the array
obj[key].push(paramValue);
}
} else {
// we're dealing with a string
if (!obj[paramName]) {
// if it doesn't exist, create property
obj[paramName] = decodeURI(paramValue);
} else if (obj[paramName] && typeof obj[paramName] === 'string'){
// if property does exist and it's a string, convert it to an array
obj[paramName] = [obj[paramName]];
obj[paramName].push(decodeURI(paramValue));
} else {
// otherwise add the property
obj[paramName].push(paramValue);
}
}
}
}
return obj;
}
var paramscdly = getAllUrlParamsCdly(window.location.href);
var cdlyUrl = "https://calendly.com/stephthiele/erstgesprach?hide_gdpr_banner=1&text_color=333333&primary_color=a7614f";
Calendly.initInlineWidget({
url: cdlyUrl,
parentElement: document.getElementById('fk-calendly'),
prefill: {
name: paramscdly.fname,
email: paramscdly.email,
}
});
Disclaimer Heilversprechen
Bei den aufgeführten Methoden liegt kein Heilversprechen zugrunde. Ebenso wenig kann abgeleitet werden, dass Linderung oder Verbesserung eines Krankheitszustandes garantiert oder versprochen werden kann.
© 2026 Dr. Stefanie Thiele
This site is not a part of the Meta website or Meta Platforms Inc. Additionally, This site is NOT endorsed by Meta in any way. META is a trademark of META PLATFORMS, Inc.
