{"id":162258,"date":"2022-09-10T00:23:20","date_gmt":"2022-09-10T00:23:20","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/waffarad-affiliate\/"},"modified":"2026-06-08T15:22:54","modified_gmt":"2026-06-08T15:22:54","slug":"waffarad-affiliate","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/waffarad-affiliate\/","author":20328133,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.4","stable_tag":"1.0.4","tested":"7.0","requires":"4.6","requires_php":"7.0","requires_plugins":null,"header_name":"Waffar AD Tracking","header_author":"waffarx","header_description":"Waffarad order tracking for woocommerce","assets_banners_color":"","last_updated":"2026-06-08 15:22:54","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/waffarad-affiliate\/","header_author_uri":"https:\/\/www.waffarad.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":67182,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"1.0.3":{"tag":"1.0.3","author":"waffarx","date":"2022-09-10 00:23:00"},"1.0.4":{"tag":"1.0.4","author":"waffarx","date":"2026-06-08 15:22:54"}},"upgrade_notice":{"1.0.4":"<ul>\n<li>Security and standards review for WordPress.org guidelines compliance.<\/li>\n<\/ul>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.3","1.0.4"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[369,42198,213618,213620,286],"plugin_category":[35,45],"plugin_contributors":[266218],"plugin_business_model":[],"class_list":["post-162258","plugin","type-plugin","status-publish","hentry","plugin_tags-affiliate","plugin_tags-cashback","plugin_tags-waffarad","plugin_tags-waffarx","plugin_tags-woocommerce","plugin_category-advertising","plugin_category-ecommerce","plugin_contributors-waffarx","plugin_committers-waffarx"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/waffarad-affiliate.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>WaffarAD is an affiliate network that provides technical and promotional tools to create and manage affiliate programs and carry out effective advertising campaigns. The WaffarAD merchant platform maximizes efficiency in reporting and analysis so advertisers can scale their business in a streamlined fashion.<\/p>\n\n<p>The WaffarAD tracking plugin allows you to quickly integrate your WooCommerce shop with our website and mobile app WaffarX, the first cashback aggregator in the MENA region. The plugin stores user data sent from publisher websites to the merchant website. When users perform actions on the merchant website, their data &amp; order details are sent to WaffarAD servers.<\/p>\n\n<p>WaffarAD is optimal for online advertisers with an established audience and online presence. For advertisers with developed affiliate programs, we provide a streamlined service and exceptional reach to maximize content. For advertisers with little or no experience with affiliate marketing, we are here to help start the process and access lucrative affiliate marketing opportunities.<\/p>\n\n<p>If you want to increase your sales or to attract additional customers, become a WaffarAD partner today.<\/p>\n\n<h3>External services<\/h3>\n\n<p>This plugin connects to two external services operated by WaffarAD\/WaffarX in order to provide affiliate order tracking:<\/p>\n\n<ol>\n<li><p>Tracking script \u2014 https:\/\/waffarad.com\/integration\/general.js\nA JavaScript file loaded on the front end that sets and reads the WaffarAD affiliate tracking cookies.<\/p><\/li>\n<li><p>Order conversion endpoint \u2014 https:\/\/conversion.waffarx.com\/Woo\/AddOrder\nWhen a referred order is completed, the plugin sends the order details (order base data, line items, coupon code) and the affiliate tracking identifiers stored in cookies to this endpoint so the conversion can be attributed.<\/p><\/li>\n<\/ol>\n\n<p>These services are provided by WaffarAD. For details on how WaffarAD works and its privacy policy, see https:\/\/waffarad.com\/Home\/PrivacyPolicy<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"when%20is%20data%20sent%20to%20waffarad%3F\"><h3>When is data sent to WaffarAD?<\/h3><\/dt>\n<dd><p>Only on the WooCommerce \"thank you\" (order received) page, and only when the order was referred by WaffarAD (the <code>afsrc<\/code> cookie is set to <code>waffarad<\/code>).<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Added direct-file-access protection (ABSPATH guard).<\/li>\n<li>Declared a GPL-compatible license in the plugin header.<\/li>\n<li>Updated the \"Tested up to\" value to WordPress 7.0.<\/li>\n<li>Prefixed all global functions with \"waffarad_\" (Plugin Check naming convention).<\/li>\n<li>Guarded all $_COOKIE reads with isset() and added wp_unslash() before sanitization.<\/li>\n<li>Fixed an undefined $code variable when an order has no coupon.<\/li>\n<li>Fixed the order payload (was previously sent empty) and use wp_json_encode().<\/li>\n<li>Cleaned up front-end script enqueuing.<\/li>\n<li>Documented the external services used by the plugin.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Sanitize Data<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Readme update<\/li>\n<\/ul>","raw_excerpt":"WooCommerce order tracking for the WaffarAD affiliate network and the WaffarX cashback app.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/162258","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=162258"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/waffarx"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=162258"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=162258"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=162258"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=162258"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=162258"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=162258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}