odvd1 Posted February 23, 2012 Share Posted February 23, 2012 I would like it if anyone can help, I was wondering if there is a way to let users put their own adsense code on my website? Without my having to send them to the adsense website, have them copy the code there, go back to my website, paste the code into a form that I have made to use the adsense code to put their ads on my site. I am willing to use another ad provider instead of adsense. My goal is to let users make money with their adsense code on my site, but getting the adsense code into my pages seems like it may be too much trouble for the average user for this plan to work. Quote Link to comment https://forums.phpfreaks.com/topic/257616-putting-adsense-code-on-your-website/ Share on other sites More sharing options...
Adam Posted February 24, 2012 Share Posted February 24, 2012 The PHP for this would be simple enough, but I would ask this question in the GA forums. From reading this article, it's hard to tell how GA tracks across multiple domains. To me it suggests that you just need '_setDomainName()' to none, but I'm curious why you need to '_link()' to the other domain as well. What if there are no links between the domains, like in your case? You could do some testing if you have a second account..? Out of curiosity, what do you get out of this? Quote Link to comment https://forums.phpfreaks.com/topic/257616-putting-adsense-code-on-your-website/#findComment-1320761 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.