• Resolved Imagegk181

    (@gk181)


    Hello people πŸ™‚

    let’s say I have a website called mysite.org and I wanted to print some flyers with qr-codes that link to said website. If the cr-codes would link to a subdomain of my website e.g. flyer.mysite.org, that redirects to mysite.org, would it be possible to somehow track this subdomain as some kind of referrer, so that I can see how many visits I get from my qr-codes?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support ImageStefan Kalscheuer

    (@stklcode)

    It depends on how you do the redirection. Statify evaluates the HTTP header Referer for that purpose. And little bit on the browser used, but default configurations should behave very similar.

    An HTTP 301 or 302 redirection typically preserves the original Referer header, so if you directly access the page from a QR code, it’s most likely empty.

    You could add a minimalistic landing page with a link or button like “You will be redirected to … otherwise click here.” and add a line of JavaScript that automatically clicks on that link. (document.getElementById('my-link').click()). Doing so, Statify should see the landing page, i.e. your subdomain as referrer and add it to the usual list.

    Cheers,
    Stefan

    Thread Starter Imagegk181

    (@gk181)

    Thanks for the fast Reply and sorry for my own late one! I will check in with my colleagues, if this is something we can/want to do and give an update about our final solution.

    Again, thanks for your help and kind regards πŸ™‚

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Track subdomains as referrer’ is closed to new replies.