Commit inicial - WordPress Análisis de Precios Unitarios

- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-11-03 21:04:30 -06:00
commit a22573bf0b
24068 changed files with 4993111 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-modal-content">
<h3><?php echo __( 'Revenue Conversion Goal', 'thrive-ab-page-testing' ); ?></h3>
<p><?php echo __( 'Each time a customer visits any of the pages listed below, the associated revenue is recorded', 'thrive-ab-page-testing' ); ?></p>
<div class="thrive-ap-goal-pages"></div>
</div>
<div class="tvd-modal-footer">
<div class="tvd-row">
<div class="tvd-col tvd-center tvd-s12">
<a href="javascript:void(0)" class="tvd-waves-effect tvd-waves-light tvd-btn tvd-btn-green tvd-modal-close">
<?php echo __( 'OK', 'thrive-ab-page-testing' ); ?>
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,25 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-modal-content">
<h3><?php echo __( 'Subscription Conversion Goal', 'thrive-ab-page-testing' ); ?></h3>
<div class="top-modal-pwsvg">
<?php tcb_icon('subs'); ?>
<p><?php echo __( 'A subscription to any form on your test variations is counted as a conversion', 'thrive-ab-page-testing' ); ?></p>
</div>
</div>
<div class="tvd-modal-footer">
<div class="tvd-row">
<div class="tvd-col tvd-center tvd-s12">
<a href="javascript:void(0)" class="tvd-waves-effect tvd-waves-light tvd-btn tvd-btn-green tvd-modal-close">
<?php echo __( 'OK', 'thrive-ab-page-testing' ) ?>
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,17 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row">
<div class="tvd-col tvd-s6">
<span> <#= model.get( 'post_title' ) #> </span>
</div>
<div class="tvd-col tvd-s6">
<a href="<#= model.get( 'permalink' ) #>" target="_blank" class="tvd-waves-effect tvd-waves-light tvd-btn tvd-btn-green top-conv-page">
<?php echo __( 'View Page', 'thrive-ab-page-testing' ); ?>
</a>
</div>
</div>

View File

@@ -0,0 +1,21 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row">
<div class="tvd-col tvd-s6">
<span> <#= model.get( 'post_title' ) #> </span>
</div>
<div class="tvd-col tvd-s1">
<span>$&nbsp;<#= model.get( 'revenue' ) #></span>
</div>
<div class="tvd-col tvd-s5">
<a href="<#= model.get( 'permalink' ) #>" target="_blank" class="tvd-waves-effect tvd-waves-light tvd-btn tvd-btn-green top-conv-page">
<?php echo __( 'View Page', 'thrive-ab-page-testing' ); ?>
</a>
</div>
</div>

View File

