Configuration Editor

  • Starting in CPV Lab Pro v. 6.0 you can change the application settings much easier using the new visual Configuration Editor page.
  • You won’t have to edit files from the server, just use the new Configuration Editor and adjust the settings.

Navigation: Settings ➡️ Configuration Editor

The Configuration Editor page shows the default values for the first time.

  • You only need to edit the settings that you are sure about, as the default values will work fine most of the times.

Configuration editor page

  • If you are unsure about what a setting is for, then you can click on the small 'i' icon and a tooltip window will open with more details.

Configuration tootltip

There are multiple categories of settings which can be changed:

General Appearance Settings

Option Name Default Value Description
Date/Time Format m/d/Y g:i A The pattern used to display dates in the application
Short Date/Time Format m/d/Y The pattern used to display dates in the short format in the application
Maximum Multiselect items 1000 The maximum number of items that will be displayed in the multiselect controls
Thousands Separator in CSV files The character used as thousands separator in the exported CSV reports
Decimal Separator in CSV files . The character used as decimal separator in the exported CSV reports

Tracking Settings

Option Name Default Value Description
Tracking Cookie Lifetime 30 Days Time interval to keep the tracking cookie in visitors' browser
External Requests Method Automatic The request method to use for external requests like 3rd party pixel calls
Custom Header for IP Address If the visitors' IP address is passed using a custom header, specify the header name here. Useful when running reverse proxies.
Capture Full Referrer OFF Whether to capture the full referrers including the query string or just the page names
Mobile Detection Method New Mobile Database The Mobile Detection Method to use
Computer Detection Method Alternative Computer Database The Computer Detection Method to use
Google Conversion Key The Key used to authenticate Google requests when uploading conversions to Google Ads
Encode URL Params ON Whether to apply URL encoding to parameters added by the tracking links
No Cost for Bots ON Whether to set 0 as the cost for bot traffic
Direct Traffic Logging OFF Whether to log direct traffic calls, use only when debugging direct traffic issues
Clickbank Secret Key The Clickbank Secret Key used in your Clickbank account
Clickbank Sale Status Statuses sent from Clickbank that will mark a conversion in CPV Lab Pro (default: SALE,JV_SALE,BILL,JV_BILL)

Landing Page Protection Settings

Option Name Default Value Description
Protection Timeout (minutes) 5 Maximum allowed time to access the Landing Page before it becomes inaccessible
Protection Level UserAgent + Time The level of LP protection - based on several metrics retrieved from visitors
Default No-access Message No Access Default message to show for unauthorized LP access

Page Name Settings

Option Name Default Value Description
Campaign URL Page base.php Name of the Campaign URL page
Offer Redirect Page base2.php Name of the Offer Redirect page
Offer Redirect LPS Page base3.php Name of the Offer Redirect for Landing Page Sequence campaigns page
Tracking Pixel / Postback URL Page adclick.php Name of the Tracking Pixel / Postback URL
Tracking Pixel iframe Page adclickf.php Name of the Tracking Pixel iframe
Tracking Pixel script Page adclicks.php Name of the Tracking Pixel script
Subscribers/Lead Pixel Page adsub.php Name of the Subscribers/Leads Pixel
Double Meta Refresh Page baseredirect.php Name of the Double Meta Refresh page
Redirect Loop Refresh Page baseloopredirect.php Name of the Redirect Loop Refresh Page

True Caching Settings

  • Whether to use cached data in reports; you must also setup the Cache Cron job for this.
  • Here you can find more details about True Cache
  • By default it is Off
Option Name Default Value Description
Clicks to process at once 10000 The maximum number of clicks processed in a single Cron job execution
Delay in aggregating clicks 10 Minutes The delay in aggregating clicks in order to keep the most recent clicks not aggregated
Click removal delay 30 Days The interval after which already aggregated clicks are removed from the non-aggregated table
Conversion removal delay 30 Days The interval after which conversions cannot be marked in the aggregated data

Geo Cron Job Settins

  • Whether to use a separate Cron Job for capturing GEO data; you must also setup the Cache Cron job for this.
  • Here you can find more details about Capturing Geo Data
  • By default it is Off
Option Name Default Value Description
Clicks to geo-encode at once 2000 The maximum number of clicks geo-encoded in a single Cron job execution

Possible issues and revert settings

  • If you get an error message like below when accessing the Configuration Editor page, then you need to assign write permissions (666) to the constants-user.php file from the ‘lib’ directory.
    • You can use an FTP client (like Filezilla) for this or the File Manager utility in cPanel.

Configuration editor possible error

  • If you ever need to revert all settings to their default values, then you need to:
      1. remove the current constants-user.php file from the 'lib' directory in your CPV Lab Pro install
      1. rename the file constants-user-default.php from the 'lib' directory to constants-user.php

You may also find useful: