Tracking conversion from marketing website to application using Google Analytics - google-analytics

I have:
- a marketing website: http://www.example.com (www)
- a web application: http://app.example.com (app)
(classic scheme in SaaS)
I want to visualize the X signups happening in (app) from Y visits on (www).
My question:
How do you configure your Google Analytics code + account (filters, ...etc) to achieve this?
Right now, this is my configuration:
- Same tracking code on (www) and (app) as described here.
- A master Google account with no filter
The problem: it combines (www) visits and (app) visits into the same report.
=> I have the right number of signups but a wrong conversion rate
(I would like to count the people who have only visited (www) and never (app))
I also created a profile that only counts the (www) visits and excludes the (app) visits. The problem is: this profile also excludes the signup events sent from (app). Therefore, I don't see any signup in this profile.
Do you have any implementation to solve this?
Thanks a lot.

You will want to set a session level variable on the app that tracks one of 2 states:
Returning logged in visitor
First time logged in visitor (i.e. just completed the signup process)
Then you should be able to set up a profile that includes all sessions apart from returning logged in users. This will give you visits to the marketing site + visits to the app where the user didn't signup + visits to the site where the user signed up.
You can then create a conversion rate signups/total sessions to get your conversion rate.

For such a requirement you can utilize a URL destination goal with funnel visualisation. For example, when a user signups at your app http://app.example.com , let /thankyou , be the name of the page that is displayed. Then set up a goal in your profile, with /thankyou as the destination url. Now setup a funnel for this goal, with the required page in your marketing site http://www.example.com as the first step and the linked page in your app site as the second step.
Now the funnel will be page in marketing site --> page in app site --> signup completion page and in the report under Converson > Goals > Funnel Visualisation , you can see the number of users entering each step and then how many proceed from there to next step or exit. So you can know :
1, How many users entered marketing site
2, How many users went to app site and how many exited
3, How many from app site, went to signup and how many exited at this stage.
You can also check the reverse goal path report to see a similar data and other possible paths.
NOTE : If you want to setup a goal and funnel with full url including domain name and page name, then use this advanced filter to extract full urls and setup the goal accordingly

Hard to answer without knowing the actual urls for the app and www. Assuming there's a sign-up page on each site, then you have your conversion funnel set up to track both pages. Don't click the required box. Then in the Funnel Visualizing report you'll see who signed up coming from the app-url and who from www-url, which perhaps you can already see?
http://www.boxcarmarketing.com/images/uploads/funnel-visualization-eg.png
(I can't post the image b/c I don't have a rep score on Stackoverflow.)
Above link is a screenshot from a client's analytics. The /user/register is signups from the wwww and /user/register/2 is via the app. I recommend a clearer naming convention. And the conversion rate is screwy in this example but you get the idea.
If it's not a page (separate urls to see via the funnel), then track clicking the sign up button as an event and use the label field to note if it's a click from the app or www.
Or if you need something really complex depending on the structure of the site, you could create custom variables to identify visitors who've signed up via the app vs. those who's signed up via the website. Then you can do custom profiles to look at each group's path through the site.
https://support.google.com/analytics/answer/1144420?hl=en

Related

How to filter by query string in Google Analytics?

