SkyGlue Javascript Event Tracking API

Although you can use SkyGlue to track most of the user interactions automatically, you can also config event tracking in the SkyGlue portal. However, we have received requests to track events that can neither be tracked automatically nor be configured in the SkyGlue portal. In these cases, you can use the following simple SkyGlue event tracking API (Yes, we purposely made it similar to the GA event tracking API, but just simpler, so you can easily use it.).

_sgq.push([“_trackEvent”,”Your Event Name”]);

For example, you simply need to add the code below to your web page to track the “page not found” event so you know how a user gets to the error page:

What’s the benefit of using the SkyGlue event tracking API vs. Google Analytics event tracking API?

With the SkyGlue event tracking API, SkyGlue automatically adds an user ID and timestamp to the event, similar to the other SkyGlue events so you can review the visitor’s event sequence in the SkyGlue visitor report. Of course, you can also see these events in your Google Analytics event reports, same as the other SkyGlue events.

Read more on SkyGlue Javascript visitor tracking API