Welcome to the documentation page of NPOTag, a project hosted by the Data Integration, Recommendation and Search (DIAZ) team of the NPO. This SDK allows for event measurement for both AT Internet and Govolte.
The NPO Tag was born out of a need to bring both the Govolte Tracker and the Publieks Onderzoek online measurements closer together.
The NPOTag is a tagging wrapper developed by DIAZ, and forms the basis for the recommendations and data analysis at the NPO.
The NPO Tag is essentially a wrapper around two distinct analytics SDKS, the govolte (gvt.js) SDK used by the NPO DIAZ Team
and the Piano (smarttag.js) SDK used by the NPO Publieks Onderzoek department. Both teams share the same specification for measurements,
the so-called “tagplan”. This plan is managed by the data analysis team and available upon request (data-analyse@npo.nl). Although the fields are shared,
some values are only available to one of the departments, for example the ProfileId (only available to DIAZ).
Who is this documentation for?
This documentation is written for portal owners and developers. It documents the services we offer and the technical steps necessary to activate these services on a portal.
session_id is set differently than the rest because of the timeout of 30 minutes. This logic also led to a failed storage when localstorage is switched off in the browser. This fix will at least make sure events on the same page share the session.
Fixed an edge case where the Piano ATVisitorID stored in the Piano plugin and local storage could run out of sync. This should improve correct user identification (preventing known users from erroneously getting classified as new ones), though it is unknown how often this edge case has occurred.
The newTag() constructor had an optional serializedSessionInfo parameter introduced in 2.2.0. It is removed and now has its own dedicated contructor newTagFromSession()
Additional changes
Expanded session export with brand an platform info