WooCommerce is a customizable, open-source eCommerce platform built on WordPress. With WooCommerce, you get everything you need to sell online: secure payment processing, a solid tax/shipping reporting system, and dozens of free & premium themes.
Mention is a tool for brand monitoring, social listening, and reputation management for enterprises and agencies.
Mention IntegrationsWooCommerce + Mention
Create Alert to Mention from New Line Item in Order in WooCommerce Read More...WooCommerce + Mention
Create Alert to Mention from New Order Status Change in WooCommerce Read More...It's easy to connect WooCommerce + Mention without coding knowledge. Start creating your own business flow.
Triggers if a customer chooses to register for an account. This can happen during the checkout process, or via the My Account page.
Triggers when a new invoice is created.
Triggers for each line item in an order. Use this if you need the line item details from an order.
(With Line Item Support) Triggers when a WooCommerce order is paid for.
(With Line Item Support) For advanced usage. Triggers every time a WooCommerce order changes status. See the Managing Orders documentation on WooCommerce for more information.
Trigger when new product is added.
Triggers when a new alert is added.
Triggers when a new mention comes through for the specified alert
Creates a new coupon.
Action when a WooCommerce customer is created.
Creates a new invoice.
Creates a new order.
Creates a new product.
Updates an existing coupon.
Updates an existing customer.
Updates an existing order.
Updates an existing product.
Creates a new alert
(30 seconds)
(10 seconds)
(30 seconds)
(10 seconds)
(2 minutes)
WooCommerce is an open source e-commerce plugin for WordPress. It is a free e-commerce platform that lets you sell anything from digital products to physical products, handle orders and customers support, create widgets or shortcodes for any page or post in WordPress, manage coupons and discount codes, create multiple payments gateways integrations, etc. It allows you to set up an online store to sell your own goods.
Mention is an enterprise level social media monitoring top that helps you track and monitor your brand mentions on the Internet and social media. Mention provides a web app that helps you keep track of the latest trends and insights related to your brand.
Integration of WooCommerce and Mention will help you to automate the process of managing your online store and also give you access to more extensive marketing data in one place. This integration allows you to receive automatic alerts when your business is mentioned anywhere on the Internet. Moreover, it also allows you to get detailed information about the content written about your brand.
First, install WooCommerce plugin on your website and activate it. After activating WooCommerce plugin, go to WooCommerce > Settings > General tab and add the fplowing code in the Additional Javascript Code text area:
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/mention/mention.js"></script> <script type="text/javascript"> var options = { domain. 'yourdomain.com', apiKey. '<api_key>', siteId. '<site_id>' } </script> <script type="text/javascript" src="./js/mention-wc-integration.min.js"></script> 1 2 3 4 5 6 7 8 9 10 <script type = "text/javascript" src = "https://cdn.jsdelivr.net/gh/mention/mention.js" > </script> <script type = "text/javascript" > var options = { domain . 'yourdomain.com' , apiKey . '<api_key>' , siteId . '<site_id>' } </script> <script type = "text/javascript" src = "./js/mention-wc-integration.min.js" > </script> Start tracking mentions for your WooCommerce store with Mention by going to Mention > Settings > Tracking Code and adding the fplowing code in the Tracking Code text area:
<?php echo mention_integrations_track(<mention_api_key>, 'woocommerce'); ?> 1 <?php echo mention_integrations_track ( < mention_api_key > , 'woocommerce' . ; ?> Update the <mention_api_key> variable with your API key from Mention and <site_id> variable with ID of a site where you want to integrate Mention social monitoring top with WooCommerce store. In this case, we are going to integrate Mention with our test store at wpbeginner.test site so we will use the fplowing code. <?php echo mention_integrations_track('<api_key>', 'woocommerce'); ?> 1 <?php echo mention_integrations _ track ( '<api_key>' , 'woocommerce' . ; ?> To integrate WooCommerce and Mention, simply add the fplowing code in your WooCommerce theme’s functions.php file or in a site-specific plugin file:
add_action( 'wp_footer', 'mention_wc_integration'); function mention_wc_integration(. { if (!is_admin(). { // Set up the tracking code $mentionUrl = parse_url($_SERVER['HTTP_HOST']); $mentionSiteId = "https://api.mention.net/v1/sites/${$mentionUrl['host']}"; $mentionSiteName = "Your Site Name"; $mentionSiteUrl = "https://$mentionSiteId"; $mentionSiteAPIKey = "<api-key>"; $mentionSocialApiKey = "<social-api-key>"; $mentionSocialSiteId = "https://api.mention.net/v1/social/${$mentionUrl['host']}"; $mentionSocialName = "Your Social Network"; $mentionSocialApiKey = "<social-api-key>"; global $wpdb; // Setup database connection $dbh = new PDO('mysql:host='.gethostbyname($mentionSiteId.';dbname=wordpress', $wpdb->user, $wpdb->password); // Use UPDATE instead of INSERT as WordPress uses timestamps for auto-generated meta values if (isset($wpdb->posts). { foreach ($wpdb->posts as $post. { update_post_meta($post->ID, "_mentions", "[Mentions]"); } } } } 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 add_action ( 'wp_footer' , 'mention_wc_integration' . ; function mention_wc_integration ( . { if ( ! is _ admin ( . . { // Set up the tracking code $mentionUrl = parse _ url ( $_SERVER [ 'HTTP_HOST' ] . ; $mentionSiteId = "https://api.mention.net/v1/sites/${$mentionUrl['host']}" ; $mentionSiteName = "Your Site Name" ; $mentionSiteUrl = "https://$mentionSiteId" ; $mentionSiteAPIKey = "<api-key>" ; $mentionSocialApiKey = "<social-api-key>" ; $mentionSocialSiteId = "https://api.mention.net/v1/social/${$mentionUrl['host']}" ; $mentionSocialName = "Your Social Network" ; $mentionSocialApiKey = "<social-api-key>" ; global $wpdb ; // Setup database connection $dbh = new PDO ( 'mysql:host='.gethostbyname($mentionSiteId.';dbname=wordpress', $wpdb->user, $wpdb->password); // Use UPDATE instead of INSERT as WordPress uses timestamps for auto-generated meta values if ( isset ( $wpdb -> posts . . { foreach ( $wpdb -> posts as $post . { update _ post _ meta ( $post -> ID , "_mentions" , "[Mentions]" . ; } } } } Go to Mention > Settings > Integrations section, select WooCommerce from the dropdown and then click on the Save changes button to save integration settings between Mention and WooCommerce.
That’s it! Now every time someone mentions your store on the Internet, you will receive an alert via email automatically from Mention top and also get detailed information about the content which mentions your brand like title, URL, author name, social profile links, etc. You can also see these alerts by accessing Mentions dashboard section in Mention top on your dashboard.
The process to integrate WooCommerce and Mention may seem complicated and intimidating. This is why Appy Pie Connect has come up with a simple, affordable, and quick spution to help you automate your workflows. Click on the button below to begin.