Safe Clones With Ansible

I started research for an article on how to add a honeytrap to a GitHub repo. The idea behind a honeypot weakness is that a hacker will follow through on it and make his/her presence known in the process. 

My plan was to place a GitHub personal access token in an Ansible vault protected by a weak password. Should an attacker crack the password and use the token to clone the private repository, a webhook should have triggered and mailed a notification that the honeypot repo has been cloned and the password cracked. 

Unleashing the Power of Git Bisect

We don't usually think of Git as a debugging tool. Surprisingly, Git shines not just as a version control system, but also as a potent debugging ally when dealing with the tricky matter of regressions.

Git Bisect AI image

The Essence of Debugging with Git

Before we tap into the advanced aspects of git bisect, it's essential to understand its foundational premise. Git is known for tracking changes and managing code history, but the git bisect tool is a hidden gem for regression detection. Regressions are distinct from generic bugs. They signify a backward step in functionality—where something that once worked flawlessly now fails. Pinpointing the exact change causing a regression can be akin to finding a needle in a haystack, particularly in extensive codebases with long commit histories.

How to Send Email Reminders for Google Forms Automatically

You are using Google Forms to collect registrations for an upcoming event and would like to send email reminders to all the registered attendees a few days before the event date to ensure maximum attendance.

This tutorial explains how you can use Google Sheets and Document Studio for sending automatic reminders to all the registered attendees. We’ll primarily us Gmail to send the reminders via email but you can also use contact the event registrants via SMS or WhatsApp.

The reminders can be scheduled for any future date and time, and the email body can be personalized for each recipient. Let’s get started.

Google Sheets - Event Reminders

Prepare the Google Sheet

Assuming that you have already set up a Google Form for event registration, the responses will be collected in a Google Sheet linked to the form. In the same sheet, add a new column labeled Event Date and this will contain the event date. You can either copy and paste the date manually for all the rows in the sheet or use a formula to copy down the date automatically.

Create Email Reminder Workflow

Install Document Studio and launch it inside the sheet associated with your Google Form. Inside the app, create a new workflow and provide a descriptive name for your workflow. Choose the specific worksheet in your Google Spreadsheet that contains the form responses. Click on Continue to move to the conditions page.

In the Conditions section, you can define specific criteria and the workflow will only run for Google Sheet rows that meet these conditions. For instance, you may want to send a reminder email only to attendees who have paid the registration fee. By default, the reminder workflow will run for all rows in the Google Sheet.

Configure the Email Task

Google Sheets - Event Reminders

On the tasks screen, choose the Send Email task since we want to send email reminders to the registered attendees. The email task will use the data from the Google Sheet to personalize the email message for each recipient.

Select Gmail as the email service provider though you can also use SendGrid, Amazon SES or any SMTP server for sending emails.

In the Send Email to field of Recipients section, select the question in your Google Form that contains the email addresses of the attendees.

Next, specify the email subject line and message body for your event reminders. You can create a personalized email template by using dynamic markers enclosed in double curly braces. These markers get replaced with actual cell values in the Google Sheet, ensuring each recipient gets a tailored message.

Save the email message and proceed to the next step.

Google Sheets - Event Reminders

Schedule Email Reminders

On the Trigger screen, uncheck the Run on Form Submit option since we want to schedule the email reminders for a future date and not immediately after the form is submitted.

Next, check the Add a time delay option and schedule the workflow accordingly. For this example, we have set the workflow to run 3 days before the event date. It is important that the event date column in your Google Sheets is formatted as a date else the configuration for comparing the event date to the current date may not work.

Click the Save button to activate your workflow. The workflow is now running in the background and will automatically send emails near the scheduled date to all the registered attendees.

Schedule Email Reminders

Also see:

  1. Send email reminders with Mail Merge
  2. How to send appointment reminders via SMS
  3. How to send reminders for due invoices

Self-Healing Test Automation: A Key Enabler for Agile and DevOps Teams

