Say you have just come up with a great new product idea, and you're seriously considering turning it into a real product. Or maybe you have been working on a product for a while and are almost ready to launch it.
Usually, for both of these cases, developers create a prelaunch landing page before launching the product and set up a waitlist to collect user emails and monitor the demand for the product.
The prelaunch landing page is a great way to get your product idea out to the world and to get people interested in your product or idea. It also allows you to gather user feedback and get their input into your product.
Palzin Track makes it easy to set up and track a prelaunch waitlist for your product or idea using Javascript. It is a simple event tracking tool that allows you to track, analyze and create reports from your waitlist data.
Connect Palzin Track to JavaScript
Simply use the following code snippets to send your waitlist signup events to Palzin Track. Make sure to replace the YOUR_API_TOKEN
with your API token and update the project and channel names.
Using JavaScript with Fetch
var myHeaders = new Headers();
myHeaders.append("Content-Type", "application/json");
myHeaders.append("Authorization", "Bearer YOUR_API_TOKEN");
var raw = JSON.stringify({
"project": "my-project",
"channel": "auth",
"event": "Waitlist Member Added",
"description": "email: [email protected]",
"icon": "⏰",
"notify": true
});
var requestOptions = {
method: 'POST',
headers: myHeaders,
body: raw,
redirect: 'follow'
};
fetch("https://api.palzin.live/v1/log", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));
Using JavaScript with jQuery
var settings = {
"url": "https://api.palzin.live/v1/log",
"method": "POST",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN"
},
"data": JSON.stringify({
"project": "my-project",
"channel": "auth",
"event": "Waitlist Member Added",
"description": "email: [email protected]",
"icon": "⏰",
"notify": true
}),
};
$.ajax(settings).done(function (response) {
console.log(response);
});
Using JavaScript with XHR
// WARNING: For POST requests, body is set to null by browsers.
var data = JSON.stringify({
"project": "my-project",
"channel": "auth",
"event": "Waitlist Member Added",
"description": "email: [email protected]",
"icon": "⏰",
"notify": true
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});
xhr.open("POST", "https://api.palzin.live/v1/log");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.setRequestHeader("Authorization", "Bearer YOUR_API_TOKEN");
xhr.send(data);
Palzin Track is a versatile event tracking tool that isn't limited to specific use cases. It empowers you to monitor a wide range of events, whether it's tracking prelaunch waitlist signups or beta signups for a new feature or product. It works seamlessly with JavaScript and is very easy to use.
Furthermore, Palzin Track allows you to generate charts and analytics based on your data. For instance, you have the flexibility to craft a chart illustrating the daily or monthly influx of waitlist signups for your product.
Additionally, you have the capability to establish funnels for monitoring the conversion rate from waitlist signups to paying customers, features usage in your application. Furthermore, you can generate user journeys to observe how users interact with your product once they gain access to it.
Palzin Track is accessible on both desktop and mobile platforms, offering the convenience of real-time notifications upon the addition of waitlist signups. You also have the flexibility to opt for push notifications for any other events you wish to track from your JavaScript code.
Palzin Track reveals the human stories behind your data. Make user-centric decisions that drive growth.