• Resolved reviewddit

    (@reviewddit)


    Hello,

    This morning I received a note from Google that my site was flagged for a Datasets Issue: Missing field “license”

    Datasets issues detected on x
    
    To the owner of x:
    
    Search Console has identified that your site is affected by 1 Datasets issues:
    
    Top Warnings
    
    Warnings are suggestions for improvement. Some warnings can affect your appearance on Search; some might be reclassified as errors in the future. The following warnings were found on your site:
    
    Missing field "license"
    
    We recommend that you fix these issues when possible to enable the best experience and coverage in Google Search.

    I have discovered that this is due to a Visualizer chart on my page. Here’s the page the chart is on. Here’s the data Google shows me for the offending element:

    “@type”:”Dataset”,
    “name”:”Reddit Mentions of ExpressVPN by Year”,
    “description”:”Bar chart showing the number of Reddit comments by year about ExpressVPN ”

    Hoping there’s a quick fix. Thank you!

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor contactashish13

    (@rozroz)

    You can address this by using the below hook with some knowledge of PHP:

    
    	add_filter( 'visualizer_schema', function( $schema, $chart_id ) {
    		// change the schema string to add more fields to it
    		// use $chart_id to target a specific chart
    		return $schema;
    	}, 10, 2 );
    
    
    Thread Starter reviewddit

    (@reviewddit)

    I don’t have any knowledge of PHP. Where do I put this code? Can I put it within the Visualizer plugin?

    Thread Starter reviewddit

    (@reviewddit)

    Hi, any update here? Is there any way you can just update the plugin? I saw a few people posting the same issue as me

    Plugin Contributor contactashish13

    (@rozroz)

    We have provided a skeleton snippet. You will need to populate it as you wish for your particular use case. Once you do, you can add it to the theme’s functions.php file. We would not be able to help you with this if you do not have knowledge of PHP.

    This is not part of the core plugin functionality and that is why we have extended it with hooks so we will not be changing the plugin for this.

    Thread Starter reviewddit

    (@reviewddit)

    Everyone who puts one of your plugin’s interactive charts on their websites is getting Warning messages from Google. Is that not enough of an incentive to resolve it? All you need to do is add the license field to the Schema. You already have @dataset set up…

    Plugin Contributor contactashish13

    (@rozroz)

    Thanks for the suggestion but it is a warning and we cannot support all schema fields that generate a warning.

    Plugin Contributor contactashish13

    (@rozroz)

    Marking this as resolved.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Visualizer] GSC Datasets Issue: Missing Field “License”’ is closed to new replies.