Adding a Site
To add a site to the Ninjalytics app, first ensure that it has the latest version of the Ninjalytics Pro plugin installed and activated. Next, select the Add New Site option from the Your Sites list (the middle icon in the bottom navigation bar), or from the prompt that appears when there are no sites already connected to the app. Enter a name for the site (for your reference; appears in the Your Sites list) and the site's root URL (typically the URL of the home page). Then click the Connect Site button.
The app will first check whether the site you entered has a supported copy of the Ninjalytics Pro plugin installed and activated. If so, it will open a browser window to complete the site connection process, where you should be directed to your site's admin login screen. After logging in with a user account that has the capabilities required to run Ninjalytics reports, a confirmation screen is displayed that allows you to authorize the app connection and optionally set a name for it, which can help to identify the connected device later if you want to revoke authorization. Click the Allow button to continue.
After approving the connection, a success message should be displayed. You can now return to the app. The app should also show a success message within a few seconds of closing the browser, and it should then take you to the Reports page.
Troubleshooting
If you are unable to add your site, consider whether any of the following may be true:
- Your copy of the Ninjalytics Pro plugin is outdated. Update to the latest version.
- Your site is running the free version of the Ninjalytics plugin. Upgrade to Pro!
- The Ninjalytics Pro plugin is not active or an order number is not activated. Activate the plugin, go to its admin page, and enter your order number when prompted.
- Your site is blocking API requests from the Ninjalytics app. This could be caused by a security/firewall or maintenance plugin.
- Something on your site is intercepting calls to the
wp_die()function, which Ninjalytics uses to render parts of the app authorization interface.
If this doesn't help, please reach out to BerryPress support for assistance!