Test automation is essential for ensuring the quality of software products. However, test automation can be challenging to maintain, especially as software applications evolve over time. Self-healing test automation is an emerging concept in software testing that uses artificial intelligence and machine learning techniques to enable automated tests to detect and self-correct issues. This makes test automation more reliable and cost-effective and reduces the amount of time and resources required to maintain test scripts.

In this article, we will discuss the benefits of self-healing test automation, how it works, and how to implement it in your organization.

Cybersecurity: A Trojan Horse in Our Digital Walls?

The rapid advancement of artificial intelligence (AI) in cybersecurity has been widely celebrated as a technological triumph. However, it's time to confront a less discussed but critical aspect: Is AI becoming more of a liability than an asset in our digital defense strategies? I talk about the unintended consequences of AI in cybersecurity in this essay, challenging the prevailing notion of AI as an unalloyed good.

I’ll start off with the example of deep penetration testing, a critical aspect of cybersecurity that has been utterly transformed by AI. We used to traditionally rely on formulaic methods that were confined to identifying known vulnerabilities and referencing established exploit databases. But AI? It’s changed the game entirely. AI algorithms today are capable of uncovering previously undetectable vulnerabilities by making use of advanced techniques like pattern recognition, machine learning, and anomaly detection. These systems learn from each interaction with the environment and keep adapting continuously. They can intelligently identify and exploit weaknesses that traditional methods might overlook. That’s an improvement, right?

CRM Analytics, a Guide to Salesforce Data Integrator

Salesforce CRM Analytics is a cloud-based business intelligence (BI) and visualization framework seamlessly integrated into the Salesforce platform, designed to enable business insights, predictive analytics, and recommendations by integrating the Salesforce data with external big data sources.

CRM Analytics has a vibrant ecosystem with a vast array of third-party connections available through its Data manager, which makes it easy to integrate the Salesforce objects like opportunity, account, lead, tasks, and users with external big data sources like AWS Redshift, Microsoft Azure, Google Analytics, SAP HANA, Snowflake, Microsoft Dynamics, Mulesoft and Oracle.

i don´t understand this syntax error when using OpenCV

This is the error message:

%Run -c $EDITOR_CONTENT
Traceback (most recent call last):
File "<string>", line 6
image = cv2.imread(C:\Users\Audun Nilsen\Pictures\pica.webp)
^
SyntaxError: invalid character in identifier

This is the code:

import cv2 # OpenCV for image processing

image = cv2.imread(C:\Users\Audun Nilsen\Pictures\pica.webp)

What’s Coming in WordPress 6.5 (Features and Screenshots)

WordPress has released the beta for the release of version 6.5 for testing.

We have been watching the development closely and are quite excited to report on all the new features expected to be released in this version.

It will be the first major WordPress update of 2024, and many people have done significant work on it.

Let’s look at some of those amazing features and enhancements that are coming in WordPress.

What to expect from the upcoming WordPress 6.5 release

Note: Using the WordPress Beta Tester plugin, you can try out the beta version on your computer or a staging environment. Please keep in mind that some of the features in the beta may not make it into the final release.

Here is a quick overview of changes coming in WordPress 6.5:

The Fonts Library

Earlier, we reported that Font Library will be included in WordPress 6.4. However, it was postponed and wasn’t included in the final release.

We are glad to report that it will be included in the WordPress 6.5.

This will allow users to manage fonts used in their WordPress theme and across their website.

Users can view the Font Library under the Styles panel in the site editor. Switch to the Typography view and then click on the Manage Fonts button.

Managing fonts library in WordPress 6.5

This will bring up the Fonts popup.

By default, it will show you currently installed fonts for your WordPress theme. You can switch to the Upload tab to upload more fonts from your computer.

Installed fonts available with your WordPress theme

Want to use privacy-friendly Google Fonts for your website?

Switch to the Install Fonts tab to connect your website to Google Fonts.

View and install Google Fonts

You’ll then be able to browse Google fonts.

Search the font you want to install and then select the variation. Finally, click on the Install button to locally host the font and serve it from your website.

Browse and select Google Fonts

This will help site owners customize their site’s typography with custom fonts for their existing theme.

Custom Fields for Blocks

