diff --git a/Gulpfile.js b/Gulpfile.js index 975ba90..27f0d4d 100644 --- a/Gulpfile.js +++ b/Gulpfile.js @@ -6,7 +6,7 @@ const pinfo = require("./package.json"); gulp.task("readme-version", function () { return gulp - .src("src/README.md") + .src("src/readme.*") .pipe(replace("$PLUGINVERSION$", pinfo.version)) .pipe(replace("$PLUGINATLEAST$", pinfo.config.eduadmin.requiresAtLeast)) .pipe(replace("$PLUGINTESTEDTO$", pinfo.config.eduadmin.testedUpTo)) @@ -34,7 +34,7 @@ gulp.task("plugin-version", function () { gulp.task("default", function () { gulp.watch("src/eduadmin-google.php", gulp.series("plugin-version")); - gulp.watch("src/README.md", gulp.series("readme-version")); + gulp.watch("src/readme.*", gulp.series("readme-version")); gulp.watch( "package.json", gulp.series("readme-version", "plugin-version") diff --git a/README.md b/README.md deleted file mode 100644 index 5195d18..0000000 --- a/README.md +++ /dev/null @@ -1,23 +0,0 @@ -=== EduAdmin - Google Analytics / Tag Manager === -Contributors: mnchga -Tags: booking, participants, courses, events, eduadmin, lega online, google, analytics, tag manager -Requires at least: 5.8 -Tested up to: 6.4 -Stable tag: 1.0.0 -Requires PHP: 7.0 -License: GPL3 -License-URI: https://www.gnu.org/licenses/gpl-3.0.en.html -This plugin adds support for Google Analytics / Tag Manager to your EduAdmin plugin (WordPress only, not the course portal). - -== Description == - -# EduAdmin - Google Analytics / Tag Manager WordPress - -This plugin adds support for Google Analytics / Tag Manager to your [EduAdmin-Wordpress plugin](https://github.com/MultinetInteractive/EduAdmin-WordPress). - -The plugin will add javascript to your website that will send events to Google Analytics / Tag Manager when a user interacts with the booking form. - -The domain of the javascript will be from https://www.googletagmanager.com, and you can find their terms of service here: -https://www.google.com/analytics/terms/tag-manager/ - -This plugin requires that you're using the [EduAdmin-Wordpress plugin](https://wordpress.org/plugins/eduadmin-booking/) \ No newline at end of file diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..e772f0e --- /dev/null +++ b/readme.md @@ -0,0 +1,23 @@ +# EduAdmin - Google Analytics / Tag Manager + +- Tags: booking, participants, courses, events, eduadmin, lega online, google, analytics, tag manager +- Requires at least: 5.8 +- Tested up to: 6.4 +- Stable tag: 1.0.0 +- Requires PHP: 7.0 +- License: GPL3 +- License-URI: https://www.gnu.org/licenses/gpl-3.0.en.html + +## Description + +This plugin adds support for Google Analytics / Tag Manager to +your [EduAdmin-Wordpress plugin](https://github.com/MultinetInteractive/EduAdmin-WordPress). + +The plugin will add javascript to your website that will send events to Google Analytics / Tag Manager when a user +interacts with the booking form. + +The domain of the javascript will be from https://www.googletagmanager.com, and you can find their terms of service +here: +https://www.google.com/analytics/terms/tag-manager/ + +This plugin requires that you're using the [EduAdmin-Wordpress plugin](https://wordpress.org/plugins/eduadmin-booking/) \ No newline at end of file diff --git a/scripts/github-deploy.sh b/scripts/github-deploy.sh index 0d56c6c..6d03b80 100644 --- a/scripts/github-deploy.sh +++ b/scripts/github-deploy.sh @@ -42,6 +42,7 @@ rm -fR "$PROJECT_ROOT"/scripts rm -fR "$PROJECT_ROOT"/.git rm -fR "$PROJECT_ROOT"/node_modules rm -fR "$PROJECT_ROOT"/src +rm -fR "$PROJECT_ROOT"/readme.md # Make sure we are in the project root cd "$PROJECT_ROOT" diff --git a/src/readme.md b/src/readme.md new file mode 100644 index 0000000..3478635 --- /dev/null +++ b/src/readme.md @@ -0,0 +1,23 @@ +# EduAdmin - Google Analytics / Tag Manager + +- Tags: booking, participants, courses, events, eduadmin, lega online, google, analytics, tag manager +- Requires at least: $PLUGINATLEAST$ +- Tested up to: $PLUGINTESTEDTO$ +- Stable tag: $PLUGINVERSION$ +- Requires PHP: $PLUGINREQUIREDPHP$ +- License: GPL3 +- License-URI: https://www.gnu.org/licenses/gpl-3.0.en.html + +## Description + +This plugin adds support for Google Analytics / Tag Manager to +your [EduAdmin-Wordpress plugin](https://github.com/MultinetInteractive/EduAdmin-WordPress). + +The plugin will add javascript to your website that will send events to Google Analytics / Tag Manager when a user +interacts with the booking form. + +The domain of the javascript will be from https://www.googletagmanager.com, and you can find their terms of service +here: +https://www.google.com/analytics/terms/tag-manager/ + +This plugin requires that you're using the [EduAdmin-Wordpress plugin](https://wordpress.org/plugins/eduadmin-booking/) \ No newline at end of file diff --git a/src/README.md b/src/readme.txt similarity index 100% rename from src/README.md rename to src/readme.txt