'."\n"; echo '
'."\n"; echo '
'."\n"; c_ws_plugin__s2member_menu_pages_tb::display(); echo '
'."\n"; echo '

API / Tracking

'."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo '
'."\n"; do_action("ws_plugin__s2member_during_trk_ops_page_before_left_sections_form", get_defined_vars()); echo '
'."\n"; echo ''."\n"; echo ''."\n"; do_action("ws_plugin__s2member_during_trk_ops_page_before_left_sections", get_defined_vars()); if(apply_filters("ws_plugin__s2member_during_trk_ops_page_during_left_sections_display_signup_tracking", TRUE, get_defined_vars())) { do_action("ws_plugin__s2member_during_trk_ops_page_during_left_sections_before_signup_tracking", get_defined_vars()); echo '
'."\n"; echo ''."\n"; echo '
'."\n"; do_action("ws_plugin__s2member_during_trk_ops_page_during_left_sections_after_signup_tracking", get_defined_vars()); } if(apply_filters("ws_plugin__s2member_during_trk_ops_page_during_left_sections_display_modification_tracking", TRUE, get_defined_vars())) { do_action("ws_plugin__s2member_during_trk_ops_page_during_left_sections_before_modification_tracking", get_defined_vars()); echo '
'."\n"; echo '
'."\n"; echo '

Modification Tracking Codes (optional)

'."\n"; echo '

If you use affiliate software, a list server, tracking codes from advertising networks, or the like; you\'ll want to read this section. The HTML / JavaScript code that you enter below, will be loaded up in a web browser, each time a Subscription Modification occurs. This is marked `Modification`, because Modification Tracking Codes are displayed each time an "existing" User/Member (even if they are/were a Free Subscriber) signs up for a paid Subscription (i.e., a Modification takes place against an existing account within WordPress), or an "existing" Member modifies their paid Subscription terms (again, a Modification takes places against an existing account within WordPress). Depending on your fee structure, this may include a payment that establishes their Subscription, or it may not.

'."\n"; echo '

Modification Tracking Codes are displayed right after a Member signs up and/or modifies billing terms successfully through your Payment Gateway, regardless of whether any money has actually been transacted. In other words, Modification Tracking Codes are displayed even if you provided them with something for free (i.e., even if no money is being transacted).

'."\n"; echo '

s2Member will display your Modification Tracking Codes in one of three possible locations... 1. If possible, on the Thank-You Return Page, after returning from your Payment Gateway. 2. Otherwise, if possible, on the Login Form after returning from your Payment Gateway (i.e., when the Customer is asked to log back in). 3. Otherwise, in the footer of your WordPress theme, as soon as possible (immediately with s2Member Pro-Form integration); or after the Customer\'s next login.

'."\n"; echo '

Modification Tracking Codes are displayed for all types of Membership Level Access. Including Recurring Subscriptions (with or without a Free Trial Period), Non-Recurring Subscriptions (with or without a Free Trial Period), Lifetime Subscriptions, and even Fixed-Term Subscriptions. All of these are supported by s2Member\'s Button/Form Generators.

'."\n"; echo '

Modification Tracking Codes will NOT be processed when a "new" User/Member signs up (see: Signup Tracking Codes for that scenario).'.((is_multisite() && c_ws_plugin__s2member_utils_conds::is_multisite_farm() && !is_main_site()) ? '' : ' And, Modification Tracking Codes will NOT be processed on Buy Now transactions for Independent Custom Capabilities (see: Capability Tracking Codes for that scenario).').'

'."\n"; echo '

AD BLOCKERS: If a web browser has ad blockers enabled (i.e., the web browser has an ad blocking extension or add-on), Tracking Codes from popular online advertising companies (including many affiliate networks) may NOT be shown. Ad blockers can prevent your Tracking Codes from being loaded in a customer\'s browser. If you\'d like to avoid this problem, consider integrating with s2Member\'s API Notifications instead of with Tracking Codes. API Notifications occur silently behind-the-scenes (more reliably), whereas Tracking Codes are loaded in a customer\'s browser. For more information, please see: s2Member → API / Notifications.

'."\n"; do_action("ws_plugin__s2member_during_trk_ops_page_during_left_sections_during_modification_tracking", get_defined_vars()); echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo '
'."\n"; echo ''."\n"; echo '
'."\n"; echo '
'."\n"; echo 'Any valid XHTML / JavaScript code will work just fine here. Just try not to put anything here that would actually be visible to the Customer. Things like 1x1 pixel images that load up silently and/or JavaScript tracking routines will be fine. Google Analytics code works just fine, AdSense performance tracking, as well as Yahoo tracking and other affiliate network codes are all OK here.

'."\n"; echo 'For advanced programmatic customization, use the ws_plugin__s2member_modification_tracking_codes filter from plugin/theme PHP.