Another exciting feature that is debuting in WordPress 6.5 is the ability to associate custom fields with block attributes.

Custom fields in WordPress have been around for a very long time. They allow you to add custom metadata to your WordPress posts, pages, and other content types.

Now, developers and advanced users will be able to associate custom fields data to individual block attributes.

However, these connections are not just limited to custom fields. The block binding API introduced for this functionality also makes it possible to use other sources to provide dynamic data for blocks.

For those who want to test it out, add these two custom fields to your post:

  • mood
  • weather

You can see in the image below the custom fields interface:

Adding custom fields

Then, switch to the code editor view and add the following code inside a text field.

<!-- wp:paragraph {"metadata":{"bindings":{"content":{"source":"core/post-meta","args":{"key":"mood"}}}}} -->
<p></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"metadata":{"bindings":{"content":{"source":"core/post-meta","args":{"key":"weather"}}}}} -->
<p></p>
<!-- /wp:paragraph -->

Now save your changes.

Adding bindings code to a block

Next, you can preview your post to see the custom fields in action.

The theme should simply output the values of your meta keys.

Preview

This is just a very basic example.

Developers would be able to do much more by showing connections in the editor and the ability to choose dynamic values from a drop-down menu by registering those connections.

Plugin Dependencies

Some WordPress plugins depend on other WordPress plugins to provide certain functionalities.

For example, a WooCommerce payment addon would require WooCommerce to be installed for it to work.

Plugin authors can now add a Requires Plugins entry into the plugin header and mention the plugins required to be installed and activated for their plugin to work.

Required plugins to install

Those plugins will then need to be installed and activated by the user.

Once all the required plugins are activated, the user will be able to activate the main plugin that needs them.

Cannot be deactivated

The required plugins cannot be deactivated until the plugin dependent on those plugins is deactivated first.

Prior to WordPress 6.5, if a user installed such a plugin and activated it, they will see an error page.

Dependency error wall

This error page does not tell users which plugins to install or have instructions to go back to the plugins page. This feature is a big improvement in user experience.

Block Editor Improvements

The majority of WordPress users spend most of their time writing content, editing pages, and working with the block editor.

This is why each WordPress release has significant improvements and new features to improve the block editor.

WordPress 6.5 will be no different and is packing many enhancements to improve the content editing experience for all users.

Drop Shadow Effect

WordPress 6.5 will introduce a drop shadow effect for more blocks. Here are some of the blocks where users will be able to use the drop shadow effect.

  • Image
  • Columns and Column
  • Buttons

Simply click on the block and look for Border & Shadow under the Style Panel.

Drop shadow effect

Smarter Overlay Colors for Cover Blocks

The cover block can now select the overlay color automatically based on the background color of the image you choose.

Rename Any Block in the List View

WordPress 6.4 allowed users to rename Group blocks in the list view for a better understanding of what each group block contains.

WordPress 6.5 will take it to the next step and allow users to rename any block in the list view.

Rename any block

Right Click on a Block in List View to See Settings

Now previously, you needed to click on the three-dot menu next to a block to see its settings in the list view.

In WordPress 6.5, you can just right-click on any block to see its settings.

Right click to see block settings in list view

Link Control in 6.5 will highlight your blog and front-page pages with different icons to distinguish them.

Link control icons

Right after you add a link or when you click on a link, it will show you a context menu.

Here, users can see where that link goes. It will automatically fetch the linked page title, and show the action buttons to edit, unlink, or copy the link.

Link actions

Preferences Panel Updated

The preferences panel will be updated in WordPress 6.5.

It will now show Appearance and Accessibility panels and previous options are now better categorized.

Preferences Panel gets an update

Site Editor Changes

Site Editor is where users can make changes to their site, much like the former theme customizer.

This release will come with several improvements to the site editor.

Synced Patterns Get More Powers

Synced patterns help website owners create patterns to reuse later across their websites.

With WordPress 6.5, users will be able to override locked synced patterns for individual use cases.

For instance, a pattern for product review where a user wants to be able to edit the Pros and Cons but not the layout of the pattern.

To test it, add a synced pattern to a post and click on the Edit Original button.

