Help with redirecting and analytics

Discussion in 'Cloaking and Content Generators' started by Joline86, Jun 14, 2010.

  1. Joline86

    Joline86 Newbie

    Joined:
    May 10, 2010
    Messages:
    43
    Likes Received:
    7
    I apologize if this is in the wrong section. I have set up a domain that redirects to a CB offer. I am going to use this for article marketing. The problem that I am having is getting analytics to work. My domain simply has one index page that redirects. Is it possible to get g00gle analytics to work this way or will I have to use a different method of redirecting? If more info is needed (code, etc.) please let me know, I am a self taught noob and nothing that I am finding through search seems to be working.

    I appreciate any help or direction. Thank you
     
  2. daydie

    daydie Junior Member

    Joined:
    Jan 13, 2010
    Messages:
    124
    Likes Received:
    5
  3. Joline86

    Joline86 Newbie

    Joined:
    May 10, 2010
    Messages:
    43
    Likes Received:
    7
    Well thank you, but my domain name is specific to the cb product. I have already purchased the domain name and have hosting (all of which only cost me $1.07) so I want to use the domain that I have. Can anyone help me figure out how to incorporate analytics into the redirect page or whether or not it will even work?
     
  4. 195471

    195471 Regular Member

    Joined:
    Oct 11, 2008
    Messages:
    417
    Likes Received:
    261
    What you can do is create a page with a frameset that shows your CB product domain, and put your analytics code in the <head> section of the page. Here's an example:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    [COLOR="Lime"]<!-- put your analytics code here -->[/COLOR]
    </head>
    <frameset rows="0,*" framespacing="0" border="0" frameborder="0">
    <frame scrolling="no" noresize>
    <frame scrolling="auto" noresize src="[COLOR="Lime"]http://www.yourCBproductsite.com[/COLOR]">
    </frameset><noframes></noframes>
    </html>
    You could put the above code in the index.html page of another domain that you own and/or set up specifically for this purpose, or you could use the domain that you just bought, and then create a new page to be used as the "src" for the second frame (e.g., offerpage.html).
     
    • Thanks Thanks x 1
  5. Joline86

    Joline86 Newbie

    Joined:
    May 10, 2010
    Messages:
    43
    Likes Received:
    7
    This is exactly what I needed. Thank you!