'."\n"; echo 'You can also use these special Replacement Codes if you need them:'."\n"; echo '
    '."\n"; echo '
  • %%subscr_id%% = The Paid Subscription ID, which remains constant throughout any & all future payments. [ ? ]
  • '."\n"; echo '
  • %%subscr_baid%% = Applicable only with PayPal Pro (Payflow Edition); and only for Express Checkout transactions that require a Billing Agreement. This is the Subscription\'s Billing Agreement ID, which remains constant throughout any & all future payments. [ ? ]
  • '."\n"; echo '
  • %%subscr_cid%% = Applicable only with Stripe integration. This is the Customer\'s ID in Stripe, which remains constant throughout any & all future payments. Each Stripe Customer has this Customer ID; and also a Subscription and/or Transaction ID [ ? ]
  • '."\n"; echo '
  • %%currency%% = Three-character currency code (uppercase); e.g., USD
  • '."\n"; echo '
  • %%currency_symbol%% = Currency code symbol; e.g., $
  • '."\n"; echo '
  • %%initial%% = The Initial Fee charged during signup. If you offered a 100% Free Trial Period, this will be 0. [ ? ]
  • '."\n"; echo '
  • %%regular%% = The Regular Amount of the Subscription. If you offer something 100% free, this will be 0. [ ? ]
  • '."\n"; echo '
  • %%recurring%% = This is the amount that will be charged on a recurring basis, or 0 if non-recurring. [ ? ]
  • '."\n"; echo '
  • %%first_name%% = The First Name of the Customer who purchased the Membership Subscription.
  • '."\n"; echo '
  • %%last_name%% = The Last Name of the Customer who purchased the Membership Subscription.
  • '."\n"; echo '
  • %%full_name%% = The Full Name (First & Last) of the Customer who purchased the Membership Subscription.
  • '."\n"; echo '
  • %%payer_email%% = The Email Address of the Customer who purchased the Membership Subscription.
  • '."\n"; echo '
  • %%item_number%% = The Item Number (colon separated level:custom_capabilities:fixed term) that the Subscription is for.
  • '."\n"; echo '
  • %%item_name%% = The Item Name (as provided by the desc="" attribute in your Shortcode, which briefly describes the Item Number).
  • '."\n"; echo '
  • %%initial_term%% = This is the term length of the Initial Period. This will be a numeric value, followed by a space, then a single letter. [ ? ]
  • '."\n"; echo '
  • %%regular_term%% = This is the term length of the Regular Period. This will be a numeric value, followed by a space, then a single letter. [ ? ]
  • '."\n"; echo '
  • %%user_first_name%% = The First Name listed on their User account. This might be different than what is on file with your Payment Gateway.
  • '."\n"; echo '
  • %%user_last_name%% = The Last Name listed on their User account. This might be different than what is on file with your Payment Gateway.
  • '."\n"; echo '
  • %%user_full_name%% = The Full Name listed on their User account. This might be different than what is on file with your Payment Gateway.
  • '."\n"; echo '
  • %%user_email%% = The Email Address associated with their User account. This might be different than what is on file with your Payment Gateway.
  • '."\n"; echo '
  • %%user_login%% = The Username associated with their account. The Customer created this during registration.
  • '."\n"; echo '
  • %%user_ip%% = The Customer\'s original IP Address, during checkout/registration via $_SERVER["REMOTE_ADDR"].
  • '."\n"; echo '
  • %%user_id%% = A unique WordPress User ID that references this account in the WordPress database.
  • '."\n"; echo '
