Probabilistic modelling for clickstream analysis