Edit original

This will open the isolated pattern edit mode.

From here, click on the block that you want to override. Then, under the block settings expand the Advanced panel and check the box next to the Allow Instance Overrides option.

Allow instance overrides

This feature allows you to create synced patterns that need to be edited based on the context in which they are used.

Data View Enhancements

WordPress 6.5 will bring a better way to view your pages, patterns, and templates with in site editor.

You can view items in Grid view with large previews and sort them in different orders.

Data set views in WordPress 6.5

You can also see items in the table view.

For instance, you see your page list and start editing them without leaving site editor.

Pages view

Improved Style Revisions

Previously, Style revisions showed a timeline and you had to browse through it to see what changes were applied.

WordPress 6.5 will bring better style revisions which show you a description of changes made for each revision.

Style revision descriptions

The browsing between different revisions will also become smoother. You can also switch to a revision by clicking on Apply button.

You will also see the changes that were made but not Saved yet.

Unsaved changes or apply a previous version

The Interactivity API

Another exciting feature making its way into WordPress 6.5 is the Interactivity API.

The API provides a framework for developers to create modern front-end interfaces that don’t require complete page reloads.

This enables developers to create user experiences that are more ‘Interactive’ than old-school web pages.

Think of reading comments on your favorite blog, and a new comment just pops up as you are writing your own reply. Or, imagine a live search feature that doesn’t slow down your website.

The team working on the project has made a demo website to showcase its capabilities.

Interactivity API demo

Miscellaneous Under-The-Hood Changes

WordPress 6.5 release will be packed with changes targeted at developers or behind-the-scenes improvements. Let’s look at some of them:

  • Performance improvements: The Block and Site Editors will load two times faster and the input time will be four times faster than WordPress 6.4. (Details)
  • An improved library is introduced to load translations much faster. (Details)
  • Classic themes can now add support for appearance tools. (Details)

Overall, the beta release includes 681 enhancements and 488 bug fixes for the editor, including about 229 tickets for WordPress 6.5 Core.

We hope this article helped you discover what’s new in WordPress 6.5 and which new features to try out. We are particularly excited about the interactivity API and the glimpses of a future admin redesign.

While you’re digging into the nuts and bolts of WordPress, you may also want to check out our look at how to install WordPress the right way and the most common WordPress errors and how to fix them.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post What’s Coming in WordPress 6.5 (Features and Screenshots) first appeared on WPBeginner.

The Future of Digital Products: Will AI-Assistants Replace Applications?

Apps May Soon Become Redundant

The rapid evolution of generative AI has provoked another round of heated discussions about its effect on the future of technology—as well as our daily lives. I would like to jump in and speculate on how this may change the future of digital end-user products. 

Here is my main hypothesis: If AI assistants like ChatGPT continue to evolve at the same pace, we will witness the end of the era of the apps as we know them.

Launch Your Ethereum Donation dApp Today: Easy Steps With MetaMask, Alchemy, and GitHub Codespaces

In the rapidly evolving world of blockchain technology, building decentralized applications (dApps) presents a unique opportunity for developers to explore the potential of Ethereum and smart contracts. This article aims to guide you through the process of creating a simple yet functional dApp, "BuyACoffee," designed to receive acknowledgments from the readers of Brainupgrade. We'll use the Ethereum test network Sepolia and platforms like Alchemy and MetaMask for wallet management.

Step 1: Setting up MetaMask

MetaMask is a popular Ethereum wallet and a gateway to blockchain apps. Here's how to create a new wallet for our project:

The Impact of Technical Ignorance

I knew a Chief Software Architect from a major financial organization who was an anomaly: he had never developed software professionally. His undergraduate degree is in Accounting and Finance, and his most hands-on technology role was as a DBA. [His LinkedIn profile lists an early Programmer role, though he insisted he didn’t.] Even so, he was well-respected within his organization for his thought leadership and solutions, but nevertheless, it seemed an unusual career path. Since I last worked with him, he has moved into C-level roles at other organizations, confirming his abilities as a technology leader.

Then I thought of others I have worked with who are non-technical but positioned to impact technical direction and realized their lack of understanding impacted (and continues to impact) the quality of the software solutions we, as engineers, are expected to deliver.

How Slow Is Database I/O?

Most veteran developers must have experienced a rather low database I/O performance. However, many may not have a full understanding of how slow the I/O operation is, particularly about the gap between database I/O speed and the speeds of other data read/write methods.

Java is a commonly used technique used for application development. In this article, we perform a field test to find out the performances of retrieving data from Oracle and MySQL – the two typical types of databases in Java, and compare them with the performance of retrieving data from the text file.

How to Set Up WooCommerce Abandoned Cart Emails (+ 3 Alternatives)

Do you want to set up WooCommerce abandoned cart emails?

Around 70% of shopping carts are abandoned by the customers in your online store. By sending abandoned cart emails to these potential buyers, you can improve the customer experience and boost conversions.

In this article, we will show you how to easily set up abandoned cart emails in WooCommerce. We will also show you different ways to reach out to these customers and get their sales.

Set up WooCommerce abandoned cart emails

Why Send WooCommerce Abandoned Cart Emails to Customers?

When users visit your online store, they usually start adding products to their shopping carts but some of them abandon the items before finishing their purchases. This can happen due to multiple reasons, including high shipping costs, a slow checkout process, or needing to create an account on your website.

However, you can easily recover your abandoned cart sales by sending emails to these potential buyers. These abandoned cart emails will remind customers about the items in their cart and urge them to revisit your WooCommerce store to make a purchase.

It is a cost-effective marketing strategy that can improve your brand perception, strengthen your customer relationships, and increase your conversion rate by up to 30%.

Having said that, let’s see how to easily set up WooCommerce abandoned cart emails, step-by-step. We will also cover abandoned cart SMS, popups, and notifications, so you can use the quick links below to jump to the method you want to use:

Set Up WooCommerce Abandoned Cart Emails

You can easily set up automated WooCommerce abandoned cart emails using FunnelKit Automations.

It is the best marketing automation tool for WooCommerce stores that comes with a drag-and-drop builder and pre-built email sequences that you can set up in a few minutes. You can even design your own emails from scratch and design workflows without needing any code.

First, you need to install and activate the FunnelKit Automations plugin. For detailed instructions, see our beginner’s guide on how to install a WordPress plugin.

Note: FunnelKit Automations also has a free plan that you can use for this tutorial. However, upgrading to the paid plan will give you access to more features like smart delays, unlimited automation, SMS marketing, and more.

Upon activation, you need to visit the FunnelKit Automations » Settings page from the WordPress admin sidebar and switch to the ‘Cart’ tab in the left column.

Once you do that, check the ‘Enable Cart Tracking’ box. You will not be able to run an automated workflow for abandoned carts until you allow FunnelKit Automations to track the product carts on your website.

Check the box to set up cart tracking

You can also configure other settings here, including the waiting period to mark a cart as recoverable, blacklist emails, and GDPR consent.

After that, just click the ‘Save Settings’ button to store your changes.

Next, head to the FunnelKit Automations » Automations page from the WordPress dashboard.

Here, click the ‘Add New Automation’ button in the top right corner of the screen.

Click Add New Automation button

This will take you to the ‘Add Automation’ page, where you can select from premade templates that have abandoned cart email examples and workflows.

For this tutorial, we will choose the ‘Abandoned Cart Reminder’ workflow that will send users 3 abandoned cart emails over time.

Choose the abandoned cart reminder template

You will now be taken to a new screen where you can see the trigger, action, and delays for this workflow.

From here, click the ‘Import’ button at the top right corner of the screen to save this template.

Import abandoned cart workflow template

Once you do that, an ‘Add Automation’ prompt will open up on your screen.

Here, type in a name for the workflow according to your liking and click the ‘Create’ button.

Add an automated workflow name

FunnelKit will now open the template in its automation editor, where you can edit your workflow’s trigger, delay, and actions.

You can even add other actions and delays by clicking the ‘+’ button.