'."\n"; if(c_ws_plugin__s2member_utils_conds::pro_is_installed()) { echo 'Coupon Replacement Codes (applicable only w/ s2Member Pro-Forms):'."\n"; echo '
    '."\n"; echo '
  • %%full_coupon_code%% = A full Coupon Code—if one is accepted by your configuration of s2Member. This may indicate an Affiliate Coupon Code, which will include your Affiliate Suffix Chars too (i.e., the full Coupon Code).
  • '."\n"; echo '
  • %%coupon_code%% = A Coupon Code—if one is accepted by your configuration of s2Member. This will NOT include any Affiliate Suffix Chars. This indicates the actual Coupon Code accepted by your configuration of s2Member (excluding any Affiliate ID).
  • '."\n"; echo '
  • %%coupon_affiliate_id%% = This is the end of an Affiliate Coupon Code (i.e., the referring affiliate\'s ID). This is only applicable if an Affiliate Coupon Code is accepted by your configuration of s2Member.
  • '."\n"; echo '
'."\n"; } echo 'Custom Registration/Profile Fields are also supported in this Notification:'."\n"; echo '
    '."\n"; echo '
  • %%date_of_birth%% would be valid; if you have a Custom Registration/Profile Field with the ID date_of_birth.
  • '."\n"; echo '
  • %%street_address%% would be valid; if you have a Custom Registration/Profile Field with the ID street_address.
  • '."\n"; echo '
  • %%country%% would be valid; if you have a Custom Registration/Profile Field with the ID country.
  • '."\n"; echo '
  • %%etc, etc...%% see: s2Member → General Options → Registration/Profile Fields.
  • '."\n"; echo '
'."\n"; echo 'Custom Replacement Codes can also be inserted using these instructions:'."\n"; echo '
    '."\n"; echo '
  • %%cv0%% = The domain of your site, which is passed through the `custom` attribute in your Shortcode.
  • '."\n"; echo '
  • %%cv1%% = If you need to track additional custom variables, you can pipe delimit them into the `custom` attribute; inside your Shortcode, like this: custom="'.esc_html($_SERVER["HTTP_HOST"]).'|cv1|cv2|cv3". You can have an unlimited number of custom variables. Obviously, this is for advanced webmasters; but the functionality has been made available for those who need it.
  • '."\n"; echo '
'."\n"; echo 'This example uses cv1 to record a special marketing campaign:
'."\n"; echo '(The campaign (i.e., christmas-promo) could be referenced using %%cv1%%)
'."\n"; echo 'custom="'.esc_html($_SERVER["HTTP_HOST"]).'|christmas-promo"'."\n"; echo '
'."\n"; echo '
'."\n"; echo '

Tip: With s2Member Pro-Forms, it\'s possible to integrate Affiliate Coupon Codes. Each of your affiliates can add their affiliate ID onto the end of any valid Coupon Code that you\'ve configured with s2Member Pro. Please check your Dashboard here: s2Member → Pro Coupon Codes → Affiliate Coupon Codes. This is a VERY powerful feature.

'."\n"; echo '
'."\n"; echo '
'."\n"; do_action("ws_plugin__s2member_during_trk_ops_page_during_left_sections_after_modification_tracking", get_defined_vars()); } if(apply_filters("ws_plugin__s2member_during_trk_ops_page_during_left_sections_display_ccap_tracking", (!is_multisite() || !c_ws_plugin__s2member_utils_conds::is_multisite_farm() || is_main_site()), get_defined_vars())) { do_action("ws_plugin__s2member_during_trk_ops_page_during_left_sections_before_ccap_tracking", get_defined_vars()); echo '
'."\n"; echo '
'."\n"; echo '

Capability Tracking Codes (optional)

'."\n"; echo '

If you use affiliate software, a list server, tracking codes from advertising networks, or the like; you\'ll want to read this section. The HTML / JavaScript code that you enter below, will be loaded up in a web browser, each time Independent Custom Capabilities are purchased. This is marked `Capability`, because Capability Tracking Codes are displayed each time an "existing" User/Member (even if they are/were a Free Subscriber) pays you for Independent Custom Capabilities through a Buy Now transaction. This is the only circumstance in which your Capability Tracking Codes will be displayed.

'."\n"; echo '

s2Member will display your Capability Tracking Codes in one of three possible locations... 1. If possible, on the Thank-You Return Page, after returning from your Payment Gateway. 2. Otherwise, if possible, on the Login Form after returning from your Payment Gateway (i.e., when the Customer is asked to log back in). 3. Otherwise, in the footer of your WordPress theme, as soon as possible (immediately with s2Member Pro-Form integration); or after the Customer\'s next login.

'."\n"; echo '

AD BLOCKERS: If a web browser has ad blockers enabled (i.e., the web browser has an ad blocking extension or add-on), Tracking Codes from popular online advertising companies (including many affiliate networks) may NOT be shown. Ad blockers can prevent your Tracking Codes from being loaded in a customer\'s browser. If you\'d like to avoid this problem, consider integrating with s2Member\'s API Notifications instead of with Tracking Codes. API Notifications occur silently behind-the-scenes (more reliably), whereas Tracking Codes are loaded in a customer\'s browser. For more information, please see: s2Member → API / Notifications.

'."\n"; do_action("ws_plugin__s2member_during_trk_ops_page_during_left_sections_during_ccap_tracking", get_defined_vars()); echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo '
'."\n"; echo ''."\n"; echo '
'."\n"; echo '
'."\n"; echo 'Any valid XHTML / JavaScript code will work just fine here. Just try not to put anything here that would actually be visible to the Customer. Things like 1x1 pixel images that load up silently and/or JavaScript tracking routines will be fine. Google Analytics code works just fine, AdSense performance tracking, as well as Yahoo tracking and other affiliate network codes are all OK here.

'."\n"; echo 'For advanced programmatic customization, use the ws_plugin__s2member_ccap_tracking_codes filter from plugin/theme PHP.

'."\n"; echo 'You can also use these special Replacement Codes if you need them:'."\n"; echo '
    '."\n"; echo '
  • %%txn_id%% = The Payment Transaction ID, which is always unique for each payment received.
  • '."\n"; echo '
  • %%txn_cid%% = Applicable only with Stripe integration. This is the Customer\'s ID in Stripe. Each Stripe Customer has this Customer ID; and also a Transaction ID associated with their purchase [ ? ]
  • '."\n"; echo '
  • %%currency%% = Three-character currency code (uppercase); e.g., USD
  • '."\n"; echo '
  • %%currency_symbol%% = Currency code symbol; e.g., $
  • '."\n"; echo '
  • %%amount%% = The Amount of the payment. If you offer something 100% free, this will be 0.
  • '."\n"; echo '
  • %%first_name%% = The First Name of the Customer who purchased the Independent Custom Capabilities.
  • '."\n"; echo '
  • %%last_name%% = The Last Name of the Customer who purchased the Independent Custom Capabilities.
  • '."\n"; echo '
  • %%full_name%% = The Full Name (First & Last) of the Customer who purchased the Independent Custom Capabilities.
  • '."\n"; echo '
  • %%payer_email%% = The Email Address of the Customer who purchased the Independent Custom Capabilities.
  • '."\n"; echo '
  • %%item_number%% = The Item Number (colon separated *level:custom_capabilities:fixed term) that the payment is for. [ ? ]
  • '."\n"; echo '
  • %%item_name%% = The Item Name (as provided by the desc="" attribute in your Shortcode, which briefly describes the Item Number).
  • '."\n"; echo '
  • %%user_first_name%% = The First Name listed on their User account. This might be different than what is on file with your Payment Gateway.
  • '."\n"; echo '
  • %%user_last_name%% = The Last Name listed on their User account. This might be different than what is on file with your Payment Gateway.
  • '."\n"; echo '
  • %%user_full_name%% = The Full Name listed on their User account. This might be different than what is on file with your Payment Gateway.
  • '."\n"; echo '
  • %%user_email%% = The Email Address associated with their User account. This might be different than what is on file with your Payment Gateway.
  • '."\n"; echo '
  • %%user_login%% = The Username associated with their account. The Customer created this during registration.
  • '."\n"; echo '
  • %%user_ip%% = The Customer\'s original IP Address, during checkout/registration via $_SERVER["REMOTE_ADDR"].
  • '."\n"; echo '
  • %%user_id%% = A unique WordPress User ID that references this account in the WordPress database.
  • '."\n"; echo '
'."\n"; if(c_ws_plugin__s2member_utils_conds::pro_is_installed()) { echo 'Coupon Replacement Codes (applicable only w/ s2Member Pro-Forms):'."\n"; echo '
    '."\n"; echo '
  • %%full_coupon_code%% = A full Coupon Code—if one is accepted by your configuration of s2Member. This may indicate an Affiliate Coupon Code, which will include your Affiliate Suffix Chars too (i.e., the full Coupon Code).
  • '."\n"; echo '
  • %%coupon_code%% = A Coupon Code—if one is accepted by your configuration of s2Member. This will NOT include any Affiliate Suffix Chars. This indicates the actual Coupon Code accepted by your configuration of s2Member (excluding any Affiliate ID).
  • '."\n"; echo '
  • %%coupon_affiliate_id%% = This is the end of an Affiliate Coupon Code (i.e., the referring affiliate\'s ID). This is only applicable if an Affiliate Coupon Code is accepted by your configuration of s2Member.
  • '."\n"; echo '
'."\n"; } echo 'Custom Registration/Profile Fields are also supported in this Notification:'."\n"; echo '
    '."\n"; echo '
  • %%date_of_birth%% would be valid; if you have a Custom Registration/Profile Field with the ID date_of_birth.
  • '."\n"; echo '
  • %%street_address%% would be valid; if you have a Custom Registration/Profile Field with the ID street_address.
  • '."\n"; echo '
  • %%country%% would be valid; if you have a Custom Registration/Profile Field with the ID country.
  • '."\n"; echo '
  • %%etc, etc...%% see: s2Member → General Options → Registration/Profile Fields.
  • '."\n"; echo '
'."\n"; echo 'Custom Replacement Codes can also be inserted using these instructions:'."\n"; echo '
    '."\n"; echo '
  • %%cv0%% = The domain of your site, which is passed through the `custom` attribute in your Shortcode.
  • '."\n"; echo '
  • %%cv1%% = If you need to track additional custom variables, you can pipe delimit them into the `custom` attribute; inside your Shortcode, like this: custom="'.esc_html($_SERVER["HTTP_HOST"]).'|cv1|cv2|cv3". You can have an unlimited number of custom variables. Obviously, this is for advanced webmasters; but the functionality has been made available for those who need it.
  • '."\n"; echo '
'."\n"; echo 'This example uses cv1 to record a special marketing campaign:
'."\n"; echo '(The campaign (i.e., christmas-promo) could be referenced using %%cv1%%)
'."\n"; echo 'custom="'.esc_html($_SERVER["HTTP_HOST"]).'|christmas-promo"'."\n"; echo '
'."\n"; echo '
'."\n"; echo '

Tip: With s2Member Pro-Forms, it\'s possible to integrate Affiliate Coupon Codes. Each of your affiliates can add their affiliate ID onto the end of any valid Coupon Code that you\'ve configured with s2Member Pro. Please check your Dashboard here: s2Member → Pro Coupon Codes → Affiliate Coupon Codes. This is a VERY powerful feature.

'."\n"; echo '
'."\n"; echo '
'."\n"; do_action("ws_plugin__s2member_during_trk_ops_page_during_left_sections_after_ccap_tracking", get_defined_vars()); } if(apply_filters("ws_plugin__s2member_during_trk_ops_page_during_left_sections_display_sp_tracking", TRUE, get_defined_vars())) { do_action("ws_plugin__s2member_during_trk_ops_page_during_left_sections_before_sp_tracking", get_defined_vars()); echo '
'."\n"; echo '
'."\n"; echo '

Tracking Codes For Specific Post/Page Access (optional)

'."\n"; echo '

If you use affiliate software, a list server, tracking codes from advertising networks, or the like; you\'ll want to read this section. The HTML / JavaScript code that you enter below, will be loaded up in a web browser, after a Customer completes a successful transaction through your Payment Gateway; specifically for Post/Page Access. These Codes are NOT injected for any type of Membership Level Access'.((is_multisite() && c_ws_plugin__s2member_utils_conds::is_multisite_farm() && !is_main_site()) ? '' : ' or Independent Custom Capabilities').'. These are only for Specific Post/Page transactions. The Tracking Codes that you enter below, will be displayed in one of two possible locations... 1. If possible, on the Thank-You Return Page, after returning from your Payment Gateway. 2. Otherwise, in the footer of your WordPress theme, as soon as possible (immediately with s2Member Pro-Form integration).

'."\n"; echo '

AD BLOCKERS: If a web browser has ad blockers enabled (i.e., the web browser has an ad blocking extension or add-on), Tracking Codes from popular online advertising companies (including many affiliate networks) may NOT be shown. Ad blockers can prevent your Tracking Codes from being loaded in a customer\'s browser. If you\'d like to avoid this problem, consider integrating with s2Member\'s API Notifications instead of with Tracking Codes. API Notifications occur silently behind-the-scenes (more reliably), whereas Tracking Codes are loaded in a customer\'s browser. For more information, please see: s2Member → API / Notifications.

'."\n"; do_action("ws_plugin__s2member_during_trk_ops_page_during_left_sections_during_sp_tracking", get_defined_vars()); echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo '
'."\n"; echo ''."\n"; echo '
'."\n"; echo '
'."\n"; echo 'Any valid XHTML / JavaScript code will work just fine here. Just try not to put anything here that would actually be visible to the Customer. Things like 1x1 pixel images that load up silently and/or JavaScript tracking routines will be fine. Google Analytics code works just fine, AdSense performance tracking, as well as Yahoo tracking and other affiliate network codes are all OK here.

'."\n"; echo 'For advanced programmatic customization, use the ws_plugin__s2member_sp_tracking_codes filter from plugin/theme PHP.

'."\n"; echo 'You can also use these special Replacement Codes if you need them:'."\n"; echo '
    '."\n"; echo '
  • %%txn_id%% = The Paid Transaction ID. Payment Gateways assign a unique identifier for every purchase.
  • '."\n"; echo '
  • %%txn_cid%% = Applicable only with Stripe integration. This is the Customer\'s ID in Stripe. Each Stripe Customer has this Customer ID; and also a Transaction ID associated with their purchase [ ? ]
  • '."\n"; echo '
  • %%currency%% = Three-character currency code (uppercase); e.g., USD
  • '."\n"; echo '
  • %%currency_symbol%% = Currency code symbol; e.g., $
  • '."\n"; echo '
  • %%amount%% = The full Amount that you charged for Specific Post/Page Access. If you offer something 100% free, this will be 0.
  • '."\n"; echo '
  • %%first_name%% = The First Name of the Customer who purchased Specific Post/Page Access.
  • '."\n"; echo '
  • %%last_name%% = The Last Name of the Customer who purchased Specific Post/Page Access.
  • '."\n"; echo '
  • %%full_name%% = The Full Name (First & Last) of the Customer who purchased Specific Post/Page Access.
  • '."\n"; echo '
  • %%payer_email%% = The Email Address of the Customer who purchased Specific Post/Page Access.
  • '."\n"; echo '
  • %%user_ip%% = The Customer\'s IP Address, detected during checkout via $_SERVER["REMOTE_ADDR"].
  • '."\n"; echo '
  • %%item_number%% = The Item Number. Ex: sp:13,24,36:72 (translates to: sp:comma-delimited IDs:expiration hours).
  • '."\n"; echo '
  • %%item_name%% = The Item Name (as provided by the desc="" attribute in your Shortcode, which briefly describes the Item Number).
  • '."\n"; echo '
'."\n"; if(c_ws_plugin__s2member_utils_conds::pro_is_installed()) { echo 'Coupon Replacement Codes (applicable only w/ s2Member Pro-Forms):'."\n"; echo '
    '."\n"; echo '
  • %%full_coupon_code%% = A full Coupon Code—if one is accepted by your configuration of s2Member. This may indicate an Affiliate Coupon Code, which will include your Affiliate Suffix Chars too (i.e., the full Coupon Code).
  • '."\n"; echo '
  • %%coupon_code%% = A Coupon Code—if one is accepted by your configuration of s2Member. This will NOT include any Affiliate Suffix Chars. This indicates the actual Coupon Code accepted by your configuration of s2Member (excluding any Affiliate ID).
  • '."\n"; echo '
  • %%coupon_affiliate_id%% = This is the end of an Affiliate Coupon Code (i.e., the referring affiliate\'s ID). This is only applicable if an Affiliate Coupon Code is accepted by your configuration of s2Member.
  • '."\n"; echo '
'."\n"; } echo 'Custom Replacement Codes can also be inserted using these instructions:'."\n"; echo '
    '."\n"; echo '
  • %%cv0%% = The domain of your site, which is passed through the `custom` attribute in your Shortcode.
  • '."\n"; echo '
  • %%cv1%% = If you need to track additional custom variables, you can pipe delimit them into the `custom` attribute; inside your Shortcode, like this: custom="'.esc_html($_SERVER["HTTP_HOST"]).'|cv1|cv2|cv3". You can have an unlimited number of custom variables. Obviously, this is for advanced webmasters; but the functionality has been made available for those who need it.
  • '."\n"; echo '
'."\n"; echo 'This example uses cv1 to record a special marketing campaign:
'."\n"; echo '(The campaign (i.e., christmas-promo) could be referenced using %%cv1%%)
'."\n"; echo 'custom="'.esc_html($_SERVER["HTTP_HOST"]).'|christmas-promo"'."\n"; echo '
'."\n"; echo '
'."\n"; echo '

Tip: With s2Member Pro-Forms, it\'s possible to integrate Affiliate Coupon Codes. Each of your affiliates can add their affiliate ID onto the end of any valid Coupon Code that you\'ve configured with s2Member Pro. Please check your Dashboard here: s2Member → Pro Coupon Codes → Affiliate Coupon Codes. This is a VERY powerful feature.

'."\n"; echo '
'."\n"; echo '
'."\n"; do_action("ws_plugin__s2member_during_trk_ops_page_during_left_sections_after_sp_tracking", get_defined_vars()); } if(apply_filters("ws_plugin__s2member_during_trk_ops_page_during_left_sections_display_integrations_divider", TRUE, get_defined_vars())) { do_action("ws_plugin__s2member_during_trk_ops_page_during_left_sections_before_integrations_divider", get_defined_vars()); echo '
 
'."\n"; do_action("ws_plugin__s2member_during_trk_ops_page_during_left_sections_after_integrations_divider", get_defined_vars()); } if(apply_filters("ws_plugin__s2member_during_trk_ops_page_during_left_sections_display_idev", TRUE, get_defined_vars())) { do_action("ws_plugin__s2member_during_trk_ops_page_during_left_sections_before_idev", get_defined_vars()); echo '
'."\n"; echo '
'."\n"; echo '

Integrating iDevAffiliate (affiliate program management)

'."\n"; echo '.'."\n"; echo '

Adding affiliate tracking software to your site is one of the most effective ways to achieve more sales, more traffic, and more search engine ranking. iDevAffiliate (an affiliate management portal), installs in just minutes, and can be integrated seamlessly with s2Member. We recommend iDevAffiliate Standard ( $99 ) because of its proven track record, and its ability to integrate with s2Member using a variety of techniques. The most popular being a Hidden Image Tag.

'."\n"; echo '

If you choose to install iDevAffiliate, you will need to configure your iDevAffiliate → Shopping Cart Integration. Please choose Generic Tracking Pixel. Then, grab your Hidden Image Tag, and pop the code provided by iDevAffiliate into one of the fields for Tracking Codes (at the top of this page). You MUST also add Replacement Codes to your Hidden Image Tag. To save you some trouble, we\'ve provided some examples below, one for each of s2Member\'s Tracking Code integrations.

'."\n"; do_action("ws_plugin__s2member_during_trk_ops_page_during_left_sections_during_idev", get_defined_vars()); echo '
'."\n"; echo '

Signup Tracking Code, for iDevAffiliate integration:

'."\n"; echo '

idev_saleamt=%%initial%%
idev_ordernum=%%subscr_id%%

'."\n"; echo '

'.c_ws_plugin__s2member_utils_strings::highlight_php(file_get_contents(dirname(__FILE__)."/code-samples/idev-signup-tracking-code.x-php")).'

'."\n"; echo '
'."\n"; echo '

Modification Tracking Code, for iDevAffiliate integration:

'."\n"; echo '

idev_saleamt=%%initial%%
idev_ordernum=%%subscr_id%%

'."\n"; echo '

'.c_ws_plugin__s2member_utils_strings::highlight_php(file_get_contents(dirname(__FILE__)."/code-samples/idev-modification-tracking-code.x-php")).'

'."\n"; if(!is_multisite() || !c_ws_plugin__s2member_utils_conds::is_multisite_farm() || is_main_site()) { echo '
'."\n"; echo '

Capability Tracking Code, for iDevAffiliate integration:

'."\n"; echo '

idev_saleamt=%%amount%%
idev_ordernum=%%txn_id%%

'."\n"; echo '

'.c_ws_plugin__s2member_utils_strings::highlight_php(file_get_contents(dirname(__FILE__)."/code-samples/idev-ccap-tracking-code.x-php")).'

'."\n"; } echo '
'."\n"; echo '

Specific Post/Page Tracking Code, for iDevAffiliate integration:

'."\n"; echo '

idev_saleamt=%%amount%%
idev_ordernum=%%txn_id%%

'."\n"; echo '

'.c_ws_plugin__s2member_utils_strings::highlight_php(file_get_contents(dirname(__FILE__)."/code-samples/idev-sp-tracking-code.x-php")).'

'."\n"; echo '
'."\n"; echo '

Your profile ID will be assigned by iDevAffiliate. Be sure to replace profile=123 with your own profile ID.

'."\n"; echo '

Tip: iDevAffiliate also provides an alternative method, using a 3rd-party call. The alternative 3rd-party call, could be used with s2Member → API Notifications. A 3rd-party call, is essentially an HTTP connection that runs silently behind-the-scenes, as opposed to being loaded in a browser. It\'s a bit more powerful (and reliable), but also more advanced.

'."\n"; echo '
'."\n"; echo '

Tip: With s2Member Pro-Forms, it\'s possible to integrate Affiliate Coupon Codes with iDevAffiliate. Each of your affiliates can add their affiliate ID onto the end of any valid Coupon Code that you\'ve configured with s2Member Pro. Please check your Dashboard here: s2Member → Pro Coupon Codes → Affiliate Coupon Codes. This is a VERY powerful feature.

'."\n"; echo '
'."\n"; echo '
'."\n"; do_action("ws_plugin__s2member_during_trk_ops_page_during_left_sections_after_idev", get_defined_vars()); } if(apply_filters("ws_plugin__s2member_during_trk_ops_page_during_left_sections_display_shareasale", TRUE, get_defined_vars())) { do_action("ws_plugin__s2member_during_trk_ops_page_during_left_sections_before_shareasale", get_defined_vars()); echo '
'."\n"; echo '
'."\n"; echo '

Integrating ShareASale (affiliate program management)

'."\n"; echo '.'."\n"; echo '

Established in 2000, ShareASale provides award winning technology and service; which will enable you to connect with a network of established affiliates, as well as recruit new ones. Joining ShareASale, maximizes your ability to reach the greatest number of affiliates, with the least amount of work. At ShareASale, you\'ll have access to an existing affiliate-base. You place your site on the market, and let their existing affiliates promote your products/services.

'."\n"; echo '

If you become a Merchant at ShareASale, you will need to configure your ShareASale → Sale Tracking. Grab your Hidden Image Tag, and pop the code provided by ShareASale into one of the fields for Tracking Codes (at the top of this page). You MUST also add Replacement Codes to your Hidden Image Tag. To save you some trouble, we\'ve provided some examples below, one for each of s2Member\'s Tracking Code integrations.

'."\n"; do_action("ws_plugin__s2member_during_trk_ops_page_during_left_sections_during_shareasale", get_defined_vars()); echo '
'."\n"; echo '

Signup Tracking Code, for ShareASale integration:

'."\n"; echo '

amount=%%initial%%
tracking=%%subscr_id%%

'."\n"; echo '

'.c_ws_plugin__s2member_utils_strings::highlight_php(file_get_contents(dirname(__FILE__)."/code-samples/sas-signup-tracking-code.x-php")).'

'."\n"; echo '
'."\n"; echo '

Modification Tracking Code, for ShareASale integration:

'."\n"; echo '

amount=%%initial%%
tracking=%%subscr_id%%

'."\n"; echo '

'.c_ws_plugin__s2member_utils_strings::highlight_php(file_get_contents(dirname(__FILE__)."/code-samples/sas-modification-tracking-code.x-php")).'

'."\n"; if(!is_multisite() || !c_ws_plugin__s2member_utils_conds::is_multisite_farm() || is_main_site()) { echo '
'."\n"; echo '

Capability Tracking Code, for ShareASale integration:

'."\n"; echo '

amount=%%amount%%
tracking=%%txn_id%%

'."\n"; echo '

'.c_ws_plugin__s2member_utils_strings::highlight_php(file_get_contents(dirname(__FILE__)."/code-samples/sas-ccap-tracking-code.x-php")).'

'."\n"; } echo '
'."\n"; echo '

Specific Post/Page Tracking Code, for ShareASale integration:

'."\n"; echo '

amount=%%amount%%
tracking=%%txn_id%%

'."\n"; echo '

'.c_ws_plugin__s2member_utils_strings::highlight_php(file_get_contents(dirname(__FILE__)."/code-samples/sas-sp-tracking-code.x-php")).'

'."\n"; echo '
'."\n"; echo '

Your merchantID will be assigned by ShareASale. Be sure to replace merchantID=123 with the one they assign you.

'."\n"; echo '

Tip: ShareASale also provides an alternative method, using a 3rd-party call. The alternative 3rd-party call, could be used with s2Member → API Notifications. A 3rd-party call, is essentially an HTTP connection that runs silently behind-the-scenes, as opposed to being loaded in a browser. It\'s a bit more powerful (and reliable), but also more advanced.

'."\n"; echo '
'."\n"; echo '

Tip: With s2Member Pro-Forms, it\'s possible to integrate Affiliate Coupon Codes with ShareASale. Each of your affiliates can add their affiliate ID onto the end of any valid Coupon Code that you\'ve configured with s2Member Pro. Please check your Dashboard here: s2Member → Pro Coupon Codes → Affiliate Coupon Codes. This is a VERY powerful feature.

'."\n"; echo '
'."\n"; echo '
'."\n"; do_action("ws_plugin__s2member_during_trk_ops_page_during_left_sections_after_shareasale", get_defined_vars()); } if(apply_filters("ws_plugin__s2member_during_trk_ops_page_during_left_sections_display_other_methods", TRUE, get_defined_vars())) { do_action("ws_plugin__s2member_during_trk_ops_page_during_left_sections_before_other_methods", get_defined_vars()); echo '
'."\n"; echo '
'."\n"; echo '

Other Tracking Methods Are Available (there\'s always a way)

'."\n"; echo '

Check the s2Member API Notifications panel. You\'ll find additional layers of automation available through the use of the `Signup`, `Registration`, `Payment`, `Modification`, `EOT/Deletion`, `Refund/Reversal`, and `Specific Post/Page` Notifications that are available to you through the s2Member API. The s2Member API Notifications make it possible to integrate with 3rd party applications; like list servers, affiliate programs, and other back-office routines; in more advanced ways.

'."\n"; echo '

Since s2Member API Notifications operate silently on the back-end, they tend to be more reliable and also more versatile. That being said, nothing replaces the simplicity of Tracking Codes. The more advanced API Notifications are NOT always the best tool for the job. For instance, API Notifications will NOT work with Google Analytics, or 1 pixel <img> tags. They operate silently behind-the-scenes, using HTTP connections, as opposed to being loaded in a browser.

'."\n"; do_action("ws_plugin__s2member_during_trk_ops_page_during_left_sections_during_other_methods", get_defined_vars()); echo '
'."\n"; echo '

Tip: With s2Member Pro-Forms, it\'s possible to integrate Affiliate Coupon Codes with iDevAffiliate. Each of your affiliates can add their affiliate ID onto the end of any valid Coupon Code that you\'ve configured with s2Member Pro. Please check your Dashboard here: s2Member → Pro Coupon Codes → Affiliate Coupon Codes. This is a VERY powerful feature.

'."\n"; echo '
'."\n"; echo '
'."\n"; do_action("ws_plugin__s2member_during_trk_ops_page_during_left_sections_after_other_methods", get_defined_vars()); } do_action("ws_plugin__s2member_during_trk_ops_page_after_left_sections", get_defined_vars()); echo '

'."\n"; echo '
'."\n"; echo '
'."\n"; c_ws_plugin__s2member_menu_pages_rs::display(); echo '
'."\n"; echo ''."\n"; } } } new c_ws_plugin__s2member_menu_page_trk_ops ();