Profile script for visit on multiple pages
We are currently using profile scripts to track the visitor's frequency on our webpages. However, we have to create a profile script for each page which means most of the code is similar in these scripts barring the first line where we set which page to track for (attaching screenshot of the script). Is there any way by which we can do this in just few scripts where we can tell all the pages to track?

Additionally, the response token only shows the integer count for number of visits. Can the script be made to show the names of the pages as well as the count of visit? This way we will be able to create an audience in audience builder using the script where we can set the number of visits required at a certain page to qualify for audience.