About Our Analytics Platform

Our comprehensive analytics solution provides powerful insights into your website's performance, user behavior, and feedback. Here's what you can do with our platform:

Website Management
Easily manage multiple websites with unique API keys for secure data collection.
Page View Tracking
Track page views across your website to understand user navigation patterns.
Visit Analytics
Analyze visits and their sources to optimize your marketing efforts.
Feedback Collection
Gather valuable user feedback with ratings to improve your services.
Custom Event Tracking
Define and track custom events to gain insights into specific user interactions.

Ready to unlock the power of data-driven decision making?

How to Use Feedlytic

Analytics Collection
  1. Add your website in the Feedlytic dashboard.
  2. Copy the tracking snippet provided for your website.
  3. Add the snippet to the <head> section of your HTML page:
<script defer data-domain="your-website.com"
  src="https://feedlytic.vercel.app/tracking-script.js"></script>

To track traffic sources, append ?utm=source to your URLs.

Example: https://your-website.com/?utm=facebook

Event Tracking
  1. Generate an API key in your Feedlytic dashboard.
  2. Use the following code to track events:
const apiURL = "https://feedlytic.vercel.app/api/events";
const headers = {
  "Content-Type": "application/json",
  Authorization: "Bearer {apiKey}",
};
const eventData = {
  eventName: "",    // required
  domain: "",  // required
  eventDescription: "", // optional
};

// using axios
const sendRequest = async () => {
  axios
    .post(apiURL, eventData, { headers })
    .then()
    .catch((error) => {
      console.error("Error:", error);
    });
};

// using fetch
const response = await fetch(apiURL, {
      method: "POST",
      headers: {
        "Content-Type": "application/json",
        Authorization: "Bearer {apiKEY}",
      body: JSON.stringify(eventData), 
    });
Feedback Collection

Collect feedback using event tracking with a specific event name:

const apiURL = "https://feedlytic.vercel.app/api/events";
const headers = {
  "Content-Type": "application/json",
  Authorization: "Bearer {apiKey}",
};
const feedbackData = {
  userName: "",    // required
  domain: "",      // required
  feedback: "",    // required
  rating: "",      
};

// using axios
const sendRequest = async () => {
  axios
    .post(apiURL, feedbackData, { headers })
    .then()
    .catch((error) => {
      console.error("Error:", error);
    });
};

// using fetch
const response = await fetch(apiURL, {
      method: "POST",
      headers: {
        "Content-Type": "application/json",
        Authorization: "Bearer {apiKEY}",
      body: JSON.stringify(feedbackData), 
    });

Implement this code in your feedback form submission handler.