Log File Analysis
Note: ContentKing Log File Analysis is currently in beta.
With ContentKing Log File Analysis feature, you can easily understand how search engines traverse the content on your website: discover when Google or Bing last visited each individual page, and compare visit frequencies between pages.
Currently you can feed your logs to ContentKing using a (opens in a new tab). In the future we will be supporting also other log sources.
Traffic ContentKing detects and tracks
ContentKing detects and tracks visits of the following search engines to your websites:
- Google Desktop
- Google Mobile
- Bing Desktop
- Bing Mobile
ContentKing never tracks visits of actual visitors to your websites, and this data never gets to our systems.
Setting up the Cloudflare integration
To connect ContentKing to Cloudflare, you will need to create an API token in your Cloudflare account.
Using this token, ContentKing will automatically install its Cloudflare Worker for this website without any additional configuration required from your side. Using the Cloudflare Worker ContentKing will be able to detect and track visits of search engines to this website.
Creating a Cloudflare token
Follow these steps to create a Cloudflare token:
1. Go to your API tokens in your Cloudflare account
2. Click "Create token"
On the "API tokens" screen, click "Create token".
3. Choose a custom token
Click "Get started" in the "Custom token" section at the bottom of the screen.
4. Set the permissions
To let ContentKing automatically install the Cloudflare Worker, set the following permissions for the API token:
- On Account-level:
Workers Scripts: Edit
- On Zone-level:
Workers Routes: Edit
- On Zone-level:
5. Include relevant "Account" and "Zone"
Make sure to include the appropriate "Account" and "Zone" for the websites you want to enable the Log File Analysis feature for.
6. Optional - Define the validity of the token
Immediately after the Cloudflare Worker is installed, ContentKing will discard the API token.
However, you can optionally also limit the validity of the token on the Cloudflare side, e.g. by setting the "Start Date" to today and "End Date" to tomorrow.
Enter the generated token to ContentKing
Once you create the API token following the steps above, enter it to the (opens in a new tab) in ContentKing:
Afterwards, ContentKing will automatically install the Cloudflare Worker and start tracking the search engine traffic on this website.
In case you have any questions regarding Log File Analysis that are not covered by our documentation, don’t hesitate to contact us!