title: Can you collect the page depth by page using Google Analytics API
body: <p>In GA you're able to see data for landing pages and second pages (the second page viewed in a session) as well as the conversion rates associated with it. </p>
  
  <p>Are you able or legally allowed to collect the 3rd/4th/5th page viewed in a session as a custom dimension? If so how would you write the code for a custom dimension.</p>
  
  <p>Example data: the /shop page of a website had 300 pageviews as 2nd page, 700 pageviews as the 3rd page, 100 pageviews as the 4th page, etc. </p>