This is a question about Google Analytics state 06/2016.
We run a site and have decided to try out Facebook Ads. Now in Facebook ads we have defined a custom parameter src=fb.
I'd like to create a custom Analytics report that shows
How many visitors visited the site via Facebook Ads
and then which pages they viewed and if they clicked on Adsense ads and the usual Adsense statistics like cpc, rpm.
How do I create a filter for this src=fb query string so I can follow what they did on the target site?
Please be detailed, a "create a custom filter" doesn't cut it. How, where, what content? The target uri is /?src=fb.
Edit: More clear information
There is a target site: example.com
There is a Ad campaign. To know that people came to the target site using this Ad campaign there is a parameter src=fb e.g. https://example.com/?src=fb
Because we know the parameter we could filter visitors who landed on the target site through the ad campaign.
GET /?src=fb HTTP/1.1
Host: example.com
This way we know people who clicked the ad came from the campaign.
People who did not click the ad visited the site from other sources. They don't matter in this context.
Now as the first step I'd like to display everyone who visited the site using /?src=fb uri. I could grep server logs but I wouldn't know if they clicked ads on the target site.
First, you should probably be using UTM parameters for offsite campaigns. Google Analytics automatically pulls UTM campaigns into standard campaign reports so you'd have to do only minimal sorting and filtering to analyze your Facebook ad performance.
But since you used a custom query string instead of UTMs you'll probably have to create a Custom Segment: Advanced > Conditions, and Include only Users (or Sessions, up to you) who hit a Landing Page that contains 'src=fb'. Like so:
Save that segment and view your reports through it and as long as your property is configured properly (you may have to define goals), you should see how your users behaved after hitting the ad.

How to track traffic of example.com/?ref=uniqueCode with Google Analytics

I give each visitor who signs up to my Google Form an unique url to my landing page for them to share with their friends. The idea is the more they share and their friends visits the site through their given unique url, I'll move them up the waiting list for a product launch.
So for each visitor I gave them example.com/?ref=uniqueCode which is unique to each visitor. Currently I'm using Google App scripts to programatically generate individual url to each visitor who signs up my Google Form.
The goal is if I see traffic coming in from eg: example.com/?ref=a, and I know tag a belongs to John Doe, I'll move John Doe up the waiting list.
Tried googling for a solution but couldn't find any. All solution directs me to creating a particular campaign in Google Analytics with the URL building which really isn't the right solution for this purpose.
How do I set this up with Google Analytics and track the incoming traffic for each unique code of the ref tags of each user?
Going over your question I cannot see why URL builder does not fit your needs.
However, when it comes to immediate and accurate statistics of incoming referrals you may also use a server side script to track incoming visitors.
Also for lots of existing CMS there are plugins to track referrals. If you use a CMS please update your question.

How to share a part of the site in Google Analytics

