Skip to content

v4.2.0

Compare
Choose a tag to compare
@dariuszlacheta dariuszlacheta released this 20 Feb 10:22
· 60 commits to master since this release

New features:

AutoCollector:

  • Ability to track views of the HTML elements

All HTML elements with a class .track-element-view will be observed by the browser. If any of them appears on the screen, an event will be recorded. The event will contain specific attributes from the visible element and nest them in the element property.
Note: This feature works only on the browsers that support Intersection Observer.

{

  "element": {
      "title": "Track element view",
      "text": null,
      "class": "track-element-view",
      "event_key": null,
      "node_name": "DIV",
      "href": null,
      "x_position": 8,
      "y_position": 830,
      "selector": "body > div:eq(1)",
      "id": null
    }

}