How to automatically generate segments


We built a nifty hack into Lickstats so that you can create segments on the fly. If you're in a rush, there's no need to go back to the dashboard until you want to analyze your campaign stats.


STEP 1 - Copy your campaign link from the dashboard or browser extension and paste it into a text editor or spreadsheet to make alterations (read the segment at the bottom of this article to understand why).


STEP 2 - Simply add a forward slash (/) and append your segment names to the end of the link. For example, adding /test to the link (i.e. will automatically create a segment called test in our try campaign, which we can analyze in the dashboard.


STEP 3 - Copy the link over to where you wish to share it and press that publish button.

Windows: Ctrl + C
Mac: Command + C


STEP 4 - Click the link, or wait for your audience to do it for you. As soon as the campaign link and associated segment is parsed by the Lickstats router, the segment will be automatically generated in your dashboard.


Nested segments


Try nested segments! For example, this post links to our blog post on the Lickstats browser extensions. At Lickstats, we hierarchically organize these tags first under the hc tag (for 'help center') and second by the name of the originating article.


Typing /hc/auto-segments at the end of our campaign link thus creates the desired segment structure automatically for us. You can see the final result here after the link has been clicked.


Plan ahead to keep it tidy


Unfortunately, many services will crawl a site as you're typing the link. This means that your dashboard can get cluttered if you're not careful with the sites you automatically generate segments on. For example, here you can see that we were typing live into Reddit. Oops! We recommend writing draft copy in a text editor and copying it over to the final channel to play it safe.

This power user feature is intended for advanced users who know their way around these quirks or those who wish to generate them programmatically using scripts.

Zane Pocock