{"id":290292,"date":"2026-04-07T13:47:00","date_gmt":"2026-04-07T13:47:00","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/marktag-for-woocommerce\/"},"modified":"2026-04-07T13:52:25","modified_gmt":"2026-04-07T13:52:25","slug":"marktag-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/marktag-for-woocommerce\/","author":23474713,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"6.9.4","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"MarkTag for WooCommerce","header_author":"MarkoPolo","header_description":"Track WooCommerce events and send them to MarkTag analytics platform","assets_banners_color":"","last_updated":"2026-04-07 13:52:25","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/markopolo.ai","header_plugin_uri":"","header_author_uri":"https:\/\/markopolo.ai","rating":0,"author_block_rating":0,"active_installs":0,"downloads":52,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"cgzirim","date":"2026-04-07 13:52:25"}},"upgrade_notice":{"1.0.0":"<p>Initial release of MarkTag for WooCommerce. Install to start tracking your WooCommerce events!<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3502520,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Settings page - Configure your Tag ID and Webhook URL","2":"Plugin activated and ready to track events","3":"Example event payload in browser DevTools","4":"MarkTag dashboard showing tracked events"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[232,984,456,550,286],"plugin_category":[36,45,55],"plugin_contributors":[259650,259651],"plugin_business_model":[],"class_list":["post-290292","plugin","type-plugin","status-publish","hentry","plugin_tags-analytics","plugin_tags-conversion","plugin_tags-marketing","plugin_tags-tracking","plugin_tags-woocommerce","plugin_category-analytics","plugin_category-ecommerce","plugin_category-seo-and-marketing","plugin_contributors-cgzirim","plugin_contributors-gincode18","plugin_committers-cgzirim"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/marktag-for-woocommerce\/assets\/icon-128x128.png?rev=3502520","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>MarkTag for WooCommerce is a reliable tracking plugin that uses a hybrid architecture (JavaScript + PHP) to capture customer behavior and send events to the MarkTag analytics platform. Perfect for e-commerce stores looking to optimize their marketing campaigns with accurate event tracking.<\/p>\n\n<h4>Key Features<\/h4>\n\n<ul>\n<li><strong>Hybrid Architecture<\/strong>: JavaScript for view events, PHP for action events (maximum reliability)<\/li>\n<li><strong>Complete Event Tracking<\/strong>: ViewItem, ViewCart, AddToCart, RemoveFromCart, BeginCheckout, Purchase<\/li>\n<li><strong>Tag ID Support<\/strong>: Unique identifier for each store sent with every event<\/li>\n<li><strong>Easy Configuration<\/strong>: Simple settings page in WordPress Admin (Settings \u2192 MarkTag)<\/li>\n<li><strong>Session Management<\/strong>: UUID-based session tracking with sessionStorage<\/li>\n<li><strong>First-Party Cookies<\/strong>: Manages <code>muid<\/code> cookie with 1-year expiry for accurate user tracking<\/li>\n<li><strong>Marketing Attribution<\/strong>: Automatically captures Facebook Pixel, TikTok, Google Analytics cookies<\/li>\n<li><strong>International Phone Formatting<\/strong>: Phone number validation with E.164 formatting<\/li>\n<li><strong>Customer Data Persistence<\/strong>: Stores email and phone in localStorage for cross-session tracking<\/li>\n<li><strong>Rich Product Data<\/strong>: Captures product variants, categories, SKU, pricing<\/li>\n<li><strong>Complete Order Tracking<\/strong>: Full purchase data including shipping, tax, and order details<\/li>\n<li><strong>WooCommerce HPOS Compatible<\/strong>: Fully compatible with High-Performance Order Storage<\/li>\n<li><strong>Works with All Themes<\/strong>: Compatible with classic themes, block themes, and WooCommerce Blocks<\/li>\n<\/ul>\n\n<h4>How It Works<\/h4>\n\n<ol>\n<li>Install and activate the plugin<\/li>\n<li>Go to Settings \u2192 MarkTag and enter your Tag ID<\/li>\n<li>The plugin automatically starts tracking customer behavior<\/li>\n<li>Events are sent to MarkTag platform for analysis and optimization<\/li>\n<\/ol>\n\n<h4>Event Types Tracked<\/h4>\n\n<ul>\n<li><strong>ViewItem<\/strong>: When customers view product pages (JavaScript)<\/li>\n<li><strong>ViewCart<\/strong>: When customers view their shopping cart (JavaScript)<\/li>\n<li><strong>AddToCart<\/strong>: When items are added to cart (PHP - works with all themes)<\/li>\n<li><strong>RemoveFromCart<\/strong>: When items are removed from cart (PHP)<\/li>\n<li><strong>BeginCheckout<\/strong>: When customers start the checkout process (JavaScript)<\/li>\n<li><strong>Purchase<\/strong>: When orders are completed with full transaction details (PHP)<\/li>\n<\/ul>\n\n<h4>Why Hybrid Architecture?<\/h4>\n\n<p>This plugin uses both JavaScript and PHP for maximum reliability:<\/p>\n\n<ul>\n<li><strong>JavaScript Layer<\/strong>: Handles view events (ViewItem, ViewCart, BeginCheckout), cookie management, session tracking, and marketing pixel capture<\/li>\n<li><strong>PHP Layer<\/strong>: Handles action events (AddToCart, RemoveFromCart, Purchase) using native WooCommerce hooks for 100% reliability<\/li>\n<\/ul>\n\n<p>This approach ensures tracking works with all WooCommerce setups including WooCommerce Blocks, classic themes, AJAX add-to-cart, and form-based add-to-cart.<\/p>\n\n<h4>Privacy &amp; GDPR<\/h4>\n\n<p>This plugin tracks customer behavior including email addresses and phone numbers from checkout forms. Ensure your privacy policy covers this data collection. All tracking respects user consent and follows WordPress best practices.<\/p>\n\n<h4>Developer Friendly<\/h4>\n\n<ul>\n<li>Clean, well-documented code<\/li>\n<li>Plain JavaScript (no build tools required)<\/li>\n<li>WordPress coding standards compliant<\/li>\n<li>Uses native WooCommerce hooks<\/li>\n<li>Simple, maintainable architecture<\/li>\n<\/ul>\n\n<h3>Privacy Policy<\/h3>\n\n<p>This plugin tracks customer behavior including:\n* Page views and product interactions\n* Email addresses and phone numbers from checkout forms\n* Marketing cookies (Facebook Pixel, TikTok, Google Analytics)\n* Session data and user identifiers<\/p>\n\n<p>All data is sent to the MarkTag platform for analytics purposes. Ensure your privacy policy covers this data collection and complies with applicable privacy regulations (GDPR, CCPA, etc.).<\/p>\n\n<h3>Support<\/h3>\n\n<p>For support, please:\n* Visit our documentation: https:\/\/docs.markopolo.ai\n* Email: support@markopolo.ai\n* GitHub Issues: https:\/\/github.com\/markopolo-inc\/woocommerce-tracking-plugin\/issues<\/p>\n\n<!--section=installation-->\n<h4>Automatic Installation<\/h4>\n\n<ol>\n<li>Go to WordPress Admin \u2192 Plugins \u2192 Add New<\/li>\n<li>Search for \"MarkTag for WooCommerce\"<\/li>\n<li>Click \"Install Now\" and then \"Activate\"<\/li>\n<li>Go to Settings \u2192 MarkTag to configure<\/li>\n<\/ol>\n\n<h4>Manual Installation<\/h4>\n\n<ol>\n<li>Download the plugin zip file<\/li>\n<li>Go to WordPress Admin \u2192 Plugins \u2192 Add New \u2192 Upload Plugin<\/li>\n<li>Choose the zip file and click \"Install Now\"<\/li>\n<li>Click \"Activate Plugin\"<\/li>\n<li>Go to Settings \u2192 MarkTag to configure<\/li>\n<\/ol>\n\n<h4>After Installation<\/h4>\n\n<ol>\n<li>Navigate to <strong>Settings \u2192 MarkTag<\/strong><\/li>\n<li>Enter your <strong>Tag ID<\/strong> (get this from your MarkTag dashboard)<\/li>\n<li>Optionally customize the <strong>Webhook URL<\/strong> (default works for most users)<\/li>\n<li>Click <strong>Save Settings<\/strong><\/li>\n<li>Test by browsing your store and checking the browser's Network tab for events<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20require%20woocommerce%3F\"><h3>Does this plugin require WooCommerce?<\/h3><\/dt>\n<dd><p>Yes, WooCommerce must be installed and activated for this plugin to work. The plugin will show an admin notice if WooCommerce is not active.<\/p><\/dd>\n<dt id=\"where%20do%20i%20get%20my%20tag%20id%3F\"><h3>Where do I get my Tag ID?<\/h3><\/dt>\n<dd><p>Your Tag ID is provided by MarkTag when you create an account. It's a unique UUID that identifies your store. Contact MarkTag support if you need help finding it.<\/p><\/dd>\n<dt id=\"where%20are%20events%20sent%3F\"><h3>Where are events sent?<\/h3><\/dt>\n<dd><p>Events are sent to the MarkTag ingestion endpoint at <code>https:\/\/mtag.markopolo.ai\/mark<\/code>. You can customize this URL in the plugin settings if needed.<\/p><\/dd>\n<dt id=\"does%20this%20track%20personal%20information%3F\"><h3>Does this track personal information?<\/h3><\/dt>\n<dd><p>Yes, the plugin tracks email addresses and phone numbers from checkout forms, along with standard marketing cookies. Ensure your privacy policy covers this data collection and complies with GDPR\/privacy regulations in your region.<\/p><\/dd>\n<dt id=\"is%20this%20compatible%20with%20woocommerce%20hpos%3F\"><h3>Is this compatible with WooCommerce HPOS?<\/h3><\/dt>\n<dd><p>Yes! The plugin is fully compatible with WooCommerce High-Performance Order Storage (HPOS) and declares compatibility with custom order tables and cart\/checkout blocks.<\/p><\/dd>\n<dt id=\"will%20this%20slow%20down%20my%20site%3F\"><h3>Will this slow down my site?<\/h3><\/dt>\n<dd><p>No. The plugin uses asynchronous JavaScript and the <code>keepalive<\/code> fetch API to send events without blocking page loads. The tracking script is lightweight and optimized for performance.<\/p><\/dd>\n<dt id=\"can%20i%20customize%20the%20events%20or%20data%20sent%3F\"><h3>Can I customize the events or data sent?<\/h3><\/dt>\n<dd><p>Yes! The plugin provides WordPress hooks and filters for developers to customize event data. Check the documentation on GitHub for details.<\/p><\/dd>\n<dt id=\"does%20this%20work%20with%20ajax%20add%20to%20cart%3F\"><h3>Does this work with AJAX add to cart?<\/h3><\/dt>\n<dd><p>Yes! The plugin automatically detects WooCommerce AJAX add-to-cart events and tracks them properly.<\/p><\/dd>\n<dt id=\"how%20do%20i%20test%20if%20it%27s%20working%3F\"><h3>How do I test if it's working?<\/h3><\/dt>\n<dd><ol>\n<li>Open your WooCommerce store in a browser<\/li>\n<li>Open DevTools (F12) \u2192 Network tab<\/li>\n<li>Browse products, add to cart, checkout<\/li>\n<li>Look for POST requests to <code>mtag.markopolo.ai\/mark<\/code><\/li>\n<li>Check the payload includes your <code>tag_id<\/code> and event data<\/li>\n<\/ol><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Complete event tracking: ViewItem, ViewCart, AddToCart, RemoveFromCart, BeginCheckout, Purchase<\/li>\n<li>Tag ID support for unique store identification<\/li>\n<li>Settings page for easy configuration<\/li>\n<li>Session tracking with UUID<\/li>\n<li>First-party cookie management (muid)<\/li>\n<li>Marketing attribution cookie capture (Facebook, TikTok, Google Analytics)<\/li>\n<li>International phone number formatting with E.164 support<\/li>\n<li>Email and phone persistence across sessions<\/li>\n<li>WooCommerce HPOS compatibility<\/li>\n<li>Settings link on plugins page<\/li>\n<li>Full product and order data capture<\/li>\n<\/ul>","raw_excerpt":"Track WooCommerce events and send them to MarkTag analytics platform for marketing attribution and conversion tracking.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/290292","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=290292"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/cgzirim"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=290292"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=290292"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=290292"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=290292"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=290292"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=290292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}