MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "batchcomplete": "",
    "continue": {
        "gapcontinue": "Revenue_and_gross",
        "continue": "gapcontinue||"
    },
    "query": {
        "pages": {
            "765": {
                "pageid": 765,
                "ns": 0,
                "title": "Replacement Variables",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "{{Offerit_Manual\n| show_setup_section = true\n}}\n\n== Landing Page URL Replacement Tokens ==\nWhen tracking with Offerit, surfers will go through our tracking links:\n<pre>\nhttp://example.offerit.com/track/<ocode>/\n</pre>\n\nAfter doing our tracking process, we will send the surfer to the landing page URL defined in the admin for the offer and landingpage we see in the \"ocode\":\n<pre>\nhttp://example.com/\n</pre>\n\nOfferit Allows you to add replacement tokens to your Offer/Landing Page URL to pass some data along to the landing page.  The most common example is to pass our \"click_hash\" to your landing page so you can use it for reporting transactions and events via postback instead of using iframe/image pixels.  Example landing page URL modification to pass this data:\n<pre>\nhttp://example.com/?click_hash=%%click_hash%%\n</pre>\n\nIn the example above our \"click_hash\" data will be passed to the landing page in a paramter called \"click_hash\".  Please note that you can name the URL parameter anything you'd like to meet your system's needs.  For examplem if your system expects this information to be sent in \"clickid\", you can instead make your landing page URL:\n<pre>\nhttp://example.com/?clickid=%%click_hash%%\n</pre>\n\nBelow is the full list of available Replacement Tokens that can be used with your Landing Page URLs:\n* ''%%click_hash%%'' - The Click hash generated by Offerit when a surfer clicks our tracking links\n* ''%%click_hash_nodot%%'' - The Click hash generated by Offerit when a surfer clicks our tracking links with all dots/periods (\".\") removed\n* ''%%offer_id%%'' - The Offer ID\n* ''%%aff_id%%'' - The Affiliate ID\n* ''%%aff_username%%'' - The Affiliate Username\n* ''%%aff_campaign%%'' - The Affiliate Campaign ID\n* ''%%aff_subid%%'' - The Affiliate Campaign Name\n* ''%%country_code%%'' - The 2-letter ISO Country code for the surfer \n* ''%%ip%%'' - The surfer's IP address in IPv4 format\n* ''%%ip_long%%'' - The surfer's IP address converted from IPv4 to a long integer using PHP's \"ip2long\" function\n* ''%%aff_phone%% (phone offers only)'' - The Phone Number for the affiliate phone offer\n* ''%%subaff%%'' - Subaff value if included on tracking link\n* ''%%subaff2%%'' - Subaff2 value if included on tracking link\n* ''%%subaff3%%'' - Subaff3 value if included on tracking link\n* ''%%subaff4%%'' - Subaff4 value if included on tracking link\n* ''%%subaff5%%'' - Subaff5 value if included on tracking link\n\n== Affiliate Custom Pixel Replacement Variables ==\n=== Standard Replacement Variables ===\nAffiliates have the option to add custom pixels or postbacks to inform their systems of sales when they are reported to Offerit.  To set these up, use the \"My Account\" tab in the top navigation while logged in or overridden as them, then click the \"Custom Offer Pixels\" sub section in the left side navigation:\n\n[[File:CustomOfferPixels.png|800px]]\n\nThe following is a list of possible replacement variables that can be used to send information from Offerit to your Affiliate's custom pixel or postback URL.  \n* ''%%aff_id%%'' - Your affiliate ID.\n* ''%%offer_id%%'' - The ID of the offer.\n* ''%%aff_campaign%%'' - The ID of the campaign/subid used.\n* ''%%aff_subid%%'' - The name of the campaign/subid used.\n* ''%%ref_url%%'' - The Referring URL for the event being reported\n* ''%%transaction_hash%%'' - The transaction ID of the conversion.\n* ''%%commission%%'' - The commission related to the conversion.\n* ''%%decimal_commission%%'' - The commission related to the conversion in decimal format.\n* ''%%aff_approved%%'' - Your auto-pending status.\n* ''%%orderid%%'' - The transaction identifier from the advertiser.\n* ''%%country_code%%'' - The 2-letter ISO Country code for the surfer\n* ''%%cust_custom1%%''- Customer Custom1 Field\n* ''%%cust_custom2%%''- Customer Custom2 Field\n* ''%%cust_custom3%%''- Customer Custom3 Field\n* ''%%cust_custom4%%''- Customer Custom4 Field\n* ''%%cust_custom5%%''- Customer Custom5 Field\n* ''%%cust_username%%'' - Customer Username\n* ''%%cust_email%%'' - Customer Email\n* ''%%cust_name%%'' - Customer First and Last Name\n* ''%%cust_ip%%'' - The customer record's IP address in IPv4 format\n* ''%%cust_ip_long%%'' - The customer record's IP address converted from IPv4 to a long integer using PHP's \"ip2long\" function\n* ''%%subaff%%'' - Subaff Field\n* ''%%subaff2%%'' - Subaff2 Field\n* ''%%subaff3%%'' - Subaff3 Field\n* ''%%subaff4%%'' - Subaff4 Field\n* ''%%subaff5%%'' - Subaff5 Field\n* ''%%device_type_name%%'' - Device type name\n* ''%%device_brand_name%%'' - Device brand name\n* ''%%device_browser_name%%'' - Device browser name\n* ''%%device_carrier_name%%'' - Device carrier name\n* ''%%device_model_name%%'' - Device model name\n* ''%%device_os_name%%'' - Device OS name\n* ''%%device_os_version_name%%'' - Device OS version\n* ''%%_ocid%%'' - The affiliate's external click ID.  To use this on postbacks, they must add \"&_ocid=<external_clickid>\" to their tracking links where <external_clickid> gets replaced with their own click ID.\n\n=== Network Revenue Replacements ===\nIf you need to send your affiliates the amount your network made on an event in addition to the amount they are being paid, we have a configuration that can be enabled to make this data available for their use.  In the Configuration Admin, click the \"Affiliates\" section in the left side navigation. On this page, scroll down to the \"Postbacks\" sub section and find \"Include Network Revenue on Affiliate Postbacks\".  This will allow your affiliates to use either of the following replacement variables in their custom pixels/postbacks:\n* ''%%network_revenue%%'' - The transaction amount for the event.\n* ''%%decimal_network_revenue%%'' - The transaction amount for the event in decimal format.\n\n=== Custom Replacement Variables ===\nOfferit allows affiliates to pass custom parameters through their tracking links to your landing pages.  For convenience, we make the data passed through available to them for their Custom Pixels and Postbacks as described here:\nhttp://wiki.offerit.com/index.php/Affiliate_Custom_Pixels#Custom_Conversion_Variables.  These parameters are also available for replacement in your landing page urls.\n\n=== Special Replacement Syntax ===\nOfferit supports several special modifiers that you can include in your replacements.\n* ''|default:'' - Allows you to specify the value to return if the requested replacment variable is empty.  Without setting this, an empty variable will be replaced with the name of the replacement variable.\n** ''email=%%cust_email%%'' will return ''email=cust_email'' if there isn't one.\n** ''email=%%cust_email|default:none'' will return ''email=none'' if there isn't one\n\n* ''if|replacement=match:output'' - Allows you to display customized output for matching conditions\n** ''device=%%device_type_name%% will return ''device=Desktop''\n** ''device=%%if|device_type_name=Desktop:1'' will return ''device=1''\n\n* ''|transform:''  - Allows you to either md5 or base64 encode the data after replacing it.\n** ''publisher=%%aff_username%%'' will return ''publisher=somepub123'' if somepub123 is the username of the affiliate.\n** ''publisher=%%aff_username|transform:md5%%'' will return ''publisher=155E3C2B7D2E5950C7E5AA70FA71B577'' if somepub123 is the username of the affiliate.\n** ''publisher=%%aff_username|transform:base64%%'' will return ''publisher=c29tZXB1YjEyMw=='' if somepub123 is the username of the affiliate."
                    }
                ]
            },
            "444": {
                "pageid": 444,
                "ns": 0,
                "title": "Reporting Admin",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "{{Offerit Manual\n| show_reporting_admin_section = true\n}}\n\nThe Reporting Admin provides comprehensive information, such as graphs and tables, on various actions that are tracked by [[Offerit]]. You can select the report you want to see by using the ''View Report'' drop-down menu:\n\n== Reporting Admin Sections ==\n\n# The '''[[Profit and Loss Report|Profit and Loss]]''' report shows your commission's profit and loss by day\n# The '''[[Subscription Report|Subscriptions]]''' report lists each of your consumer's purchases\n# The '''[[Transactions Report|Transactions]]''' report lists each of your consumer's purchases\n<!-- # The '''[[Fraud Report|Fraud]]''' report shows a breakdown of potential fraud points by your affiliates. These points can be configured in the [[Offerit_Configuration_Admin|Configuration Admin]] -->\n# The '''[[Affiliate Managers Report|Affiliate Managers]]''' report shows details of Affiliate Manager activity, as well as income and commissions from affiliates under them\n# The '''[[Visitor Actions Report|Visitor Actions]]''' report lists actions taken by visitors through your offers or commissions\n# The '''[[Affiliate Referral Tier Commissions Report|Affiliate Referral Tier Commissions]]''' report lists details of affiliate referral tier commissions\n# The '''[[Affiliate Referral Signup Commissions Report|Affiliate Referral Signup Commissions]]''' report lists joins of affiliates under the affiliate referral signup commission\n# The '''[[Additional Commissions Report|Additional Commissions]]''' report displays a graph and a table of all payments that do not fall under the previous categories\n# The '''[[Graphical Affiliate Comparison Report|Graphical Affiliate Comparison]]''' report displays graphs detailing selected affiliate statistics (raw views, unique views, continuity, etc.) for all affiliates.\n# The '''[[Single Day Comparison Report|Single Day Comparison]]''' report lists all affiliates' statistics for a certain day of the week, such as all Mondays in the current pay period. \n\nFor more information on the available reports in [[Offerit]], scroll down to the [[#Available Reports|Available Reports]] section of our article.\n\n[[File:Admin_Reporting_Profit_Loss.png|600px|Profit and Loss Graph]]\n\nThe search boxes at the top of the page allow you to refine your results and limit your search by various parameters and categories. These categories include:\n\n* ''Date Range'' - Includes start date, end date, and period (ex. this period, this day, this month, this year, etc.)  You can also use additional date limitations, such as past 7 days, past 60 days, last week, etc.\n* ''Affiliate'' - Includes affiliate, commission, Affiliate Manager, and breakdown (what statistic you want the graph to display.)\n* ''Offer'' - Includes offer, landing page, and the option to remove in-house affiliates (for accurate affiliate payment purposes). \n* ''Tracking'' - Includes creative, countries, and the option to remove type-in traffic (again, for accurate affiliate payment purposes). \n\nThese fields may slightly vary, depending on what report you are viewing and narrowing down searches for. However, the above breakdown covers most of the search limitations you will come across in the Reporting Admin.\n\n[[File:Admin_Reporting_Search.png|750px|The Reporting Admin Search Fields]]\n\n== How Tracking Works ==\nOfferit keeps track of visitors and visitor activity for several of its reports. The [[Offerit track and strack|track and strack article]] explains how Offerit's tracking works with inbound affiliate traffic so that you will be able to use it in the most effective way.\n\n== Available Reports ==\n\n[[Offerit]] provides a wide variety of different reports, so that you can track your statistics accurately and efficiently. These reports are broken up into the following different categories.\n\n=== Profit & Loss Report ===\n\nThe Profit & Loss Report provides a visual graph using various statistics, as well as a comprehensive table breaking down these statistics in text form. This helps to maintain accurate records on your offer's total profit and loss, as well as being able to see all separate statistics that comprise this total profit and loss-- allowing you to see where any inaccuracies your accounting may come from. \n\nThe Profit & Loss graph is broken down by transactions per day for sales, continuity, refunds, and reversals. For raw views, the graph is broken down by views per day.\n\nThe table at the bottom of this report displays all these statistics, as well as the income that these figures generate (customer sale income, continuity income, refunds loss, etc.). This table also provides the total affiliate payments due per day, as well as additional payments and fees that you may have incurred.\n\nSome figures in this report table will appear as hyperlinks. These figures can be moused over to view a brief breakdown of how this sum was calculated. Clicking on a statistic will take you to a detailed report about that particular statistic.\n\nFor more information on this report, please see our [[Profit and Loss Report]] wiki article.\n<!--\n=== Retention Report ===\n\nThe Retention Report provides a detailed overview of how many of your offer's [[Ct#Customer|customers]] have undergone [[Ct#Continuity|continuity]] for a particular [[Ct#Offer|offer]]. This allows you to see which offer for your offer is most successful at keeping customerships active and recurring, and for how long.\n\nThe Retention Report's graph displays the percentage of [[Ct#Customer|customers]] continuity for each offer, as well as how many times they have undergone [[Ct#Continuity|continuity]] on their account. \n\nThe table below displays a more detailed breakdown of relevant statistics. This includes total sales for that offer, how many customers are still active, and how many customers are still eligible for continuity. You can also see a breakdown of [[Ct#Continuity|continuity]] based on how many times a continuity has been processed.\n\nFor more information on this report, please see our [[Retention Report]] wiki article.-->\n\n=== Subscription Report ===\n\nThe Subscription Report provides in-depth details of each and every customer subscription that is tracked in your [[Offerit]] system. This allows you search and view specifics about each customer subscription, ensure its validity, and see specific dollar figures regarding each subscription.\n\nClicking any customer or affiliate username brings you to the Customer Details or Affiliate Details page, where you can view any information about that specified customer or affiliate that is stored in [[Offerit]].\n\nFor more information on this report, please see our [[Subscription Report]] wiki article.\n\n=== Transactions Report ===\n\nThe Transactions Report provides a list of any transaction that has been tracked by [[Offerit]]. In this report, you will be able to view specific details about any transaction, including dollar figures, transaction type, and various transaction identification information. This helps to ensure that all transactions undertaken have been reflected in [[Offerit]], that all additions and deductions to the total transaction amount are accurate, and that your affiliate payments are accurate as well.\n\nFor more information on this report, please see our [[Transactions Report]] wiki article.\n\n<!-- === Fraud Report ===\n\nThe Fraud Report provides a list of affiliates, basic statistics from that affiliate, and how many fraud points they have accrued through their actions. You can set fraud point values, as well as what triggers fraud points, in the [[Offerit Configuration Admin|Configuration Admin]] under the \"Fraud\" section. This report is useful, as it allows you to analyze the frequency of any potentially fraudulent actions (for example, customers registered under a particular affiliate having matching information) by your affiliates and take any necessary appropriate actions.\n\nFor more information on this feature, please see our [[Offerit Fraud]] and our [[Fraud Report]] wiki articles. -->\n\n=== Affiliate Manager Report ===\n\nThe Affiliate Manager Report provides detailed information regarding [[Affiliate Managers|Affiliate Managers]] set up in your [[Offerit]]. This allows you to track how profitable an [[Ct#Affiliate Manager|Affiliate Manager]] commission is, along with specific information regarding that Affiliate Manager including affiliates registered under them, and how much income they are generating.\n\nFor more information on this report, please see our [[Affiliate Managers Report]] wiki article.\n\n=== Visitor Actions Report ===\n\nThe Visitor Actions Report displays any actions tracked by [[Offerit]] that a [[Ct#Visitor|visitor]] has undertaken, as well as any relevant information regarding that action. This includes transactions, cascades, errors, etc. This report can be used to view what a visitor does on your offer, as well as checking for errors that occurred during their visit and why that error occurred. \n\nFor more information on this report, please see our [[Visitor Actions Report]] wiki article.\n\n=== Affiliate Referral Tier Commissions Report ===\n\nThe Affiliate Referral Tier Commissions report displays all [[Ct#Commission|commissions]] that have been made to affiliates as part of an Affiliate Referral commission. This information includes the customer, affiliate, and referrer involved in this commission, as well as the tiered commissions and commissions given from each commission.\n\nThis report is useful for checking the effectiveness of your affiliate referral commission, and whether you wish to continue using the commission. You can also see which affiliate has the most referrals, how much their referrals have earned, and how much you are paying out for your affiliates and referrals.\n\nFor more information on this report, please see our [[Affiliate Referral Tier Commissions Report]] wiki article.\n\n=== Affiliate Referral Signup Commissions Report ===\n\nThe Affiliate Referral Signup Commissions Report displays all [[Ct#Commissions|commissions]] that have been made as a result of affiliate referrals. As opposed to the Affiliate Referral Tier Commissions report, the Signup Commissions report displays a referred affiliate, the affiliate they were referred by, and the payments given for actually referring those affiliates. \n\nThis is useful for checking how many affiliates are part of your [[Ct#Commission|commissions]] as a result of your Affiliate Referral commission. You can also see which affiliate has referred the most affiliates, as well as the payments they received for referring other affiliates.\n\nFor more information on this report, please see our [[Affiliate Referral Signup Commissions Report]] wiki article.\n\n=== Additional Commissions Report ===\n\nThe Additional Commissions Report provides an in-depth view of any [[Ct#Commission|commissions]] categorized in the Profit & Loss Report as \"Additional Commission\". This report breaks down individual categories that comprise this additional payment with a graph that displays all statistics found in the table below based on dollar amount per day.\n\nThis report can prove useful for ensuring that your payments for [[Ct#Commission|commissions]] outside of basic commissions are accurate-- this includes affiliate referral commissions, Affiliate Manager commissions, partner payments, etc. This table can be used to see how costly these commissions can be, as well as view a day-to-day breakdown of statistics not specified in the Profit & Loss Report.\n\nFor more information on this report, please see our [[Additional Commissions Report]] wiki article.\n\n=== Affiliate Ratios ===\n\nThe Affiliate Ratios report displays a report broken down by affiliate.   You will be able to see the total number of raw and unique page views, sales and the ratio of those figures.\n\nThis report will also show you the ratio of the number of transactions for an affiliate with the number of refunds.\n\nFor more information on this report, please see our [[Affiliate Ratios Report]] wiki article.\n\n=== Graphical Affiliate Comparison ===\n\nThe Graphical Affiliate Comparison Report provides an in-depth, visual view of various affiliate statistics. This report breaks down individual affiliate statistics, such as raw views, sales, continuity, etc. for each affiliate in an easy to read graph. You can choose what statistic is displayed by using the \"Field\" drop-down menu in the Affiliate column of the search box.\n\nThis report is useful for comparing affiliates amongst each other through an easy to read, visual method. You can also view a daily breakdown of affiliate stats, allowing you to further analyze your affiliates' effectiveness through various criteria. This report also allows you to compare affiliates by negative transactions (continuity, chargebacks, etc.).\n\nFor more information on this report, please see our [[Graphical Affiliate Comparison Report]] wiki article.\n\n=== Single Day Comparison Report ===\n\nThe Single Day Comparison Report allows you to compare a single day's statistics to a given time period, such as last period, past 30 days, this year, etc. The statistics in this report are broken down by affiliate, allowing you to compare an affiliate's daily statistics with their historical statistics. There is also a total of all statistics shown on the Single Day Comparison table at the bottom of the page.\n\nYou can use this report to measure the amount of change in views, sales, and continuity over a given time period, as well as measure the change in individual affiliate statistics over a certain time period. The same is possible for comparing day to day changes in statistics.\n\nFor more information on this report, please see our [[Single Day Comparison Report]] wiki article."
                    }
                ]
            }
        }
    }
}