Here, the trigger has been set to ‘Cart Abandoned’, meaning that the automation will start once a customer abandons their cart.

Now, you must click on the ‘Delay’ action to configure its settings.

Configure workflow

This will open a prompt on the screen where you can configure the time for your first abandoned cart email.

For example, if you want to send the first email two days after the cart abandonment, then you can type ‘2’ and select ‘Days’ from the dropdown menu.

After that, click the ‘Save’ button to store your settings.

Add delay time for the action in the workflow

Next, move to the ‘Action’ step in the workflow and click on it to open the prompt.

From here, you can change the subject and text for the cart abandonment email you want to send to your users. You can also use merge tags to add dynamic content like the user’s name and the items in their cart.

Once you are done, click the ‘Save’ button to store your settings.

Add abandoned cart email content in the action prompt

Next, you can configure the second and third delays and action emails for cart abandonment in a similar way.

Finally, toggle the ‘Inactive’ switch to ‘Active’ to activate your automated workflow.

activate workflow

The potential customers who abandoned carts in your store will now be sent these emails after multiple delays.

Here is an automated abandoned cart email example from our testing site:

Abandoned cart email preview

Send WooCommerce Cart Abandonment SMS

Other than abandoned cart emails, it’s also a good idea to send cart abandonment SMS to users. This is because open rates for SMS messages are significantly higher than email marketing, so your messages are more likely to reach your potential customers.

Plus, sending SMS ensures that your messages will be seen instantly compared to other communication channels.

It is super easy to set up WooCommerce cart abandonment SMS with FunnelKit Automations.

First, you need to install and activate the FunnelKit Automations plugin. For details, see our guide on how to install a WordPress plugin.

Note: You will need the premium plan of the plugin to unlock the Twilio SMS feature and send automated messages to users.

Upon activation, visit the FunnelKit » Automations page from the WordPress dashboard and click the ‘Add New Automation’ button.

Click Add New Automation button

You will now be directed to the ‘Add Automation’ page, where you will see a list of premade automated workflow templates.

However, since FunnelKit Automations does not have a template for sending SMS messages, you need to click the ‘Start from Scratch’ button.

Choose the start from scratch option

This will open a prompt on the screen asking you to name your automation workflow.

Simply type in a title and click the ‘Create’ button.

Add SMS automation name

This will open the automation editor on the screen where you have to click the ‘Select Trigger’ button.

The ‘Select an Event’ prompt will now open on the screen. From here, switch to the ‘WooCommerce’ tab and select the ‘Cart Abandoned’ option as your trigger.

After that, click the ‘Done’ button.

Choose cart abandoned option as trigger

Now, click the ‘+’ button in the automation editor.

This will expand the ‘Add Step’ tab, where you must select the ‘Delay’ option.

Add delay as action

Once you do that, the ‘Delay’ prompt will open up on the screen. Here, you can configure the time for sending the abandoned cart SMS.

For example, if you want to send the cart abandonment message a week later, then you can select that option from the dropdown menu.

After that, click the ‘Save’ button to store your settings.

Add SMS delay time

Now click the ‘+’ button in the automation editor again to expand the tab and then choose the ‘Action’ option.

This will open another prompt on the screen where you have to select the ‘Send SMS’ option under the ‘Twilio’ section.

Note: The automation won’t work if you don’t have a Twilio account and phone number. For details on creating an account, you can see our tutorial on how to send Twilio SMS notifications from WooCommerce.

Choose send SMS as action

Once you select that option, you can start typing the text message that will be sent to the users once they abandon their carts.

You can also use merge tags to add dynamic content. After you are satisfied, just click the ‘Save’ button to store your settings.

Add SMS message

Finally, toggle the ‘Inactive’ switch at the top right corner to activate the automated workflow.

Now the users will be sent an SMS message a week after cart abandonment from your Twilio phone number.

Save workflow for sending cart abandonment SMS messages

Create WooCommerce Cart Abandonment Popups

Additionally, we recommend setting up abandoned cart popups on your website.

This method is a bit different from sending emails because cart abandonment popups will be immediately triggered when a visitor adds items to their cart and then attempts to leave your website.

