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

How to make a site appear within another site?

Discussion in 'Making Money' started by LasVegas702, Jan 18, 2013.

  1. LasVegas702

    LasVegas702 Newbie

    Joined:
    Dec 24, 2012
    Messages:
    36
    Likes Received:
    13
    Hey BHW,

    I'd like to make a clickbank site appear within my site...

    For example: lets say its a weight loss product.. and the site is weightlossDOTcom/weightloss.php?hop=example"

    I'd like to have people to go my domain ex: "superweightlossDOTcom" and all the content is from the clickbank site is shown but the url remains "superweightlossDOTcom".. and when they go to pay, it just goes to the regular pay screen.

    I've heard the term iframe being tossed around but not sure if thats it.

    Any ideas?
     
  2. kevinv89

    kevinv89 Junior Member

    Joined:
    Sep 5, 2012
    Messages:
    130
    Likes Received:
    58
    Code:
    http://www.acloaker.com/
    Enter the weightloss url (weightlossDOTcom/weightloss.php?hop=example)

    Click generate

    Download the 'redirect with hidden url'

    You will get a html file, just upload it to superweightlossDOTcom. You now have their site on your domain.
     
    • Thanks Thanks x 3
  3. LasVegas702

    LasVegas702 Newbie

    Joined:
    Dec 24, 2012
    Messages:
    36
    Likes Received:
    13
    Thanks.. thats really helpful.

    How would I make it show on mydomainDOTcom instead of mydomainDOTcom/example.html ?
     
  4. shurk

    shurk Junior Member

    Joined:
    Feb 2, 2011
    Messages:
    122
    Likes Received:
    45
    Rename example.html to index.html and you should be sorted :)
     
    • Thanks Thanks x 1
  5. hameem

    hameem Elite Member

    Joined:
    Jul 21, 2011
    Messages:
    1,880
    Likes Received:
    985
    Location:
    221B Baker Street
    By saving the file as index.html instead of example.html

    Oh and you could also iframe the other site.

     
    • Thanks Thanks x 1
  6. envisionary

    envisionary Junior Member

    Joined:
    Jul 28, 2008
    Messages:
    133
    Likes Received:
    42
    you could also Iframe it in there. Old school but works
     
  7. LasVegas702

    LasVegas702 Newbie

    Joined:
    Dec 24, 2012
    Messages:
    36
    Likes Received:
    13
    Thanks guys, that worked :)
     
  8. Reyone

    Reyone Elite Member

    Joined:
    Sep 30, 2012
    Messages:
    1,577
    Likes Received:
    1,277
    Occupation:
    Hunter
    Seo inception
     
  9. LasVegas702

    LasVegas702 Newbie

    Joined:
    Dec 24, 2012
    Messages:
    36
    Likes Received:
    13
    Is there a way to embed google analytics code in the html? I tried but it does not seem to work. Thanks
     
  10. Furious George

    Furious George Supreme Member Premium Member

    Joined:
    Dec 13, 2012
    Messages:
    1,437
    Likes Received:
    2,176
    Google analytics code into the iframe? I doubt it..... you'd have to go to your affiliate tracking section to see how many views it has, and conversion rates.
     
  11. tweakcoder

    tweakcoder Regular Member

    Joined:
    Apr 8, 2012
    Messages:
    238
    Likes Received:
    184
    Occupation:
    PHP Web Developer
    Location:
    India
    use <iframe>
     
  12. Panther28

    Panther28 Elite Member

    Joined:
    May 2, 2010
    Messages:
    2,268
    Likes Received:
    3,405
    Occupation:
    Internet.
    Location:
    Internet.
    maybe not in iframe, but should work ok if your putting it in that cloaker html document. It depends where you place the code though, and sometimes analytics takes a few days to respond and recognize the tracker.
     
    • Thanks Thanks x 1
  13. LasVegas702

    LasVegas702 Newbie

    Joined:
    Dec 24, 2012
    Messages:
    36
    Likes Received:
    13
    Yes, you're right. I guess it was just lagging. It works now! :) Resorting to the affiliate tracking would suck.
     
  14. shurk

    shurk Junior Member

    Joined:
    Feb 2, 2011
    Messages:
    122
    Likes Received:
    45
    Whilst your correct in saying that you cannot 'inject' the analytics's code into the iframe, you can still track the unique hits to your iframe page/domain.
    We can do this because essentially an iframe is loading an html document from inside another html document, so if we add our analytics code to the header of the html document that loads the iframe, then we can track the hits to the domain.

    So you could do something like this to track the unique hits to your affiliate link, whilst giving the illusion of your own domain.

    HTML:
    <!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" lang="EN"> 
    <head> 
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    <title>Full Page IFrame</title> 
    <style type="text/css"> 
    html {overflow: auto;} 
    html, body, div, iframe {margin: 0px; padding: 0px; height: 100%; border: none;} 
    iframe {display: block; width: 100%; border: none; overflow-y: auto; overflow-x: hidden;} 
    </style> 
    
    <!-- Start Analytics Code -->
    
    <script type="text/javascript">
    
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-XXXXX-Y']);
      _gaq.push(['_trackPageview']);
    
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();
    
    </script>
    
    <!-- End Analytics Code -->
    
    </head> 
    <body> 
    
    <!-- Start Iframe Code -->
    
    <iframe id="tree" name="tree" src="AFFILIATE URL GOES HERE" frameborder="0" marginheight="0" marginwidth="0" width="100%" height="100%" scrolling="auto"></iframe> 
    
    <!-- End Iframe Code -->
    
    </body> 
    </html>
    
    Credit where credit is due, the HTML for the full page iframe came from: http://www.dev-explorer.com/articles/full-page-iframe

    Also, while this is technically possible, I'm not sure if it will work perfectly. For example, if the user clicks a link in the iframe, I'm unsure if the users browser will load the link or if it will load the link inside the iframe - Maybe a user with more experience of iframes can answer that. However if your only looking to track unique hits, this could be quite useful.
     
    • Thanks Thanks x 1
  15. LasVegas702

    LasVegas702 Newbie

    Joined:
    Dec 24, 2012
    Messages:
    36
    Likes Received:
    13
    Thanks guys, just wanted to add that making my affiliate offer look more professional on my own domain has helped me make my first clickbank sale today!!