@@ -0,0 +1,22 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-modal-content">
<h3><?php echo __( 'Revenue Conversion Goal', 'thrive-ab-page-testing' ); ?></h3>
<p class="top-sendowl-p"><?php echo __( 'Conversions and revenues are collected whenever a customer purchases a product through SendOwl', 'thrive-ab-page-testing' ); ?></p>
</div>
<div class="tvd-modal-footer">
<div class="tvd-row">
<div class="tvd-col tvd-center tvd-s12">
<a href="javascript:void(0)" class="tvd-waves-effect tvd-waves-light tvd-btn tvd-btn-green tvd-modal-close">
<?php echo __( 'OK', 'thrive-ab-page-testing' ) ?>
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,24 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-modal-content">
<h3><?php echo __( 'Page Visit Conversion Goal', 'thrive-ab-page-testing' ); ?></h3>
<p><?php echo __( 'A visit to any of the pages listed below is counted as one conversion:', 'thrive-ab-page-testing' ); ?></p>
<div class="thrive-ap-goal-pages"></div>
</div>
<div class="tvd-modal-footer">
<div class="tvd-row">
<div class="tvd-col tvd-center tvd-s12">
<a href="javascript:void(0)" class="tvd-waves-effect tvd-waves-light tvd-btn tvd-btn-green tvd-modal-close">
<?php echo __( 'OK', 'thrive-ab-page-testing' ) ?>
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,30 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-modal-content">
<p>
<#= this.data.description #>
</p>
</div>
<div class="tvd-modal-footer">
<div class="tvd-row">
<div class="tvd-col tvd-s12 tvd-m6">
<a href="javascript:void(0)" class="tvd-btn-flat tvd-btn-flat-primary tvd-btn-flat-light tvd-modal-close tvd-waves-effect">
<#= this.data.btn_no_txt #>
</a>
</div>
<div class="tvd-col tvd-s12 tvd-m6">
<a href="javascript:void(0)" class="tvd-waves-effect tvd-waves-light tvd-btn-flat tvd-btn-flat-primary tvd-btn-flat-light tvd-right tvd-modal-submit">
<#= this.data.btn_yes_txt #>
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,32 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 12/14/2017
* Time: 1:06 PM
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-modal-content">
<p><?php echo __( 'Here you can set the conditions by which a variation will be considered the winner. When a variation is considered the winner, the remaining variations will be archived and all traffic will be sent to the winner.', 'thrive-ab-page-testing' ) ?></p>
<br>
<?php include dirname( __FILE__ ) . '/html-test-automatic-winner.php'; ?>
</div>
<div class="tvd-modal-footer">
<div class="tvd-row">
<div class="tvd-col tvd-s6">
<a href="javascript:void(0)" class="tvd-btn-flat tvd-btn-flat-secondary tvd-btn-flat-dark tvd-waves-effect tvd-modal-close">
<?php echo __( 'Cancel', 'thrive-ab-page-testing' ) ?>
</a>
</div>
<div class="tvd-col tvd-s6">
<a href="javascript:void(0)" class="tvd-waves-effect tvd-waves-light tvd-btn tvd-btn-green tvd-right tvd-modal-submit">
<?php echo __( 'Save Settings', 'thrive-ab-page-testing' ) ?>
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,30 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-modal-content">
<p>
<#= this.data.description #>
</p>
</div>
<div class="tvd-modal-footer">
<div class="tvd-row">
<div class="tvd-col tvd-s12 tvd-m6">
<a href="javascript:void(0)" class="tvd-btn-flat tvd-btn-flat-primary tvd-btn-flat-light tvd-modal-close tvd-waves-effect">
<#= this.data.btn_no_txt #>
</a>
</div>
<div class="tvd-col tvd-s12 tvd-m6">
<a href="javascript:void(0)" class="tvd-waves-effect tvd-waves-light tvd-btn-flat tvd-btn-flat-primary tvd-btn-flat-light tvd-right tvd-modal-submit">
<#= this.data.btn_yes_txt #>
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,49 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 12/14/2017
* Time: 1:00 PM
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row tvd-collapse">
<div class="tvd-col tvd-s12">
<span class="tab-label"><?php echo __( 'Enable Automatic Winner Settings', 'thrive-ab-page-testing' ) ?></span>
<div class="tvd-switch">
<label class="tvd-active">
<input type="checkbox" id="auto-win-enabled" data-bind="auto_win_enabled">
<span class="tvd-lever"></span>
</label>
</div>
</div>
</div>
<div id="auto-win-settings">
<span><?php echo __( 'Here you can set the conditions by which a form will be considered the winner.', 'thrive-ab-page-testing' ) ?></span>
<div class="tvd-row tvd-gray">
<div class="tvd-col tvd-s4">
<div class="tvd-input-field">
<input type="text" maxlength="4" id="auto_win_min_conversions" data-bind="auto_win_min_conversions"
value="<#= this.model.get('auto_win_min_conversions') #>">
<label for="auto_win_min_conversions"><?php echo __( 'Minimum conversions', 'thrive-ab-page-testing' ) ?></label>
</div>
</div>
<div class="tvd-col tvd-s4">
<div class="tvd-input-field">
<input type="text" maxlength="2" id="auto_win_min_duration" data-bind="auto_win_min_duration"
value="<#= this.model.get('auto_win_min_duration') #>">
<label for="auto_win_min_duration" class=""><?php echo __( 'Minimum duration (days)', 'thrive-ab-page-testing' ) ?></label>
</div>
</div>
<div class="tvd-col tvd-s4">
<div class="tvd-input-field">
<input type="text" maxlength="3" id="auto_win_chance_original" data-bind="auto_win_chance_original"
value="<#= this.model.get('auto_win_chance_original') #>">
<label for="auto_win_chance_original" class=""><?php echo __( 'Chance to beat original (%)', 'thrive-ab-page-testing' ) ?></label>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,27 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row tvd-collapse">
<div class="tvd-col tvd-s12">
<ul class="tvd-tabs">
<li class="tvd-tab">
<a href="javascript:void(0)" class="tvd-active">
<?php echo __( '1. Personalize your A/B Test', 'thrive-ab-page-testing' ) ?>
</a>
</li>
<li class="tvd-tab tvd-disabled">
<a href="javascript:void(0)">
<?php echo __( '2. Set the goal of the test', 'thrive-ab-page-testing' ) ?>
</a>
</li>
</ul>
</div>
</div>

