Open drewroberts opened 3 years ago
This package will require the tipoff/seo package and Locations will have an optional relationship to a Google Place (https://github.com/tipoff/seo/issues/15).
There will be a relationship between Places & Webpages, but Location should also have a nullable direct relationship to a specific Webpage (https://github.com/tipoff/seo/issues/19). This will allow us to track & record Google Analytics data for each location. The webpage can be created automatically and associated automatically when a location is created or saved by using the slug on the main application Company's (https://github.com/tipoff/seo/issues/13) Domain (https://github.com/tipoff/seo/issues/14).
Locations will belong to a Company (https://github.com/tipoff/seo/issues/13).
Locations belong to a Market (#41). They also have a slug and will have their own page if there is more than one location in a market. If not, the path to the location is the path to the Market.