Last updated: 1st August, 2018
Segment is a customer data hub for easily managing multiple services running on your website. GoSquared integrates seamlessly with Segment.
Segment also has native iOS and Android libraries which can be used to pass tracking events from you mobile applications into GoSquared.
Do I need to pay extra to use Segment?
Using Segment With GoSquared
Assuming you've already signed up for a Segment account and have a Segment project set up:
- Install Segment on your website using one of their many plugins or libraries.
Skip this step if you're using a plugin. If you're using a library then make sure you're making calls to 'page' to track pageviews. To use GoSquared People make sure you're making calls to 'page' and 'identify'. Full reference here.
- If you haven't already, sign up for a free GoSquared account.
Click 'Install with Segment'.
Click the 'Connect with Segment Button'.
When the window opens, login to your Segment account (if prompted) and select a source from the dropdown menu. This is where you'll be adding GoSquared as a destination.
Open your website in a new tab and refresh the page a few times. This forces Segment to refresh and makes sure GoSquared is tracking your site.
Finally, you'll need to verify that GoSquared is receiving data by passing the Installation Check here.
That's it, you're done! No more coding or tweaking required!
Advanced Segment options
You can modify the Analytics code configuration options by clicking though to the 'Advanced Settings' section of the GoSquared integration.
You can set any of the configuration options listed in our technical documentation here.
Transaction Tracking (Ecommerce)
To use the Ecommerce dashboard with Segment, you need to make sure you are using the Segment 'Completed order' event. A 'Completed order' event gets mapped to a GoSquared transaction.
View the Segment documentation about the 'Completed order' event here: https://segment.com/docs/spec/ecommerce/#completing-an-order