I am new to funnel setup for virtual Page view. I have an quick question for SEO experts...
As you know, the funnel has "Name " and "Screen/Page".
In following screen, I am wondering about track_Pageview values (e.g: 'inquirey-visitorname-completed'). Are they Funnel's name or "screen/page" values? Please let me know.
Thanks you guys in advance.
in your example(looks like it's example from KissMetrics article) after "onBlur" JS-event happend on example, trackPageview method send virtual pageviews.
In Google Analytics at report "All Pages" you will see values like:
'/inquiry-visitorname-completed',
'/inquiry-country-completed',
'/inquiry-visitorstateprovince-completed',
etc.
In funnel settings you should use, for example, "/inquiry-visitorname-completed" as "Screen/Page".
So, in the "Screen/Page" should be used any type of pageview(real or virtual), like '/thankyou.html', '/order/completed/', etc.
In the "Name" field you can use "Order Lists", "Get a Quote", and so on - this is just name of steps for GA funnels.
Related
I have problems configuring a very basic goal in Google Analytics.
My goal page is: https://www.lifeconnections.pe/?action=ff1
I configured the goal as a destination and regular expresion using "/?action=ff1" as the goal text
In Google Analytics the "/?action=ff1" appears as the page visited in the "behavior>site content>all pages" report
Even then, the goal is not being registered.
What can be the error I am making. In Google Analytics documentation can't find the error.
Thanks,
Try to use your string value defining contains instead of regex or try to set this value for regex:
\/\?action=ff1
I'm trying to use Google Analytics as a data stream for Google Data Studio but it requires me to have a property view. There is no option for me to create a view in my property in the administration page:
There is no column named Views:
Is there something I need to do to be able to create new views?
OBS.: My Google Analytics account was imported directly from Firebase.
Google Analytics is changing and it is a bit confusing. I will try to clarify it for you. As far as I have gone, evolution has been:
1.- "App + web property" (Beta phase)
2.- "Universal Analytics" (*) (until 14-Oct-2020): It is identified because the account number is preceded by "UA-" eg. UA-123456789 (Attention, sometimes it is not very obvious and you have to create a new user to see the UA prefix). This option is only suitable for the monitoring and analysis of Web pages and has the option of analysis using "Views" enabled. If you don't have it, you should:
2.a.- Create a new "Property"
2.b.- "Show advanced options"
2.c.- Activate "Create an Analytics Property"
2.d.- Create only one "Universal Analytics" Property
3.- "Google Analytics 4": It is identified because the account number is preceded by "GA4-" eg. GA4-123456789. In this case, the analysis is not done through "View" but through "Data Stream" (** incorporating a series of improvements) although Google offers the possibility of creating two "Properties" one in UA format with Views and another in GA4 format with Data Stream
In all cases, you must place the corresponding gtag provided by Google Analytics within the tag of the page you want to analyze.
Sources
(*) https://support.google.com/analytics/answer/10089681?hl=es&utm_id=ad
(**) https://support.google.com/analytics/answer/9216061?hl=es&utm_id=ad
https://support.google.com/analytics/answer/9367631
https://support.google.com/analytics/answer/9539598?hl=en#:~:text=If%20you%20set%20up%20a,with%20%22UA%2D%22).
This is a good answer to that question. I had the same problem. In case the URL doesn't load, essentially,...
"If you set up a Google Analytics 4 property with a Web data stream, you have a Measurement ID (which begins with "G-").
If you set up a Universal Analytics ("Web") property (Universal Analytics properties have views instead of data streams), you have a Tracking ID (which begins with "UA-")."
You cannot have the property be a Google Analytics 4 property with a web data stream and have a view page as well. If you want the View page, then when you create the property, make sure its Universal Analytics.
Hope this helps, I'm new to this game.
Let's say I have a site and the user comes into it with a parameter:
http://example.com&url=blahblahblah
How do I go about passing along the url value from the parameter into Google Analytics?
1) User comes to the page with a url in the params
2) User clicks a download link with a ga tracking code attached to it which was generated from ga account like this:
http://example.com/download/param1=dkljdf&_ga=1.149898996.39207121.1424368466
You have to create a custom Dimension and a metric for that.
About custom Dimensions and metrics:
https://developers.google.com/analytics/devguides/platform/customdimsmets
After you have created a Dimension, you can add metrics to it by view, in example.
Follow the steps here for Universal Analytics:
https://developers.google.com/analytics/devguides/collection/analyticsjs/custom-dims-mets
Note that due to not have 10 point of reputation, I wrote the a "_" in http like "ht_tp"
BUT:
I think what you want to know is the number os visitors that clicks a download link in your site that comes from, lets say "blahblahblah" as web origin or other methods.
For that, you have the param utm_source that you can receive directly in the url.
So instead of ht_tp://example.com&url=origin you should receive ht_tp://example.com&utm_source=origin
In this way, you have no care about it. Analytics is going to take care for you so you can get a report of clicks by source.
Or, just use the referer in case all the incoming visitors are from webs:
ga('set', 'referrer', 'ht_tp://example.com');
And a final option, to use Events:
_gaq.push(['_trackEvent', 'ReferencedVisitors', jsVarWhereYouHaveTheOrigin]);
I am in the process of setting up enhanced Ecommerce for GA and have had a few requests of additional of what else the client would like to see in their reports. Once of which is
"Where can i see a report if the locations that a use types in when they use the store locator"
There is already an internal search functionality thats been set up and is tracking the search terms people are typing when looking for products, but i'm not sure if i would need to set this up as a second search terms report or if it's something different?
The URL of the page is different to the internal search results and is www.domain.com/store-locator#wales|GB|0|0|0
Any insight into this would be really helpful.
Thanks,
Roxi
As to me knowledge, you are not able to use bookmarks (#something) in GA for internal site search setup. Only GET and POST parameters are allowed. In your situation I think the best solution is to use GA events to send the data about used location each time the user is using this functionality. You need to include addition ga() function call to track those events. Info about how to set it up you could find here: event tracking. After setting things up, you will see all the info about number and type of called events in Behavior -> Events reports section in GA.
Example code:
<button onlick="var hash_location=window.location.hash;ga('send','event','Locator',has_location)">Click me</button>
With such function new event will be send to GA with Event Category=Locator and Event Action=hash in the url. You have some complicated hash, so most probably you need to extract first some info from this using regular expression. Example to get first item from |-separated list in the hash:
var pattern = new RegExp('[^#|]+');
var hash_location = pattern.exec(window.location.hash)[0];
I am setting up ecommerce tracking for a client and have a few questions to aid my understanding of Google Analytics.
I understand that you have to have an '_addItem' for every product that appears in the receipt. Does this require a change of the JavaScript in any way, or does it use what is already there to generate each item's data automatically?
My other question is: when the JavaScript pulls the transaction and item information from the receipt, do I have to do anything to my website code to make sure that the identifiers used in the JavaScript match the identifiers within the receipt? How does the JavaScript below know what 'total' means in terms of the data it is collecting?
I hope I have made myself clear, please ask if you would like me to elaborate. I'm really just trying to get my head around how this works and what I need to do to get it working.
<script type="text/javascript">
pageTracker._addTrans(
"order-id", // required
"affiliate or store name",
"total",
"tax",
"shipping",
"city",
"state",
"country"
);
pageTracker._addItem(
"order-id", // required
"SKU",
"product name",
"product category",
"unit price", // required
"quantity" //required
);
pageTracker._trackTrans();
</script>
Google Analytics will not autopopulate the reports based on the current page. GA doesn't parse anything on the page. You need to pass all information manually as the parameters to _addTrans and _addItem.
The documentation is very detailed and explains how you should implement it. But in the end the code snippets are just examples. you should generate the code snippets yourself dinamically based on server side logic in order to populate the code with the correct info for that transaction.
Official guide to implement Ecommerce Tracking