Hi,
There are couple of things I am struggling to develop an understanding on:
- Understanding enriched fields:
I am trying to understand the various fields from the js tracker. My aim is to stitch together page visits for a user + stitch actions for each page visit.
I understand at a high level these fields are relevant
event, event_id, user_id (this comes as null always), domain_userid, domain_sessionidx (always comes as 1, no matter if i reopen browser, or open a private browser), and for sequencing probably dvce_created_tstamp
- Many enriched fields are coming null for me. These are user_id, user_fingerprint, all geo fields (I am using the iplookup enrichment from maxmind lite city free version), all ip fields, all refr_ fields, all mkt_ fields, all se_ , all tr_, all ti_ , br_name, br_family, br_type, br_renderengine, event_fingerprint, true_tstamp.
My js tracker is as follows:
<script type="text/javascript" async=1>;(function(p,l,o,w,i,n,g){if(!p[i {p.GlobalSnowplowNamespace=p.GlobalSnowplowNamespace||[];p.GlobalSnowplowNamespace.push(i);p[i]=function(){(p[i].q=p[i].q||[]).push(arguments) };p[i].q=p[i].q||[];n=l.createElement(o);g=l.getElementsByTagName(o)[0];n.async=1; n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","http://<sp.js serving url>","snowplow"));snowplow('newTracker', 'sp', '<collector end point>', {appId: 'my-app-id',
contexts: {
webPage: true
}}); snowplow('enableActivityTracking', 30, 10);snowplow('trackPageView');</script>
I have gone through the user docs but unable to follow clearly. Can someone help me out?