View File

@@ -0,0 +1,77 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-modal-step thrive-ab-start-test">
<h3 class="tvd-modal-title"><?php echo __( 'Starting your A/B test', 'thrive-ab-page-testing' ) ?></h3>
<div class="tvd-modal-content">
<?php include dirname( __FILE__ ) . '/html-test-steps.php' ?>
<div class="thrive-ab-content">
<p><?php echo __( 'Set your test details below', 'thrive-ab-page-testing' ) ?></p>
<div class="tvd-input-field">
<input type="text" id="title" data-bind="title" value="<#= this.model.get('title') #>">
<label for="title" class=""><?php echo __( 'Split Test Name', 'thrive-ab-page-testing' ) ?></label>
</div>
<div class="tvd-input-field">
<textarea class="tvd-materialize-textarea" data-bind="notes"><#= this.model.get('notes') #></textarea>
<label for="tvd-ar-install-url" class=""><?php echo __( 'Short Description', 'thrive-ab-page-testing' ) ?></label>
</div>
<?php include dirname( __FILE__ ) . '/html-test-automatic-winner.php'; ?>
</div>
</div>
<div class="tvd-modal-footer">
<div class="tvd-row">
<div class="tvd-col tvd-s12 tvd-m6">
<a href="javascript:void(0)"
class="tvd-btn-flat tvd-btn-flat-secondary tvd-btn-flat-dark tvd-waves-effect tvd-modal-close">
<?php echo __( 'Cancel', 'thrive-ab-page-testing' ) ?>
</a>
</div>
<div class="tvd-col tvd-s12 tvd-m6">
<a href="javascript:void(0)"
class="tvd-waves-effect tvd-waves-light tvd-btn tvd-btn-green tvd-right tvd-modal-next-step thrive-ab-next">
<?php echo __( 'Next', 'thrive-ab-page-testing' ) ?>
</a>
</div>
</div>
</div>
</div>
<div class="tvd-modal-step thrive-ab-start-test thrive-ab-step-2">
<h3 class="tvd-modal-title"><?php echo __( 'Starting your A/B test', 'thrive-ab-page-testing' ) ?></h3>
<div class="tvd-modal-content">
<?php include dirname( __FILE__ ) . '/html-test-steps.php' ?>
<div class="tvd-row thrive-ab-set-goal">
<?php foreach ( Thrive_AB_Test_Manager::$types as $type ) : ?>
<?php Thrive_AB_Test_Manager::display_goal_option( $type ); ?>
<?php endforeach; ?>
</div>
<div id="thrive-ab-goal-settings"></div>
</div>
<div class="tvd-modal-footer">
<div class="tvd-row">
<div class="tvd-col tvd-s12 tvd-m6">
<a href="javascript:void(0)"
class="tvd-btn-flat tvd-btn-flat-secondary tvd-btn-flat-dark tvd-waves-effect tvd-modal-prev-step thrive-ab-prev">
<?php echo __( 'Back', 'thrive-ab-page-testing' ) ?>
</a>
</div>
<div class="tvd-col tvd-s12 tvd-m6">
<a href="javascript:void(0)"
class="tvd-waves-effect tvd-waves-light tvd-btn tvd-btn-green tvd-right tvd-modal-submit">
<?php echo __( 'Start A/B Test', 'thrive-ab-page-testing' ) ?>
</a>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,28 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-modal-content">
<h3 class="tvd-modal-title tab-modal-title">
<?php echo __( 'Choose Winner Landing Page', 'thrive-ab-page-testing' ) ?>
</h3>
<div id="test-view"></div>
</div>
<div class="tvd-modal-footer">
<div class="tvd-row">
<div class="tvd-col tvd-s12 tvd-m6">
<a href="javascript:void(0)"
class="tvd-btn-flat tvd-btn-flat-secondary tvd-btn-flat-dark tvd-waves-effect tvd-modal-close">
<?php echo __( 'Cancel', 'thrive-ab-page-testing' ) ?>
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,35 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-modal-content">
<div class="tvd-green">
<span class="tvd-icon-check"></span>
</div>
<p><?php echo __( 'Test completed!' ) ?></p>
<div class="tab-relative">
<?php echo tcb_icon( 'winner', true, 'sidebar' ) ?>
<span><#= this.model.get('improvement') #>%</span>
<p>
<#= this.model.get('label') #>
</p>
</div>
</div>
<div class="tvd-modal-footer">
<div class="tvd-row">
<div class="tvd-col tvd-s12 tvd-center">
<a href="javascript:void(0)"
class="tvd-waves-effect tvd-waves-light tvd-btn tvd-btn-green tvd-modal-submit">
<?php echo __( 'Go to test report', 'thrive-ab-page-testing' ) ?>
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,39 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row">
<div class="tvd-col tvd-s2">
<span><#= item.get('title') #></span>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('unique_impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversions') #>
</div>
<div class="tvd-col tvd-s2">
<#= item.get('conversion_rate') #>%
</div>
<div class="tvd-col tvd-s2 <#= item.get('is_control')? '': ( item.get('improvement') >= 0 ? 'thrive-ab-positive' : 'thrive-ab-negative' ) #>">
<#= item.get('is_control')? 'N/A' : item.get('improvement')+'%' #>
</div>
<div class="tvd-col tvd-s2 <#= item.get('is_control')? '': ( item.get('chance_to_beat_orig') >= 0 ? 'thrive-ab-positive' : 'thrive-ab-negative' ) #>">
<#= item.get('is_control')? 'N/A' : item.get('chance_to_beat_orig')+'%' #>
</div>
<div class="tvd-col tvd-s1">
<a href="javascript:void(0)" class="click" data-fn-click="set_as_winner">
<?php echo __( 'Set as winner', 'thrive-ab-page-testing' ) ?>
</a>
</div>
</div>

