I can’t find any way to use snowplow in a way that’s similar to other common libraries. Essentially what I want is something like
import snowplow from 'snowplow-tracker'
const tracker = snowplow(domain, appId, false)
tracker.trackStructEvent(stuff)
but, as far as I can tell, that’s not an option without embedding script tags into the html? Am I missing something or has anyone done something like this?