Olytics Tags

What I have discovered so far

This code is in wp-content/themes>genengnews > functions.php:

// * include Olytics3 tracking code


    wp_enqueue_style('olytics3-style', '//olytics.omeda.com/olytics/css/v3/p/olytics.css', array());

    if (wp_script_is('td-site-min')) {

        $_depends = array(
            'jquery',
            'td-site-min'
        );
    } else {

        $_depends = array(
            'jquery',
            'td-site'
        );
    }
    //wp_enqueue_script('jquery-js', get_site_url() . '/wp-includes/js/jquery/jquery.min.js', $_depends, '3.5.1', true);
    wp_enqueue_script('child-js', get_stylesheet_directory_uri() . '/js/child.js', $_depends, '1.0.3', true);
    wp_localize_script('ajax-script','ajax_object',array(
        'ajax_url'=>admin_url('admin-ajax.php')
    ));

    wp_enqueue_script('child-social-js', get_stylesheet_directory_uri() . '/js/child-social.js', array(
        'jquery',
        'td-site-min'
    ), '1.1.7', true);
    
}

add_action('wp_enqueue_scripts', 'gen_enqueue_resources', 100);

/**
 * Includes 3rd party olytics3 script
 *
 * @return void
 */

function gen_olytics3_script()
{

    include(get_stylesheet_directory() . '/js/olytics3.php');
}

add_action('wp_head', 'gen_olytics3_script', 1);

/**
 * Includes 3rd party olytics3 fire script actions
 *
 * @return void
 */

function gen_olytics3_script_actions()
{

    include(get_stylesheet_directory() . '/js/olytics3-actions.php');
}

add_action('wp_head', 'gen_olytics3_script_actions', 2);

function gen_override_styles()
{

    // * unqueue original style css


    wp_dequeue_style('td-theme');
}

add_action('wp_enqueue_scripts', 'gen_override_styles', 1005);

Click to copy

It refers to:

/var/www/vhosts/i-0f218c84d551faac6/wp-content/themes/genengnews/js

There are two files in that folder. The first file is: Olytics3.php and the second file is olytics3-actions.php