=== HalalAdz Tracking ===
Contributors: halaladz
Tags: conversion tracking, woocommerce, pixel, halal, ads
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Counts the orders, leads and sign-ups your HalalAdz ads bring. One settings field: your pixel id.

== Description ==

* Adds the HalalAdz Pixel to every page (page views are counted on their own).
* WooCommerce: add to cart and orders are sent with the amount, the shop currency (any ISO 4217 code) and the order number.
* Optional server key: orders are also sent from your server (works when the browser blocks scripts). The same order number counts once.
* Privacy: no names, phone numbers or e-mails are ever sent. Only the anonymous HalalAdz click id from the ad's link is used.
* Consent: the pixel follows the consent rules for each visitor's country; an optional small consent banner is included.

Billing does not change: campaigns with the Orders goal still pay per real, verified click.

Docs (English + Bangla): https://halaladz.com/docs#wordpress

== Installation ==

1. Plugins → Add New → Upload Plugin → choose halaladz-tracking.zip → Install → Activate.
2. Settings → HalalAdz Tracking → paste the pixel id from your HalalAdz dashboard (Conversions → Setup).
3. Optional: paste a server key (hzk_…) created in the HalalAdz dashboard settings.
4. In the HalalAdz dashboard press "Send test order" or place a test order: the connection status shows the last event time.

== Frequently Asked Questions ==

= Is the server key shown on my site? =

No. It is stored as a WordPress option, never printed in a page, and the field stays empty after saving.

= Does it slow my site down? =

The pixel loads asynchronously from cdn.halaladz.com and is small.

== Changelog ==

= 1.0.0 =
* First version: pixel on every page, WooCommerce add to cart + order, optional server-to-server copy, consent banner option.