Overall, opting for this method can encourage users to take immediate action and can be highly effective, as popups have a conversion rate of over 30%.

To create cart abandonment popups, you will need OptinMonster, which is the best WordPress lead generation and conversion optimization tool on the market.

It comes with a drag-and-drop builder and premade templates to create popups and banners for your website. OptinMonster even has Exit Intent technology that will only display the popup when a user is about to leave your website.

First, you must visit the OptinMonster website and sign up for an account by clicking the ‘Get OptinMonster Now’ button.

OptinMonster – The best WordPress popup plugin

Once you have done that, you must connect the account to your WordPress site using the OptinMonster plugin. For details, see our guide on how to install a WordPress plugin.

Upon activation, a welcome screen will open up on your website. Here, click the ‘Connect Your Existing Account’ button.

Connect your existing account

Once you have connected your WordPress site with OptinMonster, you will also have to connect it with WooCommerce.

To do this, visit the OptinMonster » Settings page from the WordPress dashboard and click the ‘Auto Generate Keys + Connect WooCommerce’ button.

The WooCommerce and OptinMonster plugins will then be connected to each other.

Auto generate keys and connect WooCommerce

Next, visit the OptinMonster » Templates page from the WordPress admin sidebar.

From here, you can select any of the premade templates to create a cart abandonment popup for your store.

Choose the abandoned cart template

Once you do that, a prompt will open up on the screen, asking you to name your campaign.

Simply type in a name and click the ‘Start Building’ button.

Add campaign name for the abandoned cart popup

This will open OptinMonster’s drag-and-drop builder, where you will notice a popup preview on the right with blocks in the left column.

Here, you can add images, videos, CTAs, dynamic content, social media buttons, and more by simply dragging and dropping blocks.

For more detailed instructions, you may want to see our tutorial on how to create a WooCommerce popup to increase sales.

Edit abandoned cart popup

Once you are satisfied, switch to the ‘Display Rules’ tab from the top and expand the ‘current URL path’ dropdown menu.

This will open up a list of different settings. Now, select the ‘Exit Intent’ option.

After that, you can select the type of device where the popup will be displayed and configure its sensitivity.

Choose the exit intent option as the display rule

Next, choose the ‘Page Targeting’ option from the second dropdown menu on the left. Then, pick the ‘exactly matches’ option from the menu in the middle.

Once you do that, you must add the URL of the product checkout page in the field on the left.

Add checkout page as the display rule

Now, the abandoned cart popup will only be displayed once the visitor starts leaving the checkout page.

Finally, switch to the ‘Publish’ tab from the top and click the ‘Publish’ button to store your settings.

Publish the abandoned cart popup

The exit intent popup will now be displayed when the visitor tries to leave your WordPress website.

Here is a preview of how the abandoned cart popup will look in your WooCommerce store.

Abandoned cart popup preview

Send WooCommerce Cart Abandonment Notifications

Finally, another way to reduce cart abandonment is to set up push notifications on your website. These messages will be displayed inside the browser for users who have already left your online store.

Unlike emails or popups, push notifications don’t require you to collect additional user data like email addresses or phone numbers. This means that users may be more likely to opt in to the notifications, but you won’t be able to ask for their contact details.

To send WooCommerce cart abandonment notifications, you can use PushEngage, which is the best push notification service on the market.

PushEngage has a custom-triggered campaigns feature that can send users abandoned cart push notifications. It also comes with powerful features like A/B testing, automatic drip campaigns, and smart opt-in reminders, and supports all devices and browsers.

First, you have to visit the PushEngage website and click the ‘Get Started For Free Now’ button.

PushEngage

This will take you to the pricing page, where you have to select a plan for your online store. Keep in mind that the triggered campaign feature is only available in the Growth plan.

After that, create your PushEngage account and provide website details like your domain name, industry, company size, and more.

Provide website details to complete the signup process

Upon account creation, you will then be taken to the PushEngage dashboard, where you must provide your website URL and name.

You also have to add an image that will be used as a site icon in your push notifications.

Choose an icon image for push notifications

