Ga plugin integration

We have snowplow R110 setup with scala sctream collector and stream enrich.
What we require is GA plugin integration

So…

Does ga-plugin works with scala-stream collector or it requires closure collector only?
If it can work with scala stream collector, what changes should we expect to our original setup ?

Hi Folks…any answers to this questions…
if GA plugin works with scala collector?

Hi @ChetanRalkar, @kaustubh.umalkar,

The plugin is available for both stacks. Please, check out this wiki page for the setup details.

thanks.

Hi @egor, @ihor,

I tried to integrate ga plugin to snowplow as per above wiki. But getting following error at front end only

sp-ga-plugin.js:36 POST https://qa.dpulz.io/com.google.analytics/v1 404 (Not Found)
Access to XMLHttpRequest at ‘https://qa.dpulz.io/com.google.analytics/v1’ from origin ‘http://mydomain.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

where qa.dpulz.io is my collector
My snowplow tables got populated but not the google analytics one

Another,
com.google.analytics/v1 this path is not defined in collector nginx like what we have defined for /i

Is there any extra collector configuration which is missing on above wiki?

I have found this though on internet,
only the Clojure Collector in Snowplow supports the Google Analytics adapter. Hopefully they’ll release support for the Scala Stream Collector soon, as it will give you access to that sweet, juicy Google Analytics real-time data! Make sure you follow the Snowplow discussion forum - it’s a good place as any to get information on the roadmap.

are you sure it will work with scala stream collector?

@ChetanRalkar, you might need to ensure the latest version of Scala collector. The GA adaptor at the collector with endpoint com.google.analytics/v1 would be available in later versions only.

You could test GA plugin with Snowplow Mini, which is a real-time pipeline in miniature (with Scala stream collector).