Following situation: I imagined creating different subdomain websites to one main website. Now I would like to record visitor data on a subdomain page and store it on that subdomain page as well. At the same time, I would like to store parts of this data in a database on the main page. Here's an example: The following data is recorded on a subdomain page: Name xy, date of birth, place of birth. All this data is stored in a database of the subdomain side. - So far so good -Now I would like to save the date and place of birth in a database on the main page without having to export the data manually. So there should be some kind of API interface between these two pages. Can someone help me there?
And also asked by the way. Is it possible to combine the main site and subdomain site pricing plans into one, so that there is no need for two member menus?
1) yes, you can automatically sync those data. You will need to set up a http-function on the subdomain and from the main doman, call that http-function with wix-fetch, providing the necessary data. See docs.
2) I do not know if that is possible (main/sub within 1 license). Better ask support.
Not possible to combine pricing plans of two sites into 1.
You will have 2 premium plans to connect 2 Wix sites. You will have 2 sets of members.
You will have 2 pricing plans (not synced with each other)
Everything will be 2.
Etc.
BUT --- You can insert data from Wix Site 1 Database to Wix Site 2 Database.
You may also consider having 1 giant site with multi-member roles, multi page permissions, etc.
This will help have everything in 1 place, reduce cost of premium package AND help you with SEO (so that you are not competing with yourself).