Jump to content

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?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.