How to get page name when using multiple views?

How do I get the page name of the current view page when using multiple views?

var mainView = app.views.create('.view-main', {
  name:'mainView',
  url: '/shop/',
});


var view2 = app.views.create('#view-2', {
  url: '/produktermobil/',
  name:'view2'
});

$$(document).on('scroll', '.page-content', function(){

So here I want to check if the page name is `produktermobil`

});
$$(document).on('scroll', '.page-content', function(){

// So here I want to check if the page name is `produktermobil`
var name = $$(this).parent('.page').attr('data-name')

});