WordPress.org

Support

Support » How-To and Troubleshooting » Regarding adsense and migrating from blgospot to wordpress

Regarding adsense and migrating from blgospot to wordpress

  • I migrated 104 posts from blogspot to wordpress. In blogspot the google adsense was inside the post. So in the wordpress, the code got embedded automatically inside 104 posts. I noticed that the adsense code got modified!
    The code is now something like this:
    <script type=”text/javascript”>// <![CDATA[
    google_ad_client = “pub-6461188242553881”; /* bdtechie below text */ google_ad_slot = “6263563923”; google_ad_width = 234; google_ad_height = 60;
    // ]]></script>
    <script src=”http://pagead2.googlesyndication.com/pagead/show_ads.js” type=”text/javascript”>
    </script>

    What is <![CDATA[ ? Is it against the google adsense TOS? Will it affect my earning? If it is a problem than how will I solve this problem? Any help would be greatly appreciated.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    @esmi

    Forum Moderator

    What is <![CDATA[ ?

    It’s a way of indicating that the enclosed text should not be parsed as XHTML.

    Is it against the google adsense TOS?

    No.
    Longer terms it would be better if it was moved outside the post content and placed in a an appropriate theme template file. Or simply replaced by a plugin.

    Thanks for the reply. Can you recommend a good plugin to solve this problem?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Regarding adsense and migrating from blgospot to wordpress’ is closed to new replies.
Skip to toolbar