Goals in Google Analytics do not work - regex

I cannot figure out how to get Google Analytics Goals to work:
URL in Google Analytics report:
/relay/v2/relay.cgi/www.mydomain.com/faerdig.php?tid=3414528&orderid=03-14:29&amount=100000&cur=208&date=20101003&time=1430&cardnopostfix=4000&timer=03-14:29&cardid=2&transfee=0
(Above URL is taken straight from the Google Analytics report)
I want to search for: faerdig
I have tried the following:
Head Match: /relay/v2/relay.cgi/www.mydomain.com/faerdig
Regular Expression Match: faerdig

First and foremost GA has a delay of 24-48 hours on custom coding (and sometimes even generic page view hits), so don't expect to see hits instantly.
2nd, you must have the global GA code on the target page in order for it to be tracked in GA. Have you ensured that the global code is on the actual page? Pointing to the right account, etc...?

Related

I'm looking for a way to get Google Analytics to recognize clicks that lead to external site

I'm trying to create a goal in my analytics page. The goal is "when a user clicks a certain link", the problem is the link is an external link with different domain than my website so i cant just write /pagename in the goal details.
I've researched and tried different things, but examples I've seen only shows how it works when its an internal page. I don't have access to the website back end code, just its Google Ads and Analytics account.
In the analytics menu, I set my goal description as "when user clicks x button" Goal type is "Destination".
And then under goal details, I tried regular expression like this:
.*externalsite*html$
I also tried
^http://externalsite\.com/
and
/^http:\/\/externalsite\.com
and some other regex that I forgot.
Google kept saying the goal would have 0 conversion results, which isn't true as I've received email about the thing this click event was about just about everyday.
Any suggestions?
The basic problem is, that Google Analytics by default is not tracking clicks on external links on your site, only visits to your own pages. Although it is not explicitly stated in your post, I assume, that you don't have tracking of external links implemented in any custom ways. If this is the case, you will need to get your Analytics tracking improved, either by accessing the site code via a developer, or by getting Google Tag Manager implemented also by a developer, which will make similar task very easy. Newertheless, I'd recommend implementing external link tracking with events, as using additional pageviews for this, as it would have major impact on your pageview based metrics, like bounce rate and average pages per session metrics
In case you have implemented external link tracking as pageviews, you need to make the following adjustments.
By default, all these page visits get tracked and displayed in the pagePath dimension by their path, and domain is tracked separately in hostname dimension. Goal setting will only consider pagepath, so you need to set up an Advanced view filter, to modify pagePath dimension, and include hostname in it. Your filter would look something like this:
This would allow you to use a Regular Expression in your destination type goal, and filter for the domain as well. However, protocoll will still not be included, so something like this could work, which simply checks for the third party domain:
example\.com\/

Get Github Pages Site found in Google Search Results

I have a site built with Jekyll Now on GitHub and I want it to appear in a google search. If I just google my GitHub username followed by 'GitHub' and 'io', it does not find my site. How do I get google to find my site in a google search?
You have to create a Google Search Console account and add your page, then typically you just drop a "marker" file in the root (Search Console generates this) so that Google can confirm you really own the page.
Google Search Console
Instructions
(Since the instructions are long and have many links to sub-steps, I'm only providing the link.)
Also, if you're going to use a registered domain name, set that up before you register the site for search.
(Edit: Technically you don't have to do this, sooner or later Google will find you... but this will give your content a much higher-quality score.)
It can take a few days before the site is indexed by search engines. Google for google index site and you will find quite a lot of information about the process and how it can be speed up.
Generally, google finds all website and index them. Sometimes, it's takes time to crawl the new website.
But, you can do this thing manually by following these steps:
Go to Google search
Add the website as your property
Then, verify your property that you're the owner of this.

Best way to track campaign transactions in Google Analytics

We have just begun trying two price comparison websites that are using different source, medium and campaign values in Google Analytics.
I want to try to track sales from these to the product and notice that in Analytic Goals they are fine for setting up a goal that would end in our transaction confirmation url but need to have a funnel url that ends with, for example below
utm_source=pricerunner&utm_medium=cpc&utm_campaign=pricerunner
Anybody have any idea how to do this using the end of a url? All I can see if GA is the entire url value or "begins wih"
I have tried using regex but nothing is being tracked
The campaign parameters needs to be passed in the url from the price comparison website to landing page (probably a product page at your end). At that point the GA session gets automatically associated with the utm parameters, and you do not track those url parameters subsequently in your funnel.
If you want to see the funnel for a specific pricce comparison website you can use a GA segment to isolate the goal traffic based on the campaign name. that should do the trick

Google Analytics in footer file

I have a question about how Google Analytics tracks pages in a Wordpress site or any other site that uses a template file to include the code for Google Analytics in the footer or header. Since the file is generated and used in all the pages, that would mean that the analytics code is counting all the pages that are viewed correct? Also, is it possible to view what pages are getting hits and have a more detailed report in Google Analytics? I just have a feeling that the page i'm tracking is displaying inaccurate reports since the same code is used on every page. Can anyone help clear this up and educate me a bit on this topic?
The code is always the same, it loads in the footer so you dont have to put it on every single page.
in the code there is a unique code for your website so analytics knows wich analytics account needs to get the information.
The code dosn't need to be changed everypage.
You can see the pageviews like this:
-->google analytics
--->contents
-->Site content
-->all pages
Now you get a list with urls and the page view for every url
You can sort the list by pageviews (how many times is the page loaded) and unique page views(How many uniqe ip addresses have visited the page.).
You can also find bounce rate wich shows how many % of the users left you site on that page.

Google Analytics - Regular Expression Goal URL Not Matching Page Views

For some reason - my goal URL page loads don't match my overall goals tracked in Google Analytics.
When a form is completed on my site - the URL will be appended with the following:
?enquiry_sent
so www.mysite.com would become www.mysite.com/?enquiry_sent
I am using the following regular expression to try and track the URL loads:
.*\?enquiry_sent.*|.*\?enquiry_sent
Yesterday - we started testing across the site and out of over 75 forms submitted we only registered 7 goals in GA.
The unique page loads for the urls with ?enquiry_sent are all in Google Analytics but just not being registered as a goal.
Does anyone know why this is happening or how we may fix this?
Your regex doesn't make sense. It should be just:
.*\?enquiry_sent.*
I'm just updating this thread as I have had a response from the team at Google. Apparently there was no issues with the regex that was used.
Google has let me know that Goal Completions are actually a measure of how many visits result in a goal completion, rather than how many times a goal is actually completed.
So while in my situation there were over 75 leads submitted from the website - they were only submitted from 7 visits, hence only 7 of the conversions were counted in the goal completions report.