WP Manifestindependent plugin directory
manifest / ecommerce / woocommerce-ai-product-recommender-tracker

WooCommerce AI Product Recommender Tracker

WooCommerce AI Product Recommender Tracker

★ 1stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/bhavik-dreamz/woocommerce-ai-product-recommender-tracker/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A powerful WooCommerce plugin that tracks user activity and sends data to an external API for AI-powered product recommendations.

Description

WooCommerce AI Product Recommender Tracker is designed to help e-commerce stores improve their product recommendations by tracking user behavior and sending this data to an AI recommendation system. The plugin tracks various user interactions including product views, add to cart actions, checkout initiation, and order completion.

Features

  • User Activity Tracking

    • Product views (with minimum view time)
    • Add to cart actions
    • Checkout initiation
    • Order completion
  • Data Collection

    • Event type
    • Product ID and name
    • User ID (for logged-in users)
    • Session ID
    • Timestamp
    • Referrer URL
    • User agent
    • WooCommerce version
    • Site URL
  • Admin Settings

    • Customizable API endpoint
    • Enable/disable tracking
    • Easy configuration under WooCommerce menu

Requirements

  • WordPress 5.8 or higher
  • PHP 7.4 or higher
  • WooCommerce 5.0 or higher

Installation

  1. Download the plugin zip file
  2. Go to WordPress admin panel > Plugins > Add New
  3. Click "Upload Plugin" and select the downloaded zip file
  4. Activate the plugin
  5. Go to WooCommerce > AI Tracker Settings to configure the plugin

Configuration

  1. Navigate to WooCommerce > AI Tracker Settings
  2. Enter your API endpoint URL
  3. Enable/disable tracking as needed
  4. Save changes

API Integration

The plugin sends data to your specified API endpoint in the following format:

{
    "event_type": "product_view|add_to_cart|checkout_initiated|order_completed",
    "product_id": "123",
    "product_name": "Product Name",
    "user_id": "456",
    "session_id": "session-uuid",
    "timestamp": "2024-03-15 10:30:00",
    "referrer": "https://example.com",
    "user_agent": "Mozilla/5.0...",
    "site_url": "https://yourstore.com",
    "wc_version": "8.0.0"
}

Security

  • All data is sanitized before being sent
  • Nonce verification for AJAX requests
  • Session cookies are secure and HTTP-only
  • No tracking in admin area

Support

For support, please visit https://bhavikpatel.com/support

Author

License

This plugin is licensed under the GPL v2 or later.

Changelog

1.0.0

  • Initial release
  • Basic tracking functionality
  • Admin settings page
  • AJAX support for frontend tracking