Snowplow Mini - Not sending events


#1

Hi all,

We’re trying to use Snowplow Mini as a debugging platform to test tracking before deploying to our main instance.

I’m currently tagging a new site. I have taken the Snowplow javascript tracker code and replaced our own endpoint with that of our Snowplow mini (through GTM). When I preview this, I can see in the javascript console that our Mini endpoint has been appended with

/com.snowplowanalytics.snowplow/tp2

and this results in an error.

This behaviour appears to be the same on our other sites that are running the javascript tracker pointing to our main Snowplow instance, so I’m not sure why this is happening.

Do I need to change anything else in the javascript code for this to work?


#2

Hi @jrpeck1989 ,

What’s the error you’re seeing? If you send data using POST the correct behaviour is to send it to the {{collector URL}}/com.snowplowanalytics.snowplow/tp2. In contrast if you sent GET requests these are sent to {{collector URL}}/i. So that is as expected…

Yali