Customize referrer Url

Hi all,

I’m working on a custom site and we would like to define our own transition tracking logic.

  1. When a user click inside a link in page we would like to track the transition as it is in Piwik (the current page is the referrer and the new page is the target).
  2. When a user click on the main menu we would’t track this navigation as a navigation from the current page. We want to have a blank (or any special) value.

For the 1) it’s out of the box but I did’t succeed in doing the 2). I tried to erase the referrer url but it didn’t change anything.

Exemple of scenario :
#Click from menu
_paq.push([‘setReferrerUrl’,’’]);
_paq.push([‘setCustomUrl’,‘page1’]);
_paq.push([‘trackPageView’]);
#Click from menu
_paq.push([‘setReferrerUrl’,’’]);
_paq.push([‘setCustomUrl’,‘page2’]);
_paq.push([‘trackPageView’]);
#Click from menu
_paq.push([‘setReferrerUrl’,’’]);
_paq.push([‘setCustomUrl’,‘page3’]);
_paq.push([‘trackPageView’]);
#Click from the content of the page
_paq.push([‘setCustomUrl’,‘page4’]);
_paq.push([‘trackPageView’]);

In this scenario I would like to see this transition logic :
All the pages have been displayed 1 time.
page1, page2 and page3 have a direct entry.
page1, page2 and page4 are exit page
page3 have 100% of navigation to page4
page4 have 100% of incoming like form page3.

Is it possible to have such behaviour ?

Regard,
Philippe

No idea on this subject ?

Philippe

Hey buddy, did you find an answer for this? I have the same question. grtns