A huge variety of behavior can get lumped in with customer behavior. Some behavior is positive, some negative, and some neutral.
Loyalty and retention programs at their core are tying to encourage a limited set of positive behavior (e.g. buying, social sharing). There's more behavior that you might want to encourage or discourage in your store though.
It's a good practice to sit down and list what behavior an ideal customer would have. Consider all types, don't limit yourself to just positive behavior.
If you describe exactly how an ideal customer would interact with your store, it can become easier to build systems to support or discourage that behavior. Those systems will make running the store easier as customers are guided closer to becoming your ideal customer.
Eric Davis
Analyze your customer behavior
A quick and automatic way to measure your customer behavior is with Repeat Customer Insights. It'll automatically import your Shopify data and run a number of analyses to highlight different customer behavior.