Closed jroakes closed 2 years ago
Another test. This includes iFrame rollup
"robots": {
"mainFrameRobotsRendered": {
"googlebot": {
"noindex": false,
"index": false,
"follow": false,
"none": false,
"nofollow": false,
"noarchive": false,
"nosnippet": true,
"unavailable_after": false,
"max-snippet": false,
"max-image-preview": false,
"max-video-preview": false,
"notranslate": false,
"noimageindex": false,
"nocache": false,
"indexifembedded": false
}
},
"mainFrameRobotsRaw": {
"googlebot": {
"noindex": false,
"index": false,
"follow": false,
"none": false,
"nofollow": false,
"noarchive": false,
"nosnippet": true,
"unavailable_after": false,
"max-snippet": false,
"max-image-preview": false,
"max-video-preview": false,
"notranslate": false,
"noimageindex": false,
"nocache": false,
"indexifembedded": false
}
},
"mainFrameRobotsHeaders": [],
"iFrameRobotsRaw": {
"robots": {
"noindex": 3,
"index": 0,
"follow": 0,
"none": 0,
"nofollow": 0,
"noarchive": 0,
"nosnippet": 0,
"unavailable_after": 0,
"max-snippet": 0,
"max-image-preview": 0,
"max-video-preview": 0,
"notranslate": 0,
"noimageindex": 0,
"nocache": 0,
"indexifembedded": 0
}
},
"iFrameRobotsHeaders": []
},
I am closing this and will reopen on the custom metrics project.
This custom metric parses raw, rendered, headers, and iframe data for valid user-agent and directive values.
Example Output:
This has NOT been thoroughly tested, but throwing up here due to the limited time.