How to associate a goal conversion with the ad campaign? - google-analytics

I start an Ad campaign and whenever user clicks the Ad banner, he will be redirect to a URL like this:
mysite.com/?utm_source=ad3
Then in my Google Analystics, I defines a goal as:
mysite.com/goal.htm
Then how to associate the ad campaign with the goal so that I can know whether the goal is generated from the ad campaign?

When using manual campaigns utm_source, utm_medium and utm_campaign are required parameters, you should use all 3.
If you go into your traffic source reports you can select the Goal metrics to see how many goals are completed per traffic source. This is automatically done for your correctly manual tagged campaigns.

Related

How to get user information for specific events in Google Analytics?

We have set up Google Analytics on Requestly Pricing Page. We are already getting site-related information, anonymous statistics, events from the page like
Pricing Page viewed
Coupon Applied Successfully
Duration Changed to Monthly
Premium plan bought
.. so on ..
However, Now we want to track the users who are performing a specific event like
Pricing Page Viewed
but did not purchase premium plan So that we can send targetted emails to those users. If we can get the user IDs (non PII data) from Google Analytics for a particular event, we can map them from our CRM system and get their emails and send them an email.
So, How can we get the list of users associated with some event?
If you are sending the information to Google Analytics as a custom dimension, simply add the second dimension in the Event report.
If you are sending the userId with its defined parameter you have to enable User-ID in your Property and create a User-ID view to see the data in your Analytics reports: https://support.google.com/analytics/answer/3123666?hl=en
Yes we have started sending User Ids to Analytics and now we are able to see User performing events in User explorer but I would like a reverse way. Given an event I want to know which users performed that event.
User ID in Google Analytics
There are three ways to import the User ID in Google Analytics:
customizing the schema field userId
setting up a custom dimension which contains the value
both of the above
In case 1, you can access the data via Google Analytics in User Explorer report, setting up a User ID View.
In case 2, you can access the data in each report that allows to define a secondary dimension.
In both cases, you can access the data in Google BigQuery, if you set up the export.
About your specific need
To know which users performed a specific event I suggest you to create a custom report in which you specify the event in the filters and you set your User ID custom dimension as dimension. This approach of course assumes that you import the User ID at least as a custom dimension.

Sending event values to Google Analytics using Zapier

I'm using Close.io as a CRM, I want to be able to create an event on Google Analytics and record the conversion value. The purpose of this is so that I can tie a certain Google Ad to its performance. On Close.io this would be a new Opportunity created. I'm using Zapier to integrate the two platforms and it has a new Beta integration with Google Analytics. I set it up so that when a new Opportunity is created, it creates a measurement on GA with the measurement type "Event Tracking", and the category, action and label similar to the goal I created on GA. However, when I send tests to GA, it's not appearing in my acquisitions report on GA.
There are fields for Customer Client ID and User ID.For customer ID there's a description that says: "This anonymously identifies a particular user, device, or browser instance. Google may ignore repeated identical measurements. The value of this field should be a random UUID (version 4) which you could generate using a Code Step. Defaults to a UUID shared by all Zapier users"
I'm thinking of capturing unique session ID on the form using javascript and filling these fields in to see if it works. Please help with thoughts and feedback. Thanks!

Why I need Google Analytics UTM

I can see sources of visits and other related data on my Google Analytics screen. As I read so far, UTM tracking aims to track where the users come from and some other things like what did they do on website.
But as I said, I can see these kind of things on regular Analytics scrren. So why I need UTM then?
Thanks.
Google recognizes some sources automatically (direct, organic, referral and to some extent SEM). However it does not automatically recognize campaign traffic.
E.g. if somebody clicks on a newsletter link in a webmailer this would be counted as referral traffic. By adding campaign parameters you could instead track this in a custom newsletter channel with e.g. one campaign name per newsletter.
Links from other websites would show up as referral, if these are your affiliates you track them as such via UTM parameters. SEM traffic is organized into campaigns by UTM parameters (or the gclid parameter from adwords autotagging, which is more common).
So if you want to know which of your marketing measures are successful you'd use utm parameters in destination urls. If you do not do marketing campaigns you do not need them.

