• Resolved ovix23

    (@ovix23)


    Okay to i am running an ad campaign for my site but i can’t seem to add the AdSense code on the website, when trying to add in header.php i get WordPress error
    When trying to add through site kit, well i cannot set the site kit up due to above errors,

    What have i tried till now??
    1. Turning off plugins, trying to set up site kit
    2. Restarting plugins and trying to set site kit
    3. Turn off Cloudflare then trying to set site kit up
    4. I have Verified site manually on google Search console, The main domain as well as the Sub-Domain with wordpress Installed that i am trying to install site kit for.
    5. I have installed Health check & Troubleshoot plugin for WordPress, Fixed all troubleshooting that it told me, Still No Luck

    Please help i can’t figure out what to do at this point

    • This topic was modified 1 year, 1 month ago by ovix23.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Adam Dunnage

    (@adamdunnage)

    Hi there @ovix23, thanks for getting in touch and explaining your issue in detail. Upon checking your site source code, it looks like the Site Kit code is being altered or blocked. This can happen when there is a conflict with another active plugin or theme on your site.

    I’d be happy to check your setup if you could please share your Site Health information. You can use this form to share privately if preferred. Once shared I will review and can provide you with an update. Let me know if you have any other questions at this time.

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @ovix23 Thanks for sharing the site health information. While I can see you don’t have many plugins active on your site, I do see that you have the W3 Total Cache plugin active as well as the advanced cache dropin plugin.

    Could you try temporarily disabling these plugins and once done let me know and I can check your site source code once more to see if the Site Kit code is being placed as I’d expect it to be?

    If there is no change then I may ask you to also switch to a temporary WordPress theme also to see if this changes how the Site Kit code appears. Let me know if you have any questions at this time.

    Thread Starter ovix23

    (@ovix23)

    hey sir i have tried both still the same error sadly

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @ovix23 Could you please share the exact error you are seeing? It would also be helpful if possible if you could share either a screenshot of this or a recording of you encountering this error. This will help us to better understand the issue you are facing and why this may be happening.

    Thread Starter ovix23

    (@ovix23)

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @ovix23 Thanks for confirming this. The message does indicate that a page caching plugin may be causing this but since you’ve already confirmed you have tried disabling these, let’s try something else.

    We have seen other users having issues with Search Console verification in the past, with one user having successfully verified their site via DNS using a domain type property.

    If you’re finding that Search Console verification is not proceeding for you with a HTML tag, can you try a manually uploaded HTML file, by following the steps outlined here? Before doing so, feel free to share your Site Health information for your site. You can use this form to share privately if preferred.

    Another option is to try and force verification if you’re logged into your browser with the Google account you used to set up Site Kit, is to click on this link and then the “Verify Site Ownership” grey button.

    Let me know if you have any questions with the above.

    Thread Starter ovix23

    (@ovix23)

    trying this forced verification thing now sir

    Thread Starter ovix23

    (@ovix23)

    i have added the site on my search console but i cannot seem to edit the HTML or header.php to paste the gtag or any code for that matter and then i try to verify through the link you sent it shows some other property although i am logged in on the same account

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @ovix23 If you are unsure how or are having troubles updating your site HTML then you hosting provider may be able to help you further with that. If the expected property isn’t there then you can try adding it by going to Search property > Add property. Feel free to share a recording of this so I can see exactly what is happening when you are going through this process.

    Plugin Support Adam Dunnage

    (@adamdunnage)

    As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you continue to encounter issues, or reopen this topic and we’d be happy to assist.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘errors while setting up site kit for sub domain site’ is closed to new replies.