7K members online now
7K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
Guide Me

Universal analytics page tracking for inner-site traffic

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭



At the moment we use URL parameters to track traffic between page A and page B on our site. For example, if a user clicks on a page A link that leads to page B , the address we will get to ends with &source=pageA.

As we all know this method has several issues, so we're considering using page tracking.Is there a way to virtually add a pageview with the parameter &source=pageA and at the same time keep the URL for page B clean from any parameters?






1 Expert replyverified_user

Re: Universal analytics page tracking for inner-site traffic

Top Contributor
# 2
Top Contributor
Hi Sarah,

You can send an extra pageview by adding another "send" command with the virtual page path:

ga('send', 'pageview', '/pageB&source=pageA');

Let me know if this is what you need.

Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital