These functions are helper functions that work well with
streamlined, and provide ways to
sum, count, max etc, as you might in SQL, but with object streams!
[ 'Without even testing it I can see that this is an exceptional product and the idea of combining sales copy with video in one product is epic. This would definitely enhance the marketing efforts of struggling website marketers like myself who has tried a l',
'I saw there were 4 script options 1) book, 2) software 3) coaching and something else.\n\nWhat if my product doesn\'t fit into any of those categories?\n\nNext point: once I write a script once with Something, why do I need Something again if the script is going to fo' ],
'webmail.myway.com': [ 'Excited to see what it can do. This is definitely an awesome game-changer in design! Thank you for this opportunity...' ] }
*/
});
Calculate a marketing funnel
Given a stream of events, you can easily calculate marketing funnel metrics.
You just need to provide the path to the event name field, the path to a
property used to identify your users, and then a list of events that you wish
all your users to go through.
Counts will only be given if the user has gone through previous steps in the
funnel.
var dagg =require('defunct-aggregates'),
sl =require('streamlined');
myObjectStream()
.pipe(sl.aggregate('event',// the event name
dagg.funnel('properties.distinct_id',// the user id to link events