I have a Data Element set on every hit to generate Page Name. However, there are thousands of hits where it comes through as unspecified, and I don't understand why. Are data elements asynchronous, or is there something else going on?
This is what I have set up:
Processing rule that copies Page Name to eVar61
12% of hits are coming through as unspecified, with no pattern
All hits set Page Name using a Data Element
Data Element pageName is set as: return _satellite.getVar('pageDomain') + ',' + _satellite.getVar('siteCountry') + ',' + _satellite.getVar('siteSection');
Data Element siteSection is a very long function, that I believe is at the root of the problem. Is it not getting enough time to complete?
This thread makes me think a solution could be setting Page Name as a condition to the pageview hit.