Plugin Directory

Changeset 2642232


Ignore:
Timestamp:
12/10/2021 07:18:30 AM (4 years ago)
Author:
clabsvishnuprasad
Message:

fixing user traits issue on facebook events

Location:
customerlabs-actionrecorder
Files:
3 edited
10 copied

Legend:

Unmodified
Added
Removed
  • customerlabs-actionrecorder/tags/1.3.1/ActionRecorder.php

    r2623775 r2642232  
    33Plugin Name: Customerlabs ActionRecorder
    44Description: A simple implementation of e-commerce events tracking for ActionRecorder
    5 Version: 1.3.0
     5Version: 1.3.1
    66License: GPLv2
    77Author: CustomerLabs Digital Solutions Pvt. Ltd.
     
    567567                $track = array(
    568568                    'event'      => __( 'User Logged In', 'cltracker' ),
    569                     'attributes' => array(
    570                         "customProperties" => array(
    571                             'username'  => $user->user_login,
    572                             'email'     => $user->user_email,
    573                             'name'      => $user->display_name,
    574                             'firstName' => $user->user_firstname,
    575                             'lastName'  => $user->user_lastname,
    576                             'url'       => $user->user_url
    577                         )
    578                     ),
     569                    'attributes' => array(),
    579570                    'cached_event' => 'logged_in'
    580571                );
     
    593584            $track = array(
    594585                'event'      => __( 'User Signed Up', 'cltracker' ),
    595                 'attributes' => array(
    596                     "customProperties" => array(
    597                         'username'  => $user->user_login,
    598                         'email'     => $user->user_email,
    599                         'name'      => $user->display_name,
    600                         'firstName' => $user->user_firstname,
    601                         'lastName'  => $user->user_lastname,
    602                         'url'       => $user->user_url
    603                     )
    604                 ),
     586                'attributes' => array(),
    605587                'cached_event' => 'signed_up'
    606588            );
     
    632614            // All of these are checking for pages, and we don't want that to throw
    633615            // off Google Analytics's bounce rate, so mark them `noninteraction`.
    634             $track['attributes']['noninteraction'] = true;
     616            // $track['attributes']['noninteraction'] = true;
    635617
    636618            // Clean out empty attributes before sending it back.
  • customerlabs-actionrecorder/tags/1.3.1/Readme.md

    r2623781 r2642232  
    44Requires at least: 3.6
    55Tested up to: 5.8
    6 Stable tag: 1.3.0
     6Stable tag: 1.3.1
    77Requires PHP: 7.0
    88License: GPLv2
     
    5454## Changelog
    5555
     56= 1.3.1 =
     57* Removed user traits from "User Signed Up" and "User Logged In" events
     58
    5659= 1.3.0 =
    5760* Fixed multiple ajax events
     
    7275## Upgrade Notice
    7376
     77= 1.3.1 =
     78Removed user traits from "User Signed Up" and "User Logged In" events
     79
    7480= 1.3.0 =
    7581Fixed multiple ajax events
  • customerlabs-actionrecorder/tags/1.3.1/Readme.txt

    r2623781 r2642232  
    44Requires at least: 3.6
    55Tested up to: 5.8
    6 Stable tag: 1.3.0
     6Stable tag: 1.3.1
    77Requires PHP: 7.0
    88License: GPLv2
     
    5454== Changelog ==
    5555
     56= 1.3.1 =
     57* Removed user traits from "User Signed Up" and "User Logged In" events
     58
    5659= 1.3.0 =
    5760* Fixed multiple ajax events
     
    7275== Upgrade Notice ==
    7376
     77= 1.3.1 =
     78Removed user traits from "User Signed Up" and "User Logged In" events
     79
    7480= 1.3.0 =
    7581Fixed multiple ajax events
  • customerlabs-actionrecorder/trunk/ActionRecorder.php

    r2623775 r2642232  
    33Plugin Name: Customerlabs ActionRecorder
    44Description: A simple implementation of e-commerce events tracking for ActionRecorder
    5 Version: 1.3.0
     5Version: 1.3.1
    66License: GPLv2
    77Author: CustomerLabs Digital Solutions Pvt. Ltd.
     
    567567                $track = array(
    568568                    'event'      => __( 'User Logged In', 'cltracker' ),
    569                     'attributes' => array(
    570                         "customProperties" => array(
    571                             'username'  => $user->user_login,
    572                             'email'     => $user->user_email,
    573                             'name'      => $user->display_name,
    574                             'firstName' => $user->user_firstname,
    575                             'lastName'  => $user->user_lastname,
    576                             'url'       => $user->user_url
    577                         )
    578                     ),
     569                    'attributes' => array(),
    579570                    'cached_event' => 'logged_in'
    580571                );
     
    593584            $track = array(
    594585                'event'      => __( 'User Signed Up', 'cltracker' ),
    595                 'attributes' => array(
    596                     "customProperties" => array(
    597                         'username'  => $user->user_login,
    598                         'email'     => $user->user_email,
    599                         'name'      => $user->display_name,
    600                         'firstName' => $user->user_firstname,
    601                         'lastName'  => $user->user_lastname,
    602                         'url'       => $user->user_url
    603                     )
    604                 ),
     586                'attributes' => array(),
    605587                'cached_event' => 'signed_up'
    606588            );
     
    632614            // All of these are checking for pages, and we don't want that to throw
    633615            // off Google Analytics's bounce rate, so mark them `noninteraction`.
    634             $track['attributes']['noninteraction'] = true;
     616            // $track['attributes']['noninteraction'] = true;
    635617
    636618            // Clean out empty attributes before sending it back.
  • customerlabs-actionrecorder/trunk/Readme.md

    r2623781 r2642232  
    44Requires at least: 3.6
    55Tested up to: 5.8
    6 Stable tag: 1.3.0
     6Stable tag: 1.3.1
    77Requires PHP: 7.0
    88License: GPLv2
     
    5454## Changelog
    5555
     56= 1.3.1 =
     57* Removed user traits from "User Signed Up" and "User Logged In" events
     58
    5659= 1.3.0 =
    5760* Fixed multiple ajax events
     
    7275## Upgrade Notice
    7376
     77= 1.3.1 =
     78Removed user traits from "User Signed Up" and "User Logged In" events
     79
    7480= 1.3.0 =
    7581Fixed multiple ajax events
  • customerlabs-actionrecorder/trunk/Readme.txt

    r2623781 r2642232  
    44Requires at least: 3.6
    55Tested up to: 5.8
    6 Stable tag: 1.3.0
     6Stable tag: 1.3.1
    77Requires PHP: 7.0
    88License: GPLv2
     
    5454== Changelog ==
    5555
     56= 1.3.1 =
     57* Removed user traits from "User Signed Up" and "User Logged In" events
     58
    5659= 1.3.0 =
    5760* Fixed multiple ajax events
     
    7275== Upgrade Notice ==
    7376
     77= 1.3.1 =
     78Removed user traits from "User Signed Up" and "User Logged In" events
     79
    7480= 1.3.0 =
    7581Fixed multiple ajax events
Note: See TracChangeset for help on using the changeset viewer.