I am quite new to GA and I've been presented with a big challenge to solve:
We have a social media campaign that directs traffic to a specific page on our website.
On that page there is a link to a page on another site.
I need to track how much traffic the social media campaign generates to the page on the other website.
I have so far:
Created a virtual pageview that is triggered when the link on our website is clicked
Created a goal in which the destination goal is the virtual page
Is this the correct approach. Do I need a goal funnel? How do I track the social media campaign with the goal?
Thanks for your help.
As for me, more better setup cross-domain tracking. In result you'll see first source (your social media campaign) whihtout referral traffic.
Related
I want to share links like www.domain.com/twitter/headline where twitter/headline represents the link I put in my twitter headline. Then I use something like nginx to configure what would happen. I want to redirect the source to an external page like a profile and I want to track how many people clicked the link with something like bitly or google analytics or does anyone know an elegant solution for my use case?
Problems with bitly
1. You can not have two links for the same destination. So let's pretend I have domain.com/twitter/a and domain.com/twitter/b and both redirect to two bitly links that forward to my linkedin profile. This does not work.
Problems with Google Analytics
1. ga is not made to track redirects. it can track where the traffic comes from but since I forward to external sources like linkedin I cannot put a ga code on my linkedin profile to do it.
I am not sure to understsand the entire flow.
You can use a service like anytrack.io.
it will track the incoming traffic landing on your page (very much like GA does), and
track the outbound clicks to wherever you send the visitors.
Then it will tie the events to your GA account.
Not sure if that's what you wanted to do...
Is there a way to implement google analytics opt out extension on a mobile browser? I am developing a site and it requires checking the site out on mobile. How do I stop the google analytics code that is in my site from picking up these views?
The question is not fully clear - do you have problem with some part of code responsible for Google Analytics service? Or you just want to exclude your testing visits. In other words you don't want to clutter Google Analytics reports with your data (testing visits etc.).
If this second case is a sense of your question, then the easiest way is to create a filter (based on your network IP) in Google Analytics.
To create a filter, please:
1/ Login to Google Analytics
2/ Go to the ADMIN section
3/ In Account column, please enter "All Filters"
4/ Click red button Add filter
5/ Use predefined filter > exclude > traffic from IP adresses
If this is not the answer which you expect, please give more details :)
In your backend, which generates your site (HTML), you should detect using User-Agent if the client is in fact a mobile device and do not add Google Analytics (or GTM) script to the page.
I have been reading some google documentation on tracking via google analytics, but still hasn't have a clear understanding of what's happening, I will put this in plain english so that my query can help others as well.
Basically I have 2 sites: siteA.com (parent), and siteB.com (child)
I have created a widget on siteB.com, i.e. siteB.com/widget. Let's say in this case I embed siteB.com/widget on siteA.com (home page)
<iframe src="http://siteB.com/widget"></iframe>
And on siteB.com, I have the relevant google analytics installed. So my question is:
Will siteB.com google analytics be able to register siteA traffic? (one traffic to siteA.com equals to siteB.com/widget.)
Many thanks!
Short Answer : No, It is not as simple
For cross browser tracking:
https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingSite?csw=1#trackingIFrames
In a site where the transfer between domains is done by opening a new
window or by including content in an iFrame, you will need to to
use the _getLinkerUrl() method to transfer visitor and campaign
cookies from one domain to another. For example, suppose you include a
form in an iFrame that is hosted on www.my-example-iframecontent.com.
In order to transfer visitor information from the parent page that
hosts the iFrame on www.example-parent.com, you would use JavaScript
to load the iFrame and pass in the cookie information using the
_getLinkerURL() method.
There are different ways to setup and it all depends on your configuration. Therefore, I suggest that you setup some test profile and experiment with your settings.
I would like to track clicks and views of banners on my website to give statistics to the advertisers. These banners are added via custom post type in Wordpress.
If I use the URL builder tool to generate that kind of URL: http://widget.newswire.ca/registration/submit_form_cnw.php?l=cafr&utm_source=fpjq&utm_medium=bigbox&utm_campaign=cnw is it ok?
I mean, is it the right way to do it?
Usually you use the URL builder tool when you have external campaigns like advertising on another sites, sharing links on social media, etc. It's normal that your advertisers will give you the destination URL with the tracking parameters they want so they can monitor their performance in GA on their end.
In order to track clicks on the banners you host on your site you should use either virtual pageviews or event tracking:
Classic GA:
https://developers.google.com/analytics/devguides/collection/gajs/asyncMigrationExamples#VirtualPageviews
https://developers.google.com/analytics/devguides/collection/gajs/asyncMigrationExamples#EventTracking
Universal Analytics:
https://developers.google.com/analytics/devguides/collection/upgrade/reference/gajs-analyticsjs#virtual-pageviews
https://developers.google.com/analytics/devguides/collection/analyticsjs/events
You can add a small delay so GA has enough time to execute the code.
I would like to track visitors sent to a website from different QR-codes. The QR-codes are unfortunately not created with google url builder. The problem, as I understand it, is that these visitors will only show as direct traffic to the different pages to where the Qr-codes points. Is there any good way to segment this traffic from other direct traffic to the same pages?
You will either need to:
Create a unique (sub) domain like qr.example.com/whatever
Create a unique get request like example.com/whatever?from=qr
Assume that everyone visiting your site from a mobile, with no referrer header set scanned your QR.
That's about all you can do.