Organizer @type selection (Person/Organization) in Event Schema

More
15 hours 31 minutes ago #177888 by Goran
Hi there,Currently in the Event Booking event editor, under the Schema / Structured Data section, we have fields for Organizer Name, Organizer URL, and Performer Name.The issue is that the organizer is always rendered as 
Code:
@type: "Person"
 in the JSON-LD output (in 
Code:
plugins/eventbooking/gsdata/gsdata.php
, line 264). For businesses and organizations hosting events, this is incorrect per Google's Event structured data guidelines, where 
Code:
@type: "Organization"
 should be used instead.Current output:
Code:
"organizer": { "@type": "Person", "name": "My Company", "url": "https://example.com" }
Expected output (for organizations):
Code:
"organizer": { "@type": "Organization", "name": "My Company", "url": "https://example.com" }
Could you add a select/radio field (Person or Organization) to the Schema section of the event editor, so we can choose the correct 
Code:
@type
 for the organizer? This would also be useful as a global default in the plugin settings (
Code:
default_organizer_type
), with per-event override capability.Thank you!

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
12 hours 17 minutes ago #177891 by Tuan Pham Ngoc
Thanks Goran. We are going to work on the plugin to allow choosing it as a parameter in the plugin and can also be overridden for each event if needed

Will update you when it is implemented

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
12 hours 11 minutes ago #177892 by Tuan Pham Ngoc
Hi Goran

You can install this updated version of the plugin, then check the result. It should work as expected

Regards,

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc