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

Tracking question

Discussion in 'White Hat SEO' started by Blueprint, Feb 11, 2010.

  1. Blueprint

    Blueprint Jr. VIP Jr. VIP Premium Member

    Joined:
    Nov 10, 2009
    Messages:
    286
    Likes Received:
    117
    Location:
    Online
    Hi guys, would love to see if anyone can help me here with a tracking/coding question:

    if i put google analytics or any other tracking script as a tracking code into an iframe, then I place the iframe on multiple sites, when users interact with the site will it track where which site the clicks have come from?

    Thanks.
     
  2. xbada

    xbada Junior Member

    Joined:
    Jul 31, 2009
    Messages:
    102
    Likes Received:
    118
    Occupation:
    full time im
    Location:
    usa
    If the tracking code is located in the iframe then its refer would be the iframe and mess your tracking up, making all your hits seem like they are coming from one page.
     
  3. Abstroose

    Abstroose Elite Member

    Joined:
    Nov 20, 2008
    Messages:
    2,097
    Likes Received:
    3,475
    Occupation:
    Thai Boxer
    Location:
    UK
    Home Page:
    You should just create a new campaign for each site. That stats will be a lot more useful.
     
  4. WoosterOh

    WoosterOh Junior Member

    Joined:
    Mar 29, 2008
    Messages:
    173
    Likes Received:
    11
    I have not tried this, but no reason why it would not be possible, make as many iframes you want on that page, each being called by a different number. You can track it maybe that way for what sites are doing better for you. Basically if the number match, it will run that iframe, it would not process the other iframes.

    Looking at the code just now, there would have to be a little work, maybe some ifs and else statements, but I think it can be done.
     
    Last edited: Feb 15, 2010
  5. WoosterOh

    WoosterOh Junior Member

    Joined:
    Mar 29, 2008
    Messages:
    173
    Likes Received:
    11
    I have successfully ran two CPA offers from the same page with if statements using different numbers.