SERP Scan tracks your website's search engine position for the keywords that matter to you.
The serpscan-dashboard gem is a Rails Engine for managing your keywords and viewing your rankings. Before you can use the gem you'll need a SERP Scan account (https://serpscan.com), and an api key which can be found on the accounts page.
Add this line to your application's Gemfile:
gem 'serpscan-dashboard'
And then execute:
$ bundle
Or install it yourself:
$ gem install serpscan-dashboard
Set your API key. If you're using Rails you may want to place the code below in a file at config/initializers/serpscan.rb.
Serpscan.api_key = 'YOUR API KEY'
Add the engine to your routes file:
mount Serpscan::Dashboard::Engine => "/serpscan"
To make the engine accessible only to authenticated users
authenticate :user do
mount Serpscan::Dashboard::Engine => "/serpscan"
end
To make the engine accessible only to authenticated admin users
authenticate :user, lambda { |u| u.admin? } do
mount Serpscan::Dashboard::Engine => "/serpscan"
end
Simply visit /serpscan