Cross Domain Tracking as a Goal? - google-analytics

I have spent countless amount of time researching an answer for this task, but to no avail. Needing some help from the GA experts.
We have a URL that redirects to a landing page on our website.
This mentioned URL is used for radio ads (ex. www.abc.com)
The URL is just a domain...no actual website.
Will use this as an example:
www.abc.com redirects to www.ourcompanysite.com/service-page-city
The goal is to see how many times someone went to www.abc.com, and basically track web page visits from the radio ad.
Been having some trouble getting this type of measurement created, and also don't want to interfere with any of our existing goals.
Any experience with this type of cross-domain tracking?

Related

Pay to view random URL (Wordpress)

I need some help with the following:
I have a website running on Wordpress. When the user hits the buy button (Paypal, stripe etc) and the payment is confirmed, I want to redirect them to a random page (1 of 10 pages).
I don't know how to resolve this, and one of my concerns is that people will be able to share the links that they are redirected to after the payment is successful. How do I prevent this from happening?
Appreciate all the help I can get!
You have two problems, restricting access to pages and redirecting to a random page.
For restricting access to pages, some kind of authentication is needed, such as membership software that gives them a login username/password to be able to access that page. There are many plugins available for Wordpress that will give membership access after taking a payment.
For redirecting to a random page you will likely need to write your own custom solution, and do it as a server-side PHP plugin if you don't want the random URLs you are redirecting to be visible.

Analytics shows fbclid and fblogin.htm but I shouldn't have them

I created a hugo ssg blog for my mother which is hosted on netlify. The intent of blog was just to keep her busy during pandemic, therefore, it's just lists of articles. No like/dislike, no comments, no other functionalities. Only JS included is Google and Bing Analytics.
I was going through analytics and found random fbclid urls in page visits. After some research I followed advice from this stackoverflow page and stopped worrying. After few months, I see bots visit on /fblogin.htm. Remember,I have not added anything related to FB on the site. There is no fblogin.htm on the site, There is no sharing of blog post on fb. I have no idea why bots from facebook would look for a non-existent page on the site. Is it because of <meta og:...> tags in head? Can someone explain to me what is happening here and should I be worried about it? I occasionally get random spikes of 5-15 visits from china, turkey, finland or some other random country via these fb bots. Should I be concerned?
fblogin.htm should be explored, however fbclid is a parameter that Facebook hangs when you click on a post in Facebook that leads to your site.
So if the link to a page of your site is on Facebook (i.e. in a post) and someone has clicked on it, you will find that parameter in Google Analytics append to the landing page.
IMHO you need to be precise about 'few family members' and 'we tell them on phone' - are you sure how this was shared between them? is anyone Whatsup user or was this shared via Xiaomi or other China phone ? Also if the blog is not password protected those Facebook variables could just be used by the bots to mimic human behaviour

Google cached url for specific site and parmanent url redirection

first i like know how can i see what are the pages are cached of my web site. say my web site is www.mysite.com
i am going to change few urls of my site but there is one problem that i may loose SEO. suppose google cached this page of my url like
www.mysite.com/detailproduct.aspx?id=200 now i have change the location and name of the page. say now detail product name change to product and url looks like
www.mysite.com/catalog/products.aspx?id=200 so when people search google and if this link www.mysite.com/detailproduct.aspx?id=200 comes in google search and if user click on this link then no relevant page will display. so first of all i need to know what are the different pages has been cached of my web site by google if i know then i can write permanent redirection logic as a result google cache pages url will be change..i guess.
if anyone know any best practice to handle this situation then please discuss in details. the situation is few page name and location has been change and if user search google and if old page url comes then no page will display when user click on those link. i want to handle this situation in best way....what is all of your suggestion. thanks

From which website clicks came?

Two days ago i published a new article on my website, Racebooking.net, and taking a look at Google Analytics, i found something amazing!!
I had 10 times more visitors than average on these 3 days. This means somebody shared my article on some website.
What i would love to know is:
On which website the article was shared. For instance, a user sees
the link to my article posted to somewebsite.com -> the user clicks on the link -> the user
arrives on my website. This way Google Analytics should be able to
tell me that one user came from somewebsite.com, right?
If possible, the exact page on which
the link was shared. For example, if it was shared on a forum, i
wanna go to that page in order to "spy" comments and know what people think about my
article
Is Google Analytics capable to do it? If not, how can i get what i want?
I really need to know these info to improve my website!
Thanks guys
You should be able to go to Acquisition > All Referrals to see an overview the websites that referred traffic to your site. Once you find a site you'd like to see more info on, click that site and you can see the exact page from which the referral came from.

Google Analytics - only track traffic to a folder of the site

I want to track traffic for mysite.com/current-campaign/ and careless about traffic on mysite.com in general.
Is it ok to place the GA tracking code in the files inside the /current-campaign/ folder or does it HAVE TO be in the root of the server for tracking to work?
GA will only track on the pages you actually put the tracking code on, regardless of where the page is located (unless you start messing with things like domain settings or filters etc..).
So IOW yes, it is okay to do that. If you don't have tracking code on mysite.com/somePage.html then it's not gonna track that page (though it might show up as the URL in some reports like referring URL or exit link or whatever, same as any other page you don't track)
In Google Analytics, you can add a filter to the profile and filter all but the chosen directories. Go to Analytics Settings > Profile Settings and look for "Add Filter" link.
In addition to Crayon's answer, you can limit tracking to a subdirectory by using _setCookiePath() function in your tracking function. See Analytics documentation on single subdirectory (note the link anchor is not resolved to a correct header, at least for me).
This is advised in the documentation to use when you only want to track a subdirectory and avoid clashes with Analytics trackers possibly in use in other subdirectories.
I work for a department in a large university.
The department's web page resides at www.some-uni.com/department-name/.
I only have FTP access to the sub-folder /department-name/ and nothing else on the site.
It was quite easy to get Google Analytics to track traffic within the subfolder /department-name/, ignoring the rest of the site. All I did was create a profile in GA, setting the default url to www.some-uni.com/department-name/. I then pasted the tracking code into the pages I wished to track.
It took about eight hours for anything to show up in GA, but after that it worked just fine.

Resources