Trackify is a simple and powerful tool to monitor and track user activity, such as clicks, visits, and other interactions, using tiny pixel trackers. It helps you gather insights to improve your website or app performance, much like Google Analytics, but with minimal overhead and high privacy.
- Track user interactions with minimal impact on page performance.
- Easy-to-use pixel tracking system for clicks, page views, and other user activities.
- Send tracked data to Discord webhooks for real-time monitoring.
- Data is stored locally for easy access and analysis.
- Lightweight, transparent pixel image for unobtrusive tracking.
- Python 3.x
- Flask
- Requests
-
Clone the repository:
git clone https://github.com/haydenbanz/Trackify.git cd Trackify -
Install the required dependencies:
pip install -r requirements.txt
-
Set your Discord webhook URL by replacing the placeholder in
app.py:DISCORD_WEBHOOK_URL = "https://discord.com/api/webhooks/your-webhook-url"
-
Run the Flask app:
python app.py
-
Access the app via
http://127.0.0.1:5000or your server's IP.
-
Add the tracking pixel to your website or app by including the following HTML:
<img src="http://your-server-ip:5000/pixel" alt="l" />
-
Use the JavaScript to capture and send user behavior (like clicks) to the Flask server:
<script> document.addEventListener('click', function(event) { const userBehaviorData = { eventType: 'click', element: event.target.tagName, timestamp: new Date().toISOString(), }; fetch('http://your-server-ip:5000/user_behavior', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(userBehaviorData) }) .then(response => response.json()) .then(data => console.log('User behavior sent:', data)) .catch(error => console.error('Error:', error)); }); </script>
- Ensure that your server is accessible by your frontend to collect the tracking data.
- You can customize the data collection, pixel image, and Discord notifications as per your need.
- Consider deploying your Flask app on platforms like Heroku, DigitalOcean, or AWS to make it publicly accessible.
You can download Trackify directly from the GitHub repository:
This project is licensed under the MIT License - see the LICENSE file for details.
We welcome contributions to Trackify! If you have suggestions for improvements, found a bug, or have a new feature request, feel free to contribute.
-
Fork the Repository: Click the "Fork" button at the top right of the repository page to create your own copy of the repository.
-
Clone Your Fork: Clone your forked repository to your local machine using the following command:
git clone https://github.com/your-username/Trackify.git
-
Create a New Branch: Create a new branch for your feature or bugfix:
git checkout -b feature-or-bugfix-name
-
Make Changes: Make your changes or add your new feature.
-
Commit Your Changes: Commit your changes with a clear and concise commit message:
git commit -m "Description of the changes" -
Push to Your Fork: Push your changes to your forked repository:
git push origin feature-or-bugfix-name
-
Submit a Pull Request: Go to the original repository and submit a pull request from your forked repository. Provide a detailed description of your changes in the pull request.
- Follow the existing code style.
- Write clear and concise commit messages.
- Test your changes thoroughly before submitting a pull request.
- Ensure that your changes do not introduce new bugs or break existing functionality.
- Be respectful and open to feedback during the code review process.
Thank you for contributing to Trackify!
Join our Discord server (Update Soon) for support, discussions, and updates related to Trackify.
This project is licensed under the MIT License. See the LICENSE file for more details.
Unauthorized use is strictly prohibited.
๐ง Email: cubedimension@protonmail.com
- Credits @JeffrinE
If you find this project helpful, consider buying us a coffee with cookies:
The creators of this project are not responsible for any misuse or illegal activities related to Trackify.
