Comments (3)
Can you please clarify what you're asking for? If you want autotrack to be included in the polymer starter kit, it's probably best to open an issue on that repo.
from autotrack.
I think this is more about wrapping app the project as a polymer web component.
Unfortunately, it is not a trivial task:
- Create a web component e.g. "auto-track"
- Formailize a mechanism to configure each of the plugins - "auto-track"
- A standard way for other polymer components to talk with auto-track i.e. what event should go off when.
- Create additional elements and a plugin for auto-tracking of enhanced e-commerce events
- Add it all to the Starter Kit.
from autotrack.
I don't think an <auto-track>
element would work in isolation because many of the autotrack plugins need to be required
prior to the first pageview being sent or the pageview won't contain the right data. To put that another way, if a developer is currently using the default tracking snippet, there's no away a custom element could properly insert itself between the tracker's creation and the sending of the first pageview.
Perhaps a more general analytics tracking element could take care of this (loading the script, creating the tracker, requiring autotrack, etc), but that would be a separate project.
If you'd like to see something like that, I'd suggest opening an issue on the Polymer Starter Kit repo.
from autotrack.
Related Issues (20)
- urlChangeTracker does not work HOT 1
- /
- hover event for eventTracker?
- Move dependencies to devDependencies HOT 1
- Is this the way to implement stepped scroll tracking?
- command not found: autotrack HOT 2
- cleanUrlTracker temperamental
- Twitter restablecer
- Support for VueJS and NuxtJS?
- Ecommerce Plugin
- hash tracker
- Library no longer maintained - what now? HOT 2
- Fff
- Send custom metrics with autotracking?
- Test
- Google analytics tracking doesn't require URL request to track a local R Shiny app HOT 1
- Failed to execute 'unobserve' on 'IntersectionObserver': parameter 1 is not of type 'Element'.
- Ahmed X
- Xx
- isssue
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 autotrack.