Comments (6)
hello @dustinlarimer i might help with this issue, but still confusing with the approach. in this issue you reference using vue plugin but then i see in react example using flux, because i think vue equivalent of flux is vuex. if you want an implementation using vuex, i can help you.
from keen-tracking.js.
@tesarwijaya thanks for the offer – Vuex looks super cool.. perhaps it might look something like this?
const Keen = require('keen-tracking');
const client = new Keen({
/* Configure */
});
client.extendEvents(() => {
/* Baseline Data Model */
});
const keenPlugin = store => {
// called when the store is initialized
store.subscribe((mutation, state) => {
client.deferEvent('app-actions', {
'mutation': mutation,
'state': state
});
});
};
Is there a better approach to this? Vue.js is rather new to me, so if you have any suggestions I'd love to hear them! Perhaps there are multiple instrumentation strategies to cover in addition to Vuex?
from keen-tracking.js.
that's exactly what i want to try. and i think that is ideal to approach.
from keen-tracking.js.
Great! If you would like to tackle it, then go right ahead 🚀
from keen-tracking.js.
gonna make PR asap 👍
from keen-tracking.js.
@tesarwijaya thanks for your help on this! Please shoot an email to [email protected] 👍
from keen-tracking.js.
Related Issues (20)
- respect navigator.donottrack HOT 1
- new defaults for v5
- autocollector - on click - add exact mouse/touch x, y values
- tracking of the form fields - bounce rates
- add more mobile device-related info to the events in Autocollector
- Client-side CORB Warning HOT 9
- Script throws an exception if localStorage is disabled HOT 2
- remove fetch polyfill HOT 2
- remove promise polyfill
- Cross Origin Read Blocked For Beacon API HOT 1
- send form fields on form submission
- Loading the tracker triggers a forced layout
- return responce.created
- Packaging Issue with 4.5.1 HOT 2
- Add way to define custom headers to extendEvents()
- Changelog is missing for 5.0 HOT 3
- Keen tracking on server side is not reusing connections
- serializeForm breaks form when submit is named HOT 4
- Is this project still maintained?
- Local community event tracker
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keen-tracking.js.