snowplow-js-tracker-snippets

Snowplow javascript tracker snippets for Atom

Nathan Jenkins

154

1

Bug Reports

1.4.0

MIT

GitHub

Snowplow javascript tracker snippets for Atom

Build Status

Snippets for working with the Snowplow Javascript Tracker within Atom

Supported methods

Add

addEnhancedEcommerceActionContext

[spaddecommaction]

addEnhancedEcommerceImpressionContext

[spaddecommimpr]

addEnhancedEcommerceProductContext

[spaddecommprod]

addEnhancedEcommercePromoContext

[spaddecommpromo]

addItem

[spadditem]

addTrans

[spaddtrans]

Enable

enableActivityTracking

[spenableact]

enableErrorTracking

[spenableerror]

enableLinkClickTracking

[spenablelink]

Flush

flushBuffer

[spflush]

New

newTracker

[spnew]

Refresh

refreshLinkClickTracking

[sprefreshlink]

Set

setCustomUrl

[spsetcustomurl]

setOptOutCookie

[spsetoptout]

setReferrerUrl

[spsetreferrerurl]

setUserId

[spsetuid]

setUserIdFromCookie

[spsetuidfromcookie]

setUserIdFromLocation

[spsetuidfromloc]

setUserIdFromReferrer

[spsetuidfromref]

setVisitorCookieTimeout

[spsetcookietimeout]

Track

trackAdClick

[sptrackadclick]

trackAdConversion

[sptrackadconv]

trackAdImpression

[sptrackadimp]

trackEnhancedEcommerceAction

[sptrackenhanced]

trackLinkClick

[sptracklink]

trackPageView

[sptrackpage]

trackSelfDescribingEvent

[sptrackself]

trackSiteSearch

[sptracksitesearch]

trackSocialInteraction

[sptracksocial]

trackStructEvent

[sptrackstruct]

trackTiming

[sptracktiming]

trackTrans

[sptracktrans]

trackUnstructEvent

[sptrackunstruct]

Update

updatePageActivity

[spupdatepage]