diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..4a7ea30 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false diff --git a/README.md b/README.md new file mode 100644 index 0000000..4cef2f3 --- /dev/null +++ b/README.md @@ -0,0 +1,44 @@ +| :exclamation: This plugin in pre-release stage | +|-------------------------------------------------| + + +# Wide Angle Analytics for Vue.js + +Enable **privacy-friendly** web analytics in your Vue.js 3.x application with our official plugin. + +[Wide Angle Analytics](https://wideangle.co) is powerful, strictly-GDPR compliant Google Analytics alternative. + +# How to get started + +You can enable Wide Angle Analytics in your Vue.js projects in just few steps. No complex configuration needed as our sane defaults give you reliable and privacy centric deployment out of the box. + +1. Go to [Wide Angle](https://wideangle.co) website, create an account. You can create free 14-day trail. No Credit Card is required. [Learn more.](https://wideangle.co/documentation/create-account) +2. [Create new Site](https://wideangle.co/documentation/create-and-configure-site) and activate it. +3. Install `wideangle-vuejs` plugin in your Vue application. + +```npm install wideangle-vuejs``` + +4. Enable and configure plugin. + +```javascript +import WideAnglePlugin from 'wideangle-vuejs' + +app.use(WideAnglePlugin) + +``` + +# Configuring Wide Angle Analytics plugin + +:construction_worker: * TODO* + +# Usage + +## Tracking Pageviews + +## Tracking Events + +### Tracking Clicks + +### Tracking Downloads + +### Tracking Custom Actions diff --git a/index.js b/index.js new file mode 100644 index 0000000..44f800b --- /dev/null +++ b/index.js @@ -0,0 +1,7 @@ + + +export default { + install: (app, options) => { + + } +} \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..420482e --- /dev/null +++ b/package.json @@ -0,0 +1,20 @@ +{ + "name": "wideangle-vuejs", + "version": "0.0.1", + "description": "Wide Angle Analytics web analytics Plugin for Vue.js 3.x", + "homepage": "https://wideangle.co", + "repository": "github:inputobjects/wideangle-vuejs", + "main": "index.js", + "scripts": { + }, + "keywords": [ + "wide angle analytics", + "web analytics", + "vue.js", + "vuejs", + "plugin", + "vuejs plugin" + ], + "author": "Wide Angle Analytics ", + "license": "Apache-2.0" +} diff --git a/src/index.js b/src/index.js new file mode 100644 index 0000000..a76440f --- /dev/null +++ b/src/index.js @@ -0,0 +1,3 @@ +import WideAngle from './wideangle.js'; + +export default WideAngle; diff --git a/src/wideangle.js b/src/wideangle.js new file mode 100644 index 0000000..b1c6ea4 --- /dev/null +++ b/src/wideangle.js @@ -0,0 +1 @@ +export default {}