For more details see how the Push Notifications for Magento 2 extension works.
With Magento 2 Push Notifications, get higher conversion rates and, thus, increase profits by reinforcing contacts with your target customers. Send attractive push notifications to trigger repeat purchases and maintain customers' loyalty.
To install the GeoIP database, go to Stores → Configuration → Amasty Extensions → GeoIP Data.
You can get the databases automatically or import your own data.
Hit the Download and Import button to make the extension download the updated CSV dump file and import it into your database automatically.
To import the files from your own source, use the Import option. Path to the files should look like this (the part 'var/amasty' should be replaced with your folders’ names):
var/amasty/geoip/GeoLite2-City-Blocks-IPv4.csv var/amasty/geoip/GeoLite2-City-Blocks-IPv6.csv var/amasty/geoip/GeoLite2-City-Locations-en.csv
The database included in the extension was last updated on October 24, 2023. To keep the IP database current, you can update it using one of two methods.
Refresh IP Database - select the appropriate method for refreshing the IP database:
You can enable IP forcing, which makes it possible to set a specific IP address that will be used instead of the visitor's real IP address when determining geolocation. The feature is useful while configuring or testing the extension.
Enable Force IP - set to Yes to replace the real IP address.
Force IP Address - specify the address to use instead of a real one.
To configure the extension, please, go to Stores → Сonfiguration → Amasty extensions → Push Notifications.
In the General Settings section, enable the extension and enter the Firebase Project ID, Sender ID, API Key, App ID, and Firebase Json Config Path in the appropriate fields.
To get these details, navigate to your Firebase Console account and take the following steps:
1. Add a new project or open the existing one;
2. Go to Project Overview → Project Settings:
3. Open Service Accounts tab and click the Generate new private key button:
4. Once the file is downloaded, upload the key to your Magento root folder and specify the path in the Firebase Json Config File Path setting of the extension, starting with a slash (/);
5. Then, go back to the Project Settings and open the Cloud Messaging tab:
6. Copy the Sender ID and insert it into the corresponding setting in the extension;
7. After this, find and copy the Project ID in the General tab of the Firebase Console. Paste it into the Project ID field;
8. The next step is to register your app in the General tab of the Firebase Console:
9. Finally, find and copy the apiKey and the appId and insert them into the appropriate fields of the extension (API Key and App ID).
In the Design Settings section, insert an image/logo that will be displayed in push notifications by default (unless you upload another image while configuring a campaign).
In the Prompt (Subscription Pop-up) Settings section, specify the next settings:
Enabled - enable the prompt message (subscription pop-up) to collect customers consents for the subscription. The subscription process does not require any customers' info.
Enable prompt for - configure display options for different devices. Uncheck Mobile and Tablet, if the subscription pop-up prevents viewing the site's content on these devices.
Prompt text - specify the text you want to display in the subscription pop-up. Make it as attractive to customers as possible (for example, offer them to subscribe to get special deals) - on this step your aim is to motivate customers to leave a consent for getting notifications.
Prompt Position - adjust the settings to put the notification pop-up in the proper position, where it won't hide other elements of your site.
Show delay (seconds) - set up the time interval between a page load and the subscription pop-up appearance.
Set the frequency of prompt display for the same customer - choose how frequently to show the prompt to those who haven't subscribed yet. Available frequency:
Show the prompt on all pages - enable if you want to show the subscription pop-up on each page of your store website. Otherwise, list the pages to place the prompt on in the following field - Pages to show the prompt on. Place each page on a separate line.
Here's the example of how the subscription pop-up will be displayed to customers:
In the No Spam section, specify the Max. number of notifications per customer daily. This feature is designed to protect your notifications from being regarded by customers as spam.
To launch a campaign or manage the existing ones, go to Marketing → Campaigns.
On the campaigns grid:
To create a new campaign, click the New Campaign button.
In the General section, specify the next fields:
Name - give a name to your campaign;
Schedule to - choose the date and time (accurately to seconds) to launch your campaign;
Segmentation Source - this option allows to segment customers by groups (you may apply campaign to particular groups of customers);
Customer Groups - specify customer groups to show push notifications to, or leave the field empty to apply campaign to all customer groups;
Store View - define store views to which you launch the campaign;
Active - enable or disable the campaign.
Now, let's proceed to the Notification Settings section.
Message Title - specify the title for push notifications - formulate the core incentive;
Message Body - specify the body text for push notifications;
Logo image - insert an image/logo you want to display in the campaign's notifications (when not inserted, the default logo will be used);
Pop-up notification URL - provide the link you want to direct your subscribers to;
UTM parameters for tracking - specify UTM parameters to track your visitors and understand how they interact with your store pages.
For profound analyses of campaigns held, check the Analytics Dashboard located at Marketing → Dashboard.
Use the statistics gained to improve your campaigns and maximize profits. The data available:
To see all the subscribers with the accompanying data, go to Marketing → Subscribers.
Get and analyze all the necessary information about your subscribers (your main target audience), e.g. their location, source, store view, the date of the subscription, etc.
Magento 2 Push Notifications extension is preintegrated with Cron Tasks List to provide store owners with an opportunity to track and manage all cron tasks running in the website background.
To view all scheduled and executed cron tasks, go to System → Cron Tasks List
Run all cron tasks and generate their schedule by clicking the ‘Run Cron’ button. Also you can delete separate tasks in bulk, apply filtering and sorting options when it is needed.
Find out how to install the Push Notifications extension via Composer.