Add tracking for pagination clicks and errors