Plugin Directory

Changeset 1894353


Ignore:
Timestamp:
06/18/2018 07:34:17 AM (7 years ago)
Author:
lucastidio
Message:

Refresh plugin texts to be more intuitive and add utm params

Location:
tidio-live-chat/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • tidio-live-chat/trunk/media/js/options.js

    r1821124 r1894353  
    143143                return false;
    144144            }
    145             _func(TidioChatWP.chatUrl + '/access?privateKey=' + r.value.private_key + '&app=chat');
     145            _func(TidioChatWP.chatUrl + '/access?privateKey=' + r.value.private_key + '&app=chat&utm_source=platform&utm_medium=wordpress');
    146146            // save this in wordpress database
    147147            jQuery.post(ajaxurl, {'action': 'tidio_chat_save_keys', 'public_key': r.value.public_key, 'private_key': r.value.private_key}, function(response) {
  • tidio-live-chat/trunk/options.php

    r1840567 r1894353  
    44       
    55        <div id="welcome-text">
    6             <h1>Hello, It's great that you have installed Tidio Chat.</h1>
    7             <p>To complete integration with Tidio Chat, please select from the options below. If you have an account with us already, then the current project will be assigned to that account, If you do not have an account with us or would like to create a new one, please select the option on the right.</p>
     6            <h1>Hi there! Great to see you’ve installed Tidio Chat.</h1>
     7            <p>Select one of the options below and your integration will be complete. If you’ve already got a Tidio account, the current project will be connected to that account. However, if you don’t have an account with us (or you’d like to create a new one) - just select the option on the right.</p>
    88        </div>
    99        <div id="after-install-text">
    1010            <h1>Your site is already integrated with Tidio Chat</h1>
    11             <p>Now you just need to select the "Tidio Chat" tab on the left to go to your panel, or you can open the chat panel by  clicking the link below.</p>
     11            <p>All you need to do now is select the “Tidio Chat” tab on the left - that will take you to your Tidio panel. You can also open the panel by using the link below.</p>
    1212            <p><a href="#" id="open-panel-link" class="button button-primary tidio-button" target="_blank" style="margin-left: auto; margin-right: auto; display: block;">Go to Panel</a></p>
    1313        </div>
  • tidio-live-chat/trunk/readme.txt

    r1821124 r1894353  
    119119== Changelog ==
    120120
     121= 3.3.1 =
     122* Refreshed texts within the plugin to be more intuitive.
     123
    121124= 3.3.0 =
    122125* New button added to reset the account data.
  • tidio-live-chat/trunk/tidio-elements.php

    r1821124 r1894353  
    1010 * License: GPL2
    1111 */
    12 define('TIDIOCHAT_VERSION', '3.3.0');
     12define('TIDIOCHAT_VERSION', '3.3.1');
    1313
    1414class TidioLiveChat {
     
    218218
    219219    public static function getRedirectUrl($privateKey) {
    220 
    221         return self::$chatUrl . '/access?privateKey=' . $privateKey;
     220        return self::$chatUrl . '/access?' . http_build_query(
     221                [
     222                    'privateKey' => $privateKey,
     223                    'utm_source' => 'platform',
     224                    'utm_medium' => 'wordpress',
     225                ]
     226            );
    222227    }
    223228
Note: See TracChangeset for help on using the changeset viewer.