Sales Income Goal Tracker
About this app
An engaging and interactive app that helps salespersons establish and track their income goals and targets efficiently.
Sales Income Goal Tracker Sales Income Goal Tracker Enter Policies Sold: Add Policies Sold
Related apps
Put this on your site
Source
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Sales Income Goal Tracker</title>
<meta name="description" content="An engaging and interactive app that helps salespersons establish and track their income goals based on the average commission per policy sold.">
<meta name="keywords" content="sales, income, goals, targets, tracker, productivity, app, commission, policy">
<!-- Libraries -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.6.0/css/fontawesome.min.css" crossorigin="anonymous">
<script type="text/javascript">
try {
document.addEventListener("DOMContentLoaded", function() {
const goalForm = document.getElementById("goalForm");
const resultContainer = document.getElementById("resultContainer");
const policyCommission = 180.00;
const salesData = [];
function updateResults() {
const totalPolicies = salesData.reduce((acc, curr) => acc + curr, 0);
const totalIncome = totalPolicies * policyCommission;
resultContainer.innerHTML = `<h4>Your Total Income from Sold Policies: $${totalIncome.toFixed(2)}</h4>`;
const dailyGoal = totalIncome / 30;
const weeklyGoal = totalIncome / 4;
resultContainer.innerHTML += `<p>Your Daily Income Target: $${dailyGoal.toFixed(2)}</p>`;
resultContainer.innerHTML += `<p>Your Weekly Income Target: $${weeklyGoal.toFixed(2)}</p>`;
}
goalForm.addEventListener("submit", function(event) {
event.preventDefault();
const policiesSold = parseFloat(document.getElementById("policiesSold").value);
if (!isNaN(policiesSold)) {
salesData.push(policiesSold);
document.getElementById("policiesSold").value = '';
updateResults();
}
});
});
} catch (error) {
throw error;
}
</script>
<style>
body {
background: linear-gradient(135deg, #5e3e80, #88c8d8);
color: white;
}
#main-container {
margin-top: 50px;
padding: 20px;
border-radius: 10px;
background-color: rgba(0, 0, 0, 0.5);
box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}
input {
margin-top: 10px;
padding: 10px;
}
button {
margin-top: 10px;
}
h1 {
text-align: center;
font-family: 'Arial', sans-serif;
color: #ffe600;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<h1>Sales Income Goal Tracker</h1>
<form id="goalForm" class="mb-4">
<div class="mb-3">
<label for="policiesSold" class="form-label">Enter Policies Sold:</label>
<input type="number" id="policiesSold" class="form-control" placeholder="e.g., 10" required />
</div>
<button type="submit" class="btn btn-warning">Add Policies Sold</button>
</form>
<div id="resultContainer"></div>
</div>
</body>
</html>
NEW APPS
These are apps made by the community!