Track individual via Google Analytics

I am new to Google Analytics. I have a conversion set up, and I'd like to capture demographics for individuals who convert at e individual level. When a user converts, I'd like to pass the statistics from Google Analytics into my own database, or keep a record of the ID assigned at conversion in Google Analytics and download the data. Is this possible? I want to do analysis on who is likely to convert versus not - age, shopping habits, etc - and link these details back to the type of specific conversion.
Thoughts?
We if want to add add track users at individual level, try creating a Custom diamension and passing the userID everytime you make a GA call.
Next to view the same :- in tables that you view your analytics data, there will be this option called 'Secondary diamention', from the list that appears.. Choose the custom diamension name that you had assigned. Now you will be able to see each row with the userID along slide.
Add user ID to your tracking script
The first step to your question is to add the user ID to your tracking. If you have some way to identify users on your website (ie: through email marketing tool, your CRM, etc), then you should set up user ID tracking. Here is the Google Dev article about that:
https://developers.google.com/analytics/devguides/collection/analyticsjs/cookies-user-id?hl=en
However, basically... you just have to add this to your tracking script (replacing the 'create' line you currently have, replacing "USER_ID" with the user ID your system gives them.
ga('create', 'UA-XXXXX-Y', { 'userId': USER_ID });
In addition, I usually include this UserID as a custom dimension, so that I can view it in Google Analytics and other reports. To do this, first set up a custom dimension for your ID, as a "User-level" dimension. Then just add this after your user ID is available (assuming this is your first custom dimension):
ga('set', 'dimension1', USER_ID);
Connect User ID to Demographics
Unfortunately, the demographics information that Google Analytics provides (under "Audience") is not compatible with custom dimensions (like userID). So, the API only allows you to pull the audience data in aggregate (ie: connected to City, number of users, pageviews of those types of people... etc). If this works for you, check out the GA Query Explorer (below) to try out different combinations of dimensions & metrics to drill down as deep as you can and maximize the information you gain from this demographic info.
Connect Google Analytics Data to Your Database
In order to connect GA data to your database in an automated fashion, you will need to set up some kind of scheduled process that runs a query off of the Google Analytics API. To explore what combinations of metrics and stuff are available, I'd suggest checking out the Google Analytics API Explorer and the Google Analytics API reference material. What I did was set up an SSIS package (using SSIS GoogleAnalyticsSource) as the data source, which made it fairly easy. Then just scheduled that to run daily, populating the data I want into my database.
Alternatively, you could download less complicated reports directly from Google Analytics and import them into your database with something like SQL Server Management Studio.

Combine custom variables and events in Google Analytics to track marketing campaign effectiveness

I'm trying to track the success of marketing campaigns through conversion on a portal. The portal is largely JS based and for right now we can't use URL goal tracking. Instead, I'm planning on using event-based goal conversion that can report all the variables I need. The problem is how do I connect marketing campaigns to the eventual conversion? These campaigns span SEM, email, landing pages, partnerships, etc.
My initial idea was to use a URL param to set a session-level custom variable identifying the marketing campaign that funneled the visitor, and then to compare this to goal conversion. However, I'm not sure custom variables can even be compared to goal conversions in Google Analytics -- and I'm worried that I might be over-thinking this.
I'm worried I'm way over-thinking this. If I create a custom campaign using the URL Builder, will that give me everything I want, allowing me to track campaign conversions?
Yes, I think you are over-thinking things. :-)
As long as you properly tag the campaigns using the utm variables in your destination URLs as they show you how to do in URL builder, they should allow you to see your specific goal conversions by source, medium, campaign, etc. in your GA profile. Using the new Multi-Channel funnels features you'll also be able to see how the sources of previous visits influence future conversion behavior as well.
Generate help with campaign conversion tracking here: http://blog.crazyegg.com/2011/12/02/track-conversions-google-analytics-campaigns/
Info on Multi-Channel funnels here: https://www.google.com/analytics/features/multichannel-funnels.html

Resources