1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Masking referrer for Google Analytics

Discussion in 'Cloaking and Content Generators' started by rivox1, Jul 2, 2012.

  1. rivox1

    rivox1 Newbie

    Joined:
    Jul 2, 2012
    Messages:
    3
    Likes Received:
    0
    Hello All!

    I am new to this forum, so I hope that this is the correct place to post my question.

    I am by no means an expert in SEO or anything like that, but I know a bit about HTML/CSS and I am trying to make a bit of extra cash by re-selling ADFLY traffic.

    The problem that I'm having is that some of the people I've sold the traffic to can clearly see in Google Analytics that the traffic is being referred from ****** and instead of coming to me again for a re-order, they're just going straight to adfly.

    What I'm looking for is a way of blocking or faking the referrer so that it doesn't say "adfly" on the GA reports, but either it shows as "direct traffic" or it just lists my website. I have tried "refnull" and services of the same category, I have also tried setting up the adfly campaign to direct to a page on my website and from there re-direct to the final site, but none of that seems to work.

    Does anyone know how to do this?

    Thank you so much in advance for your help!
     
  2. Zak_A

    Zak_A Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 16, 2008
    Messages:
    809
    Likes Received:
    875
    Gender:
    Male
    Occupation:
    WP designer & developer
    Location:
    Western Europe
    If you have your own site then setup a cloaking / redirect / blank referrer script to funnel the traffic.

    Adfly -> script on your server -> client

    Depending on how you decide to set this up, the client will either see your own site or "direct traffic" instead of adfly as a referrer.
     
  3. rivox1

    rivox1 Newbie

    Joined:
    Jul 2, 2012
    Messages:
    3
    Likes Received:
    0

    I have tried this with a javascript "location.replace" function and it still shows adfly as the referrer. Please forgive my ignorance since my knowledge in this kind of thing is extremely basic. Is there another way to do this other than javascript? thank you!
     
  4. dario111cro

    dario111cro Junior Member

    Joined:
    Feb 5, 2012
    Messages:
    180
    Likes Received:
    204
    Location:
    cloud
    Set up full-screen iframe on your website. On iframe insert your clients website. Start campaign on ****** using URL of page containing iframe.


    Didn't tried, but it could work.
     
  5. Zak_A

    Zak_A Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 16, 2008
    Messages:
    809
    Likes Received:
    875
    Gender:
    Male
    Occupation:
    WP designer & developer
    Location:
    Western Europe
    This sounds like the best solution in your situation.

    And yes, javascript won't work for what you're trying to achieve. Instead, using a php 'header("location:' + double meta refresh can also do the trick.
     
  6. rivox1

    rivox1 Newbie

    Joined:
    Jul 2, 2012
    Messages:
    3
    Likes Received:
    0
    I tried that too, but no luck... thank you though!