Added option to use default query params as data attributes