In case of Custom link call, pagename are not processed and does not get
content as pageview. However,you can use processing rule to reinsert the
pagename from another variable to Pagename variable. A pageview will be
counted. Refer the below document and Check the description of Page Name
Hit Attributes:Dimensions available to processing rules