-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Resolver SEO is a gem that combines data from:
- Models from the webapp
- Data from Google Analytics
- Data from scraping Google (4. Data from Webmaster tools - TBA)
The data is stored in Mongo using Mongoid. Data that varies over time - Case File Counts, Landing Page Counts are stored in monthly records. Scrapes of Google have a created_at timestamp so are a snapshot of the time they are created.
This will import Company, Service and ServiceType models PLUS month on month counts of case files for each service. On a complaint server:
bundle exec rake resolver:seo:export_resolver_models
This will import Landing page data (entrances, bounce, new users etc) for the company and the company-contact-details page. Data is matched to the Company model using the slug. On a crichton server:
#for a year and month
bundle exec rake ga_company_pages[2016,4]
#for every month in a year
bundle exec rake ga_company_pages_year[2016]
This will scrape google substituting NAME for the company name in each search. It will extract details of the first page enabling us to understand where we are and who is above us. On a Crichton server
bundle exec rake "scrape_google[NAME complaints]"
(NOTE: The "" around the rake command so we can have white space in the arguments)