Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-08-23 12:38:24 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-08-23 12:38:24 +0400
commitedfd3959a20b6dfa9b0f8c2104ac423a540df416 (patch)
treeeaaef799ff0da63d913219a0c350520dcd559bdd /misc/internal-docs/content-tracking.md
parent39d7cbdf23475cc6ae16231e92fbda7719039d3d (diff)
refs #4996 some more questions about content tracking
Diffstat (limited to 'misc/internal-docs/content-tracking.md')
-rw-r--r--misc/internal-docs/content-tracking.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/misc/internal-docs/content-tracking.md b/misc/internal-docs/content-tracking.md
index 396df15f67..8cc5efa5ff 100644
--- a/misc/internal-docs/content-tracking.md
+++ b/misc/internal-docs/content-tracking.md
@@ -17,6 +17,14 @@ This is the technical concept for implementing content tracking. We won't plan a
5. I assume there can be nested content in theory. A piece of content that contains another piece of content. In this case we have to be careful when automatically picking name, target, ...
6. We would probably also need an attribute like data-target="$target" and/or the possiblity for data-trackclick="$target" since not all links might be defined via href but onclick javascript links
7. HTML Attributes always take precendence over css classes or the other way around (if both defined)?
+8. Do we need to support IE7 and older? Firefox 3 and older?
+9. "Maybe we could automatically detect when such element becomes visible, and send the Impression event automatically"
+ * I think we can detect whether a specific content was visible at a specific time in most cases but not necessarily automatically. We would have to check the DOM for this every few ms (in case of Carousel) and we'd also have to attach to events like scrolling etc. This can make other peoples website slow, especially on mobile but even browser. Website owners usually want to achieve 60fps to have animations and scrolling smooth and they usually invest a lot of time to achieve this. So it has to an opt-in if at all
+ * Do I understand it right that we send an impression only if it is visible?
+ * We'd probably have to offer a mode to send all banners independend of visibility
+ * We'd probably have to offer a mode to rescan all banners again at a certain time and only track those content pieces now that were not visibile before but are now
+ * We'd probably have to offer a method to pass a DOM node and track it independent of visibility (useful for instance in case of carousel when the website owner already knows a specific content piece is visible now but does not want to use expensive events for this)
+ * We'd maybe have to offer a mode where we are trying to detect automatically when an impression becomes visible and send it
## Tagging of the content piece declarative
In HTML...