we have events listing website and events from different organizers are grouped (by URL), like -
www.site.com/organizer/event1
www.site.com/organizer/event2
www.site.com/organizer/event3
etc. How to give an organizer an access only to his/her part of the site's Google Analytics?
Easy way -
An organizer registers in Google Analytics
An organizer creates a counter in Google Analytics
An organizer sets this counter in his/her profile on our website.
We add this counter to our Google Analytics code on www.site.com/organizer/* pages
He/she clicks on some link in the profile and sees the GA stat only for own events.
The way I want it:
He/she clicks on some link in the profile and sees the GA stat only for own events.
Is this possible with some API to separate statistics for www.site.com/organizer/* and share a private link to it with organizer?
After reading your comments in another answer (which is basically just a copy of the comment I left on your question). I have changed my recommendation left in comment, think you should use the Google Analytics API for this.
Since you want to give others access to your own data I suggest you use a service account. You will need to do this in a server sided programing language, say PHP or C#.
Every night run a job that will extract the data you want though the Core reporting API. Store it in the database then create a page that will then display only the data you want to the different people. You will only need to run your job once per day as the data for previous days will never change. Wait at least 24 hours to get the data as data hasn't completed processing for 24 hours.
I am not sure what language plan on using but these tutorials should get you started: Google Service Account with PHP or Google Analytics API Authentication with C#
I would create different profile views with filters to include only the subset of data for the subpages.
This way, you can add a specific user access rights to that specific profile only, so they can only view that profile when they log in.
Create an include only filter which filters on Request URI: /organizer/event1, /organizer/event2, /organizer/event3 etc.

Track WordPress Signups with Google Analytics

I would like to track WordPress user signups/registration using Google Analytics.
I've done this with other platforms before but for some reasons it's not working on WordPress.
1- I set my Goal URL to: /wp-login.php?checkemail=registered (that's the landing URL fir a success sign up)
2- Match Type: "Exact Match"
3- Goal Funnel Step 1: /wp-login.php?action=register (that's the Registration form URL)
I have couple of sign ups lately but Google Analytics didn't track them.
Anything help would be appreciated. Thanks
Check to see if your GA code is even on the registration page? Even though I have my GA code in my header in all my pages WP left it out and I had to manually add it to the Registration Pages.

How to capture if a visitor is from a google adwords click

When a user signs up on my site I want to be able to store whether or not they came to my site via an Adwords campaign.
I know google uses javascript to track conversions based on a cookie that is created on the users machine. Is there a way I can check this cookie so I can store the source against the user account?
You're correct--you can read this data from the cookies.
To configure the tracking:
connect your adwords and GA
accounts:
in your AdWords account, go to My
Account > Account Preferences, click
the "edit" link next to Tracking
then select the box that says
"Destination URL Auto-tagging".
Click "Save Changes";
still from your AdWords account,
click the Analytics tab and choose
Analytics Settings > Profile
Settings > Edit Profile Information;
check "Apply Cost Data", then click
Save Changes
So how can you tell if it's working? And where does GA store the data?
Grab an initial __utm.gif request and look at the Referer. Appended to the URL is a new parameter "gclid." This is the keyword-specific parameter (unique to your account). It's this parameter that distinguishes your visitors as AdWord-originating (i.e., "google(cpc)") from "google(organic)" Here's one i just grabbed and anonymized (scrambled the numbers/letters):
Referer: http://www.adomainname.com/?gclid=CKr61p31yKACFZlg4wodjj3gbA
You'll see this identical string in two other places in the same tracking pixel request:
(i) as the value for the GIF Request Parameter "utmp" which is the page request for the current page, and, most importantly;
(ii) as the value for the GIF Requests Parameter "utmcc"--the container for the cookies. The specific cookie that holds the adwords data is __utmz, which is actually the container for all referral data. Here's an anonymized example i just grabbed more or less at random (i.e., i just did search in Google using a query comprised of obvious Adwords and then clicked one of the paid links in my search results, then just pulled the Request Header):
utmcc=__utma%3D755416178.1576730350.1269876846.1269143846.1269143846.1%3B%2B__utmz%3D219726107.1269143846.1.1.utmgclid%3CKr61p31yKACFZlg4wodjj3gbA%7Cutmccn%3D(not%2520set)%7Cutmcmd%3D(not%2520set)%7Cutmctr%3Dhomes%2520for%2520sale%3B
HTTP/1.1
You could add an additional url parameter to the url you gave at google adwords, and check for it on your site and store in a session variable or cookie.
At registration of a user account check for this session or cookie you have created and act accordingly..
I know this already has an accepted answer but it's very out of date. The updated way can be found here: https://support.google.com/analytics/answer/1033981?hl=en
C+P'd:
In order for Analytics to display details about your AdWords keywords
and costs, you must do one of the following:
Enable auto-tagging. This is the recommended approach and ensures that
you get the most detailed AdWords data. Manually tag all your keyword
final URLs with tracking variables. You should only do this in the
special cases outlined below.
How auto-tagging works Auto-tagging automatically imports AdWords data
into Analytics. Combining AdWords data with the rich post-click
information provided by Analytics allows you to see what happened on
your site after people clicked on your ads.
When you enable auto-tagging, a parameter called gclid is added to
your landing page URL when a user clicks over to your site from an ad.
For example, if your site is www.mysite.com, when a user clicks on
your ad it appears in the address bar as:
www.mysite.com/?gclid=123xyz
Enable auto-tagging To enable/disable auto-tagging:
Sign in to your AdWords account. Click the gear icon, and select
Account settings. Make sure you're on the Preferences tab, and click
Edit in the Tracking section. Select (enable) or clear (disable) the
Auto-tagging checkbox. Click Save changes.
You could always provide an adwords-specific landing page. That way you have a lot freedom to do whatever you want with the incoming adwords user...

Resources