SiteKit says Adsense connected but cannot find code in header.php

Rollfic

Senior Member
Joined
Dec 13, 2019
Messages
921
Reaction score
373
Hi, using generatepress theme and used SiteKit plugin to put Adsense code and it says adsense successfully connected but when manually checking in Theme Editor -> header.php cannot find googlesyndication code stuff.

What to do?
 

terrycody

Jr. VIP
Jr. VIP
Joined
Sep 29, 2012
Messages
4,705
Reaction score
2,170
Why? Not possible. It should input between

<head>

your adsense code

</head>


If you have Cache plugin, clean cache.
 

Rollfic

Senior Member
Joined
Dec 13, 2019
Messages
921
Reaction score
373
Why? Not possible. It should input between

<head>

your adsense code

</head>


If you have Cache plugin, clean cache.
Already cleaned captcha multiple times.

Screenshots:





Weird. In adsense status, it says "Getting Ready". Do I need to manually input adsense code again despite SiteKit saying adsense code placed?
 

terrycody

Jr. VIP
Jr. VIP
Joined
Sep 29, 2012
Messages
4,705
Reaction score
2,170
I think maybe its the SiteKit, maybe you put the code at somewhere else, or options there, this is the only explanation, I never used that Kit.

And, no, I don't think you need place again, its working!
 

Rollfic

Senior Member
Joined
Dec 13, 2019
Messages
921
Reaction score
373
I think maybe its the SiteKit, maybe you put the code at somewhere else, or options there, this is the only explanation, I never used that Kit.

And, no, I don't think you need place again, its working!
I rechecked using page source and I found the code lol. But weird the code does not appear in header.php from themeeditor.
 

terrycody

Jr. VIP
Jr. VIP
Joined
Sep 29, 2012
Messages
4,705
Reaction score
2,170
I rechecked using page source and I found the code lol. But weird the code does not appear in header.php from themeeditor.

That means, that code, you must put it on somewhere else, or SiteKit option, or some SEO plugins, or Google Analytics plugin, or even, whatever...

The code generated automatically by THAT THING ON THE AIR, so you see it.
 

Tixegeek

Registered Member
Joined
Dec 20, 2021
Messages
74
Reaction score
19
Hi, using generatepress theme and used SiteKit plugin to put Adsense code and it says adsense successfully connected but when manually checking in Theme Editor -> header.php cannot find googlesyndication code stuff.

What to do?
Cache playing between. Clean up your cache.
 
Top