Tracking the traffic of visitors within my site?

How can I view input from other pages of my site into one page?
Google webmaster show only input from Google
enter image description here

tracking – Distinguish same page internal links traffic in Google Analytics

On my website, some pages have the same link to another page, in different places. For example, one is a button, another one is an anchor link.
I’d like to understand which ones draw more traffic.

I read it wasn’t a good idea to add UTM tags for internal traffic.
I also read about event tracking, but this sounds pretty difficult to implement.

So I wonder if there are other easy solutions to get this insight.

Thanks!

magento2 – Magento 2 How to change the Tracking Information Shipment # to Order # in Tracking Popup

The tracking popup shows shipment # and I want to change it to the order number. I have found this answer for Magento 1:

$_order = Mage::getModel('sales/order')->load($this->getOrderId());

But I don’t know how to use this in Magento 2.

Can someone tell me how to use it?

tracking – How to measure the number of direct clicks to a file in Google Analytics?

Say I have a file in my website: https://example.com/sample.pdf

Is there a way to track how many people clicking on the link, similarly how regular links are tracked? The article Additional kinds of measurement – Analytics Help suggests me to measure clicks as Events. However, if I send the direct link to the viewers, there will be no script to be fired.

tracking – How to measure the number of direct clicks to a PDF file in Google Analytics?

Say I have a file in my website: https://example.com/sample.pdf

Is there a way to track how many people clicking on the link, similarly how regular links are tracked? The article Additional kinds of measurement – Analytics Help suggests me to measure clicks as Events. However, if I send the direct link to the viewers, there will be no script to be fired.

woocommerce offtopic – Adding Tracking Details for Advanced Shipment Tracking Plugin without order details in complete order email

I am using Advanced Shipment Tracking plugin from Zorem and I want to include only tracking information in complete order email without order details but I can not separate them while editing “astra/woocommerce/emails/customer-completed-order.php.” but they both are under the action ” do_action( ‘woocommerce_email_order_details’, $order, $sent_to_admin, $plain_text, $email );”
I wanted to know how can I just keep the tracking info without order details.
Thanks

python – Tracking 1400+ client codes, multi-threading nightmare

I am looking for a bit of help. I am having to cycle through 1400 clients code on my server, I have to check what Version of the software they are on and check for customization’s to the code so when we apply updates, those aren’t lost. I tried to do it serialized, as you might have guessed, that took forever. I then Tried running it parallel, as you might have expected, I am getting “Os Error, too many open files” I tried to resolve this by throwing in “sleep(random())” But this seems convoluted, and it could also be my code is complete garbage, any insight would be great.

I am using git in CLI to get version, this seems to be heavy? Is there a better way to pull tags?

Here, I get a list of the clients, I do some editing to get the pathing

def full_check(client_list, cur_vers):
    for c in client_list:
        if sc.venue_check(c):
            url = sc.surl(c(0))
            if url is not None:
                path = f'/home/ubuntu/site-files/{url}'
                # Maximizing output, this cut run time by 90%
                # Hard to log though...

                nschools.append({
                    'path': path,
                    'cur_vers': cur_vers,
                    'client': c(0),
                    'schema_version': c(2)
                })
# Here, I am then looping through the paths I get, I put a sleep to stop it from bugging out
# about OS File open Limits
    for s in nschools:
        print(s('path'))
        sleep(random())
        t = threading.Thread(target=vers_check, args=(s('path'), s('cur_vers'), s('client'), s('schema_version')))
        t.start()

Here I am going through doing some version checking

def vers_check(path, cur_vers, client, schema_version):
    """
    This Checks the Schools Release.
    TODO Add logging and Return Functionality.
    :param client:
    :param schema_version:
    :param path:
    :param school:
    :param cur_vers:
    :return:
    """
    os.chdir(path)
    try:
        vers = subprocess.check_output(("git", "describe", "--tags")).strip().decode('utf-8')

        raw = str(vers).strip('-')
        rawsplit = raw.split('-')
        st = rawsplit(0)

        if str(st) != cur_vers:
            cschools.append({
                'client': client,
                'schema_version': schema_version,
                'sw_version': st,
                'path': path,
                'is_update': False
            })
            log.log('warn', 'Version Check', f'The School {client} is on Software Version {st} and Schema Version {schema_version} Which is Out Of Date. Current Version is {cur_vers}')
        else:
            cschools.append({
                'client': client,
                'schema_version': schema_version,
                'sw_version': st,
                'path': path,
                'is_update': True
            })
            log.log('info', 'Version Check', f'The School is on Software Version {st} and Schema Version {schema_version} Which is Up To Date. Current Version is {cur_vers}')
    except subprocess.CalledProcessError as e:
        log.log('err', 'Failed Version Check', f'We were unable to get the version for {client}', e)
```

javascript – How to enable Site search tracking in Google Analytics when query parameter is a fragment identifier?

The aim is to replace the fragments with parameters.

Function 1, {{Remove Pii from queryText}}:
Here is an example:
Change the page field in the Pageview event

Notice that function is called Remove Pii. Since GA does not allow Pii info and users can enter it in via the site search. Thus while process the query text it can a good opportunity to remove the Pii.

So that function filters the personal info:

function(){
  try {
  var searchTerm = {{queryTest}};
  searchTerm = searchTerm.replace(/(w-.)+@((w-)+.)+(w-){2,4}/, "(Email)"); #remove email
  searchTerm = searchTerm.replace(/(+)*(((){0,1}(0-9){1,4}()){0,1}){2,5}(-s./0-9){4,}/, "(Number)"); #remove phone number and the like
  return searchTerm
  } catch (err) {
    //console.log(err.message);
    return {{queryTest}};
  } 
}

function 2 {{queryTest}}:

Using this link as a foundation: https://community.swiftype.com/t/how-to-add-query-parameter-before-stq-fragment/468

function(){
  try {
    var Frag = {{Page Path}};
    var qText = new RegExp("#k=(.+)");
    return Frag.match(qText);
  } catch (err) {
        //console.log(err.message);
        return undefined;
     } 
  }

Note: I have not tested this last function. As my situation had a different source for the queryText.

Auto logging / tracking records changes at MS SQL

how can I set automatic recording all changes that were done at tables records (Updates) and to get some info / logging summery?
thanks

tracking – Programmatically Pull Order Data from AliExpress?

Is there a programmatic hook or web service (provided by AliExpress or a third-party) that allows one to access order data from AliExpress using the order number and/or email address associated with the order without using AliExpress API?

To be clear, I’m looking to pull purchase details of an order using the order number or other identifying order characteristics (such as phone number) without:

  • Requiring the end user to login to (or provide authentication details of) his AliExpress account
  • Relying on AliExpress API

For example, on Walmart you can access full order details by providing the order number and phone number associated with the account order was placed from.

Is something like this possible on AliExpress?