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 your SkyGlue portal. However, we have received requests to track events that cannot be tracked automatically or be configured using SkyGlue portal. In these cases, you can use the following simple SkyGlue event tracking API (yes, we purposely made it similar to 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 “page not found” event so you know how a user gets to the error page:

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

With SkyGlue event tracking API, SkyGlue automatically adds 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 as Google Analytics events in Google Analytics event reports, same as the other SkyGlue events.

Read more on SkyGlue Javascript visitor tracking API