Note: This article references Athos Commerce's advanced Segmented Merchandising feature.
Currently, Athos does not offer direct reporting to reflect segmentation in merchandising. If you would like to track the performance between the different segments you are merchandising, you can easily do so by sending your segment tags to Google Analytics at the same time you send them to Athos.
Step 1. Sending the event to Google Analytics
Sending an event to Google Analytics is a very simple one line of code. Below you can see examples of how we suggest you send the segment tag alongside different implementation options. The examples listed here are for a manually-setup A/B test, but can be used in many ways.
Example with an API Integration:
https://[siteid].a.athoscommerce.net/v1/search?&siteId=YOURSITEID&tag=merch.segment/YOURTAGHERE
<script>
ga('send', 'event', 'ABTESTNAME', 'YOURTAGHERE', {'nonInteraction': 1});
</script>Troubleshooting
Sometimes your GA tracking instance will be named something specific that you will need to append before the "send" text. We suggest using a debugging tool such as Google Analytics Debugger to find the correct instance name on your store.
Once you have found it, simply prepend it with a dot before the "send" parameter like so:
<script>
ga('gtm22.send', 'event', 'ABTESTNAME', 'YOURTAGHERE', {'nonInteraction': 1});
</script>
Step 2. Setting up segments within Google Analytics
Once you are sending these custom events to your Google Analytics account, you can set up your reports. Go to any report; we suggest Behavior → Events → Overview, as we'll be digging deeper into this section for the final report.
Select "Add Segment" above the graph.
In the section that opens, click the red "New Segment" button.
To define your segment, go to the "Conditions" tab underneath "Advanced".
Set up a filter by filtering "Sessions Include":
- Event Category exactly matches <your test name from above>
- AND Event Action exactly matches <one of the tags you are sending>
Once those are set, name your Google Analytics segment something familiar and click Save.
You will want to make a new Google Analytics segment for each segment you are using in Athos' Segment Merchandising.
Once your segments have been configured, you can divide them in any report you'd like. We suggest going to Behavior → Events → Top Events and then selecting the "Ecommerce" option under Explorer, just under the list of segments.
Comments
0 comments
Article is closed for comments.