By default signing requests are displayed on Taktikal's domain. Example: https://app.taktikal.com/s/spa96741c3b1e34b8ebfb83f0653d7079c/si57c0f31c893048b7881b0421c4498f6b
Taktikal offers the option to use a custom domain when sending signing requests. Example: https://signature.mycompany.com?s=spa96741c3b1e34b8ebfb83f0653d7079c/si57c0f31c893048b7881b0421c4498f6b
This feature is only available to customers with a business plan.
How?
To use this feature, you need to set up a custom HTML snippet on a subdomain you control. This snippet will iframe Taktikal's signature page in full-page view.
After setting up the HTML code on a subdomain, contact support (help@taktikal.com) to update the signature URL from Taktikal to your domain.
HTML code
<!DOCTYPE html>
<html lang="is">
<head>
<title>Undirritun</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<style>
#iframe-container {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
overflow: hidden;
}
#iframe-container iframe {
height: 100vh;
width: 100vw;
}
#iframe-container .error {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
font-family: sans-serif;
font-size: 1.1rem;
color: #333;
}
</style>
</head>
<body>
<div id="iframe-container"></div>
<script>
(function() {
var query = window.location.search.substr(1).split("&").reduce(function(obj, str) {
var parts = str.split("=").map(function (str) {
return str.trim();
});
obj[parts[0]] = parts[1];
return obj;
}, {});
function isValidSParam(s) {
return typeof s === "string" &&
/^(?:sp|pg)[0-9a-f]{32}\/(?:si|gs)[0-9a-f]{32}(?:\/[aes])?$/.test(s);
}
var container = document.getElementById("iframe-container");
if (!isValidSParam(query.s)) {
var error = document.createElement("div");
error.className = "error";
error.textContent = "Ógild slóð.";
container.appendChild(error);
return;
}
var iframe = document.createElement("iframe");
iframe.setAttribute("title", "Undirritunarsíða");
iframe.setAttribute("src", "https://app.taktikal.is/s/" + query.s);
iframe.setAttribute("frameBorder", "0");
container.appendChild(iframe);
})();
</script>
</body>
</html>
Example URL
The default signature URL is: https://app.taktikal.com/s/spa96741c3b1e34b8ebfb83f0653d7079c/si57c0f31c893048b7881b0421c4498f6b
but it can be changed to
https://signature.mycompany.com?s=spa96741c3b1e34b8ebfb83f0653d7079c/si57c0f31c893048b7881b0421c4498f6b