View File

@@ -0,0 +1,23 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="thrive-ab-test-header">
<div class="tvd-row">
<div class="tvd-col tvd-s2"><?php echo __( 'Variation Name', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Content Views', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Engagements', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2"><?php echo __( 'Engagement Rate', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2"><?php echo __( 'Percentage Improvement', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2"><?php echo __( 'Chance to beat Original', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2">&nbsp;</div>
</div>
</div>
<div class="thrive-ab-test-items"></div>

View File

@@ -0,0 +1,40 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row">
<div class="tvd-col tvd-s2">
<span><#= item.get('title') #></span>
<span class="tvd-gray-accent"><#= item.get('is_control')? '(control)' : '' #></span>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('impressions') == 0 ? 'N/A' : item.get('impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('unique_impressions') == 0 ? 'N/A' : item.get('unique_impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('revenue') == 0 ? 'N/A' : parseFloat(item.get('revenue')).toFixed(2) #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('revenue_visitor') == 0 ? 'N/A' : parseFloat(item.get('revenue_visitor')).toFixed(2) #>
</div>
<div class="tvd-col tvd-s2 <#= item.get('is_control') || !item.get('improvement') ? '' : ( item.get('improvement') > 0 ? 'thrive-ab-positive' : 'thrive-ab-negative' ) #>">
<#= item.get('is_control') || !item.get('improvement') ? 'N/A' : parseFloat(item.get('improvement')).toFixed(2)+'%' #>
</div>
<div class="tvd-col tvd-s2 <#= item.get('is_control') || !item.get('chance_to_beat_orig') ? '' : ( item.get('chance_to_beat_orig') > 0 ? 'thrive-ab-positive' : 'thrive-ab-negative' ) #>">
<#= item.get('is_control') || !item.get('chance_to_beat_orig') ? 'N/A' : parseFloat(item.get('chance_to_beat_orig')).toFixed(2) + '%' #>
</div>
<div class="tvd-col tvd-s2 tvd-right-align">
<a href="javascript:void(0)" class="click" data-fn-click="set_as_winner">
<?php echo __( 'Set as winner', 'thrive-ab-page-testing' ) ?>
</a>
</div>
</div>

View File

@@ -0,0 +1,40 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row">
<div class="tvd-col tvd-s2">
<span><#= item.get('title') #></span>
<span class="tvd-gray-accent"><#= item.get('is_control')? '(control)' : '' #></span>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('impressions') == 0 ? 'N/A' : item.get('impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('unique_impressions') == 0 ? 'N/A' : item.get('unique_impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversions') == 0 ? 'N/A' : item.get('conversions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversion_rate') == 0 ? 'N/A' : parseFloat(item.get('conversion_rate')).toFixed(2) + '%' #>
</div>
<div class="tvd-col tvd-s2 <#= item.get('is_control') || !item.get('improvement') ? '' : ( item.get('improvement') > 0 ? 'thrive-ab-positive' : 'thrive-ab-negative' ) #>">
<#= item.get('is_control') || !item.get('improvement') ? 'N/A' : parseFloat(item.get('improvement')).toFixed(2)+'%' #>
</div>
<div class="tvd-col tvd-s2 <#= item.get('is_control') || !item.get('chance_to_beat_orig') ? '' : ( item.get('chance_to_beat_orig') > 0 ? 'thrive-ab-positive' : 'thrive-ab-negative' ) #>">
<#= item.get('is_control') || !item.get('chance_to_beat_orig') ? 'N/A' : parseFloat(item.get('chance_to_beat_orig')).toFixed(2) + '%' #>
</div>
<div class="tvd-col tvd-s2 tvd-right-align">
<a href="javascript:void(0)" class="click" data-fn-click="set_as_winner">
<?php echo __( 'Set as winner', 'thrive-ab-page-testing' ) ?>
</a>
</div>
</div>

View File

@@ -0,0 +1,40 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="tvd-row">
<div class="tvd-col tvd-s2">
<span><#= item.get('title') #></span>
<span class="tvd-gray-accent"><#= item.get('is_control')? '(control)' : '' #></span>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('impressions') == 0 ? 'N/A' : item.get('impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('unique_impressions') == 0 ? 'N/A' : item.get('unique_impressions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversions') == 0 ? 'N/A' : item.get('conversions') #>
</div>
<div class="tvd-col tvd-s1">
<#= item.get('conversion_rate') == 0 ? 'N/A' : parseFloat(item.get('conversion_rate')).toFixed(2) + '%' #>
</div>
<div class="tvd-col tvd-s2 <#= item.get('is_control') || !item.get('improvement') ? '' : ( item.get('improvement') > 0 ? 'thrive-ab-positive' : 'thrive-ab-negative' ) #>">
<#= item.get('is_control') || !item.get('improvement') ? 'N/A' : parseFloat(item.get('improvement')).toFixed(2)+'%' #>
</div>
<div class="tvd-col tvd-s2 <#= item.get('is_control') || !item.get('chance_to_beat_orig') ? '' : ( item.get('chance_to_beat_orig') > 0 ? 'thrive-ab-positive' : 'thrive-ab-negative' ) #>">
<#= item.get('is_control') || !item.get('chance_to_beat_orig') ? 'N/A' : parseFloat(item.get('chance_to_beat_orig')).toFixed(2) + '%' #>
</div>
<div class="tvd-col tvd-s2 tvd-right-align">
<a href="javascript:void(0)" class="click" data-fn-click="set_as_winner">
<?php echo __( 'Set as winner', 'thrive-ab-page-testing' ) ?>
</a>
</div>
</div>

View File

@@ -0,0 +1,24 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="thrive-ab-test-header">
<div class="tvd-row">
<div class="tvd-col tvd-s2"><?php echo __( 'Name', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Visitors', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Unique Visitors', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Revenue', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Revenue per visitor', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2"><?php echo __( 'Improvement', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2"><?php echo __( 'Chance to beat Original', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2">&nbsp;</div>
</div>
</div>
<div class="thrive-ab-test-items"></div>

View File

@@ -0,0 +1,24 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="thrive-ab-test-header">
<div class="tvd-row">
<div class="tvd-col tvd-s2"><?php echo __( 'Name', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Visitors', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Unique Visitors', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Subscriptions', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Subscription Rate', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2"><?php echo __( 'Improvement', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2"><?php echo __( 'Chance to beat Original', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2">&nbsp;</div>
</div>
</div>
<div class="thrive-ab-test-items"></div>

View File

@@ -0,0 +1,24 @@
<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-ab-page-testing
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
?>
<div class="thrive-ab-test-header">
<div class="tvd-row">
<div class="tvd-col tvd-s2"><?php echo __( 'Name', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Visitors', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Unique Visitors', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Conversions', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s1"><?php echo __( 'Conversion Rate', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2"><?php echo __( 'Improvement', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2"><?php echo __( 'Chance to beat Original', 'thrive-ab-page-testing' ) ?></div>
<div class="tvd-col tvd-s2">&nbsp;</div>
</div>
</div>
<div class="thrive-ab-test-items"></div>