Once you do that, visit the Campaign » Triggered Campaign page from the PushEngage dashboard.

Here, you need to click the ‘+ Create New Triggered Campaign’ button.

Click the Create New Campaign button

This will open another screen where you will see a list of premade templates by PushEngage.

Go ahead and click the ‘Create’ button under the ‘Cart Abandonment’ template.

Choose the cart abandonment push notification template

You will now be taken to another page where you can start by adding a name for the triggered campaign that you are creating.

Once you do that, click the ‘>’ icon on the right to configure push notification settings.

Edit the cart abandonment push notification template

This will expand the tab and you can start by adding a notification title and message in the prompt.

You will notice that the ‘Notification URL’ and ‘Image URL’ fields will already have variables. We recommend leaving these settings as they are.

When the user sees this notification, they will also see an image of the product they added to their cart in the image section, while the notification URL will direct them to the checkout page.

Add the notification title and URL

Upon configuring these settings, switch to the ‘Trigger Settings’ tab from the top.

Here, you will see that the conditional logic for the campaign has already been configured. It will send a push notification to a user once they have added an item to the cart and left your website. The notification will stop displaying once the user is back on the checkout page.

Next, you have to click the ‘Activate Triggered Campaign’ button. After that, you also have to click the ‘Integration Code’ button.

Activate the Triggered campaign

This will open a prompt on the screen displaying multiple code snippets for your website, including the add-to-cart event, checkout event, and goal tracking.

Simply copy these snippets and paste them on your WordPress site. Keep in mind that you will need a developer to fill out these snippets with the variables used on your website.

If you don’t want to hire a developer, then you can also contact the PushEngage Customer Success team, and they will set up the campaign for you.

Copy the integration code

Finally, click the ‘Activate Autoresponder’ button to store your settings.

Now, the customers who abandon their carts will be sent a cart abandonment push notification.

Click the Activate Autoresponder button

Here is an example of a cart abandonment notification sent to a user.

As you can see, the notification has a photo of the product and a link to the checkout page.

Abandoned cart notification preview

You can also connect the PushEngage software with your WordPress site to create different kinds of push notifications, including sending notifications upon a sale, successful transactions, and more.

For details, see our tutorial on how to add web push notifications to your WordPress site.

Bonus: Use WooCommerce Automations to Increase Sales

Apart from sending cart abandonment emails, you can also use other automated workflows to increase your WooCommerce sales.

An automated workflow is a sequence of tasks that is executed once an event is triggered on your website. You simply set up the trigger and the action, and the automation will take care of the rest.

For example, you can send automated coupons to bring back users to your website or create personalized email marketing strategies.

You can do all of this using Uncanny Automator, which is the best WordPress automation plugin on the market.

It is super easy to use and can connect your WooCommerce store with over 150 tools like WPForms, Zoom Meetings, Facebook, Twilio, and WhatsApp to create automated workflows.

Uncanny Automator

With Uncanny Automator, you can send emails and SMS messages to users upon a failed transaction, product statuses, coupons, product reviews, and so much more.

You can also create, update, and delete users based on various triggers, like user registration or form submissions.

For detailed instructions, you can see our tutorial on how to create automated workflows in WordPress with Uncanny Automator.

We hope this article helped you learn how to use WooCommerce cart abandonment emails push notifications, SMS, and popups. You may also want to see our tutorial on how to customize the WooCommerce checkout page and our expert picks for the best WooCommerce plugins for your online store.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Set Up WooCommerce Abandoned Cart Emails (+ 3 Alternatives) first appeared on WPBeginner.

Build a Spring Boot REST Application With Gradle

In this tutorial, we will create a simple RESTful web service using Spring Boot and Gradle. Spring Boot makes it easy to create stand-alone, production-grade Spring-based applications, and Gradle is a powerful build tool that simplifies the build process.

What Is REST?

REST, Representational State Transfer, is a set of architectural principles ensuring your APIs are interoperable, scalable, and maintainable. Imagine building Lego blocks — different applications can seamlessly interact with your API as long as they follow the RESTful guidelines, just like Legos click together regardless of their set.