Regarding adsense and migrating from blgospot to wordpress (3 posts)

  1. nasif123
    Posted 6 years ago #

    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">

    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.


  2. esmi
    Forum Moderator
    Posted 6 years ago #

    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?

    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.

  3. nasif123
    Posted 6 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.