Skip to content

Commit d9f1c0c

Browse files
committed
Merge branch 'release/1.0.1'
2 parents 166063d + 0366201 commit d9f1c0c

40 files changed

Lines changed: 1209 additions & 672 deletions

‎.chatgpt/about.txt‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
This file outlines what the FooConvert plugin does.
2+
3+
FooConvert allows you to create 3 different types of widgets: bars, flyouts, and popups.
4+
5+
FooConvert has a widget designer, which allows you to create and edit widgets using the Gutenberg block editor.
6+
7+
When you create a new widget, you can choose to start from a predefined template or start from scratch.
8+
9+
You can customize the appearance and behavior of each widget, with the following options:
10+
- Display Rules : this controls where the widget is displayed. Examples : all pages, on a specific page, on a specific post type, etc.
11+
- Open Trigger : this controls when the widget is opened. Examples : on page load, on page scroll, on timer, on anchor click, on exit intent, etc.
12+
- Appearance : you control the style, colors, size and layout of the widget.
13+
- Content : you can embed any block or shortcode within the widget.
14+
15+
FooConvert has an admin dashboard, which displays the following panels:
16+
- Getting started : a quick way to create demo widgets, or how to get started and create your first widget.
17+
- Top Performers : displays the top performing widgets (for example by engagements and views).
18+
- Help : links to support and documentation.
19+
- Premium Addons : a list of premium addons that extend the functionality of FooConvert.
20+
21+
There is also an admin page for Widget Stats, which shows the metrics and a recent activity chart for your widgets.
22+
Metrics include total events, views, visitors and engagements.
23+
The recent activity chart shows the daily number of events, views, visitors and engagements for the last 14 days.

‎.chatgpt/data.txt‎

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
This file outlines how data is stored within FooConvert.
2+
3+
FooConvert allows you to create 3 different types of widgets, which are stored as custom post types within WordPress.
4+
5+
Bar widgets use the post type "fc-bar".
6+
7+
Flyout widgets use the post type "fc-flyout".
8+
9+
Popup widgets use the post type "fc-popup".
10+
11+
The FooConvert plugin creates a single custom database table in the database when the plugin is installed.
12+
13+
The table is called "fooconvert_events", and it's purpose is to store events for widgets analytics.
14+
15+
The SQL statement for creating the "fooconvert_events" table is:
16+
17+
CREATE TABLE fooconvert_events (
18+
id bigint(20) unsigned NOT NULL AUTO_INCREMENT,
19+
widget_id bigint(20) unsigned NOT NULL,
20+
event_type varchar(255) NOT NULL,
21+
event_subtype varchar(255) DEFAULT NULL,
22+
conversion tinyint(1) DEFAULT NULL,
23+
sentiment tinyint(1) DEFAULT NULL,
24+
page_url text DEFAULT NULL,
25+
device_type varchar(50) DEFAULT NULL,
26+
anonymous_user_guid varchar(255) DEFAULT NULL,
27+
user_id bigint(20) unsigned DEFAULT NULL,
28+
extra_data longtext DEFAULT NULL,
29+
timestamp datetime DEFAULT $timestamp_default,
30+
PRIMARY KEY (id)
31+
);
32+
33+
An explanation of each field in the "fooconvert_events" table:
34+
- "id" is the primary key.
35+
- "widget_id" is the id of the widget that created the event. this is a foreign key to the WordPress post table.
36+
- "event_type" is the type of event. This is the most important field. It must be one of: 'open', 'click', 'close', 'update'.
37+
- "event_subtype" is the subtype of the event. Can be either 'engagement' or NULL.
38+
- "conversion" is a boolean that is true if the event is a conversion.
39+
- "sentiment" is a boolean that is true if the event sentiment is positive, false if it is negative, and null if it is neutral.
40+
- "page_url" is the url of the page that created the event.
41+
- "device_type" is the type of device when the event happened.
42+
- "user_id" is the WordPress user when the event happened. Will be null if not logged in.
43+
- "anonymous_user_guid" is the unique id of an anonymous user from the frontend. Will be null if logged in.
44+
- "extra_data" holds any extra data associated with the event. It can hold specific info about a conversion or an update.
45+
- "timestamp" is when the event happened.
46+
47+
There is a default retention period of 14 days for widget analytics. All event data older than the retention period is deleted in a daily cron job.

‎composer.json‎

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
"psr-4" : {
77
"FooPlugins\\FooConvert\\" : "includes"
88
},
9-
"classmap": [ "includes" ]
9+
"classmap": [ "includes" ],
10+
"files": [
11+
"vendor/freemius/wordpress-sdk/start.php"
12+
]
1013
},
1114
"extra": {
1215
"installer-paths": {
@@ -29,9 +32,20 @@
2932
},
3033
"require": {
3134
"composer/installers": "v1.12.0",
32-
"freemius/wordpress-sdk": "^2.10"
35+
"freemius/wordpress-sdk": "2.11.0"
3336
},
3437
"repositories": [
38+
{
39+
"type": "package",
40+
"package": {
41+
"name": "freemius/wordpress-sdk",
42+
"version": "2.11.0",
43+
"dist": {
44+
"type": "zip",
45+
"url": "dist/wordpress-sdk-2.11.0.zip"
46+
}
47+
}
48+
},
3549
{
3650
"type": "composer",
3751
"url": "http://repo.packagist.org"

‎composer.lock‎

Lines changed: 4 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎fooconvert.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*
33
Plugin Name: FooConvert - Boost Conversions & Lead Generation
44
Description: Turn clicks into conversions, visitors into customers – FooConvert is the ultimate catalyst for online success!
5-
Version: 1.0.0
5+
Version: 1.0.1
66
Author: FooPlugins
77
Plugin URI: https://fooplugins.com/fooconvert/
88
Author URI: https://fooplugins.com/
@@ -34,7 +34,7 @@
3434
define( 'FOOCONVERT_ASSETS_PATH', FOOCONVERT_PATH . 'assets/' );
3535
define( 'FOOCONVERT_ASSETS_URL', FOOCONVERT_URL . 'assets/' );
3636
define( 'FOOCONVERT_FILE', __FILE__ );
37-
define( 'FOOCONVERT_VERSION', '1.0.0' );
37+
define( 'FOOCONVERT_VERSION', '1.0.1' );
3838
define( 'FOOCONVERT_MIN_PHP', '7.4.0' );
3939
define( 'FOOCONVERT_MIN_WP', '6.5.0' );
4040
}

‎gulpfile.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const files = [
3333
"!{node_modules,node_modules/**,node_modules/**/*}",
3434
"!{src,src/**,src/**/*}",
3535
"!{.github,.github/**,.github/**/*}",
36+
"!{.chatgpt,.chatgpt/**,.chatgpt/**/*}",
3637
"!.gitignore",
3738
"!fs-config.json",
3839
"!gulpfile.js",

0 commit comments

Comments
 (0)