google analytics – Tracking alternatives within goal funnels

I honestly have no idea how to phrase this better.

I need to take a regular goal funnel tracking and make it report on a few alternatives within one of the steps.

Here’s an example: back button usage. There’s a built-in back button in the browser, and we have one on the site. Here’s what I need to figure out: of all the situations where users returned back, how many of them used which of the two buttons. I imagine having the results on a pie chart would help.

The step with alternatives will have to be enclosed by two other steps that must be commmon for both scenarios, that way we can isolate the users who went through the alternatives.

In the example above, the first step would be triggered by a product page visit. The second step would be either clicking the back button on the site or in the browser (how to actually track that is a whole other question), and the final step would be finishing the checkout. So we take all users who were on the product page and ended up making a purchase, and try to see the percentage of how many of them used which button.

Google Analytics Experiments seems like an option, but it looks like the variants can be different pages with different URLs only, while I need the variants to be different Javascript events on the same page.

I’d prefer Yandex Metrika, but can use Google Analytics as well. Tried searching for tracking alternatives with analytics but the results mostly cover alternatives to Google Analytics.

[AP] Daily Goal

Admin submitted a new resource:

[AP] Daily Goal – Adds a daily post goal to the Forum Statistics widget.

This addon adds a "Daily Goal" for posts to the Forum Statistics widget. You can specify the desired goal in the admin panel.

The counter is reset via a cron entry every day at 00:00.

Read more about this…

Read more


google analytics – How to calculate a conversion goal value for a large sample size?

I need to assign a conversion goal value for user actions made on a website.

I have already processed the data for a sample size of 210 paid invoices. The statistical analysis of the income values can be seen in the results below…

enter image description here
enter image description here

Which parameter should I use as the conversion value and why?

Please Note:
I have posted the same question to Mathematics.SE and stackoverflow due to the feedback on similar:

python – Using identified goal and N-gram in sentence to classify text

I have a list of tweets (CSV file) that were cleaned and make NER using Spacy.

For example:

“I really like the new design of ORG and I make the same design of

“I don’t like GPE”

“PERSON design is awful”

I want to reach in each row about goals (NER words, like in sen2 GPE) and make n-gram for this goal
and find it in (positive csv file) if find it return (sentence + label ‘positive’) if not find return (sentence + label ‘negative’).

I am trying to explain what is wanted. and I want code in python.

for goals in sentence
 if goals = word
   s=ngram for goal
     if s= positive list
         print sentence, positive
          increment for all word in sentence
         print sentence, negative

OR may make ngram for all rows in the file and fetch goals in the list of ngram and compare it in the positive list if find it return (sentence + label ‘positive’) if not find return (sentence + label ‘negative’).

I hope that’s clear. If anyone has suggestions, I happy to share them with me.
Thank you

python 3.x – Generate random string to match the goal string with minimum iteration and control statements

The following is my python code to find the number of iterations needed to generate random string iteratively to match the input string.

Here I have repeated a similar kind of for loop in both the functions randomString() and betterString(). I tried to avoid it but couldn’t. I want this to be combined together into a single generateString() function with minimum iteration statements. Any suggestions to make it so or any other possible way to make the code better without complicating much?

The input is any string statements like “Hello, World! How Are Y@u doiNG?” and the output is the number of iterations needed to match the input string e.g 408. Your suggestions to improve the code will be helpful.

import random

def randomString():
    global stringLen
    stringLen = len(goalString)
    global alphanum
    alphanum = '''abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ !@#&()–({}):;‘,'?/*1234567890'''
    global alphaLen
    alphaLen = len(alphanum)
    randomString = ''
    for i in range(stringLen):
        randomString = randomString + alphanum(random.randrange(alphaLen))
    return randomString 
def betterString():
    betterString = randomString()
    newString = ''
    iteration = 1 #included the iteration of randomString()
    while betterString != goalString:
        charIndex = (i for i in range(stringLen) if betterString(i) == goalString(i))
        for i in range(stringLen):
            if i in charIndex:
                newString = newString + betterString(i)
                newString = newString + alphanum(random.randrange(alphaLen))
        betterString = newString
        newString = ''
        iteration = iteration + 1
    return iteration

goalString = input()

Sample Input: “Hello, World! How Are Y@u doiNG?”

Sample Output: 408 ##May change depending on the random iteration##

Google Analytics not displaying goal conversion

The predicted goal conversion rate (ie. 0.78% in your case) is an estimate of the rate of conversion if your configuration were to be applied to past data, which of course it will not do. Also, data processing of goal conversion (and all GA) data takes some time, usually up to 24 hours, so your reports will still show 0 until the data has been processed.

How to add a goal in Google Analytics based on the fragment identifier?

I want to add Goal in Google Analytics with the same URL twice with a different values such as

these are on the same page with different tabs. So how can I track which tab the user goes to? Currently google analytics just tracks my checkout page, not which tab based on the #shipping and #payment fragment identifiers.

How to add a goal in Google analytics with regular expression such as

I want to add Goal in Google Analytics with the same URL twice with a different regular expression such as

these are on the same page with different tabs. So how I track user go which tab and other go where because google analytics just track my checkout page, not #shiiping and #payment

Google analytics event goal onclick link

I want to use an event goal onclick for tag and the goal I used doesn’t work

<a onClick="ga('send', 'event', 'Captain', 'Click', 'Captain telegram', '1');" href="" target="_blank"><img src="" width="100%"></a>

I set event goal in google analytics as below :
Category : Captain
Action : Click
Label : Captain telegram
Value : 1