Use custom referrer (?ref=xyz) and review in Jetpack Statistics?


I am pretty new to all this WP stuff, so apologies if this has been asked before but the search didnt show anything relevant to my case.

I am about to launch a campaign on LinkedIn where I am looking to drive traffic to a landing page. The link used for that landing page goes through a referral plugin which automatically keeps track of geolocation, IP, language, etc. so I am all good there.

The issue now is that the landing page also includes links to my main website which is hosted on the same server/domain. This now means that Jetpack will not identify traffic from the landing page to the main page as it is coming from the same domain. My solution to this would now be to add a custom referrer (eg. ?ref=campaign_202010) to all the links leading from the landing page to the main page in order to identify where those visitors are coming from. Having tested this though, I did not see Jetpack picking up on the custom referrer, therefore have no statistics from this particular landing page.

So in short: is there a way to append a custom ?ref=xyz tag to my links and have Jetpack capture this in its statistics?

Thank you very much

Patrick 2 years 2020-10-22T05:10:28-05:00 0 Answers 14 views 0

Leave an answer