Attaches an action event to all anchors within the shortcode. See Event Tracking for more information.
Plugin by Aykira Internet Solutions
get_names();
$off_roles=array();
foreach($roles as $role) {
if(isset($input["role_$role"])) {
$rolel=strtolower($role);
$off_roles[]=$rolel;
unset($input["role_$role"]);
}
}
$input['roles_off']=implode('|',$off_roles);
return $input;
}
public function ga_section() {
echo "
Note: If you turn on the Enhanced Link Attribution or Demographics & Interest Reports you need to configure Google Analytics to use the information; this is done under Admin > Property > Property Settings > Advanced Settings - just flick the toggles to ON and save the changes. Log on to Google Analytics here.
";
}
public function settings_analytics_id() {
$options = get_option(self::PLUGIN_OPTIONS);
$id='';
if(isset($options['analytics_id'])) $id=$options['analytics_id'];
echo "";
}
public function settings_analytics_js() {
$options = get_option(self::PLUGIN_OPTIONS);
echo " Google Help details. (site domain = ".$this->siteDomain()."). Migrate to Universal Analytics first in GA before turning on!";
}
public function settings_inPage_Tracking() {
$options = get_option(self::PLUGIN_OPTIONS);
echo " Google Help details. Turn on in GA as well!";
}
public function settings_demographics() {
$options = get_option(self::PLUGIN_OPTIONS);
echo " Google Help details. Turn on in GA as well!";
}
public function settings_bounce_timeout() {
$options = get_option(self::PLUGIN_OPTIONS);
echo " (seconds) Minimum 5 seconds.";
}
public function settings_in_footer() {
$options = get_option(self::PLUGIN_OPTIONS);
echo " Put in the footer if you have JavaScript clashes.";
}
public function settings_excluded_ips() {
$options = get_option(self::PLUGIN_OPTIONS);
echo " Comma separated list of IP's excluded (or subnets) Current IP = ".$this->get_ip()."";
}
public function settings_roles_off() {
$options = get_option(self::PLUGIN_OPTIONS);
global $wp_roles;
$roles=$wp_roles->get_names();
foreach($roles as $role) {
echo " roles_off)) echo " checked";
echo "> $role ";
}
echo "Select those roles who you do not want tracked on site.";
}
public function settings_ua_userid() {
$options = get_option(self::PLUGIN_OPTIONS);
echo " Google details. Track userID sessions (UA only)";
}
public function settings_ua_ecommerce() {
$options = get_option(self::PLUGIN_OPTIONS);
echo " Google details. Record Transaction data (UA only)";
}
public function settings_remarketing() {
$options = get_option(self::PLUGIN_OPTIONS);
echo " Google details. Turns on Display Advertising Support";
}
public function settings_addon_javascript() {
$options = get_option(self::PLUGIN_OPTIONS);
echo " Enter here any other Tracking JavaScript you want under display control. No need for the outer <script> </script>tags.";
}
}
$acp = acp_plugin::instance();