: buttonTernaryColor, icon: buttonIcon, text: buttonText, position: buttonHorizontalPosition, verticalPosition: buttonVerticalPosition, shopId: externalIdentifier, shop: shopDomain, shopDomain: shopDomain, ...(customerId && {customerId}), ...(customerEmail && {customerEmail}), ...(customerFirstName && {customerFirstName}), ...(customerLastName && {customerLastName}), ...(customerAcceptsMarketing && {customerAcceptsMarketing}), ...(customerLogoutUrl && {customerLogoutUrl}), }); chatButton.parentNode.appendChild(script); })(); Ә