17 lines
569 B
HTML
17 lines
569 B
HTML
<body>
|
|
<div class="container">
|
|
<h2>Your Tracking Pixel Link</h2>
|
|
<input type="text" id="pixelLink" value="Generated Link Here" readonly>
|
|
<button onclick="copyLink()">Copy Link</button>
|
|
</div>
|
|
|
|
<script>
|
|
function copyLink() {
|
|
var copyText = document.getElementById("pixelLink");
|
|
copyText.select();
|
|
copyText.setSelectionRange(0, 99999); /* For mobile devices */
|
|
document.execCommand("copy");
|
|
alert("Copied the link: " + copyText.value);
|
|
}
|
|
</script>
|
|
</body> |