Jump to content

putting adsense code on your website


odvd1

Recommended Posts

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.

 

 

Link to comment
https://forums.phpfreaks.com/topic/257616-putting-adsense-code-on-your-website/
Share on other sites

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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.