Google Analytics UTM URLs in code - url

I would like to create a campaign to track an advert sent by email. I have read about using Google Analytics and UTM URLs however I am slightly confused on how to use them. Must I generate a tagged link and use it in my email campaign in order for the campaign to work?
Also, if I want to track a banner on my website must I change the URLs in the code of the website itself?
Thanks

Setting the utm information in the ads urls will cause that information to become associated with session data automatically.
For example:
http://www.example.com/?utm_source=promo_email&utm_medium=email&utm_campaign=january_promo
will automatically have the ga:source set to "promo_email" ga::medium set to "email" and ga:campaign set to "january_promo".
Alternatively you can simplify your strategy but only tagging a utm_id
http://www.example.com/?utm_id=1234
and then use the Data import feature to upload custom campaign dimensions associated with that utm_id, or ga:campaignCode.

Related

How to share URL with UTM parameters on WhatsApp

I have given an option to my users to share my website on whatsapp. And I want to know how many users land back on the website using the shared link. Hence, the shared button opens this link:
https://wa.me/919876543210?text=https://www.mywebsite.com?utm_source=whatsapp&utm_medium=share
But this URL considers the end &utm_medium=share as a part of the wa.me URL, and shares only https://www.mywebsite.com?utm_source=whatsapp on WhatsApp. So instead I did this:
https://wa.me/919876543210?text=https://www.mywebsite.com?utm_source=whatsapp%26utm_medium=share
which shares the correct URL on whatsapp: https://www.mywebsite.com?utm_source=whatsapp%26utm_medium=share, but when I open it, the UTM params are not captured by GA.
What is the way out of this loop?
There's a more elegant way of doing it than utm params. Have something like: https://wa.me/919876543210?text=https://www.mywebsite.com?t=wa
See how now it's shorter and more elegant to a user? Now you have two good options.
Make a conditional redirect on your site from any url that has a t=we query param to whatever utm param you want with no restriction.
And even more elegantly: use GTM to parse pageviews where there's a t query parameter set, then make a neat lookup table where the input would be the value of t and the output - whatever you want to name it. Then use that lookup table's value to set your session-level custom dimension in pageviews.
Why a custom dimension and not UTM? Because when using UTMs, you're affecting your attribution. And sessions. You can easily override organic or paid attribution with some meaningless whatsapp attribution. Well, yes, if you don't use attribution at all and you don't care about GA session breakpoints, then sure, UTMs are just easier.
Also, try escaping the &, but not much hope there.

Adobe Analytics - Custom product level dimensions

I have a question about Adobe Analytics.
I mainly work with Google Analytics and I wonder is there an equivalent to product level custom dimensions in Adobe?
For example, I want to capture extra information about the product such as supplier ID or color, how will I be able to do so in Adobe Analytics?
The only thing I found is merchandising evars, but from the documentation I am not sure if it will work as it is information specific to each product.
I can simply use a evar for this when the purchase is only 1 product, but when the purchase has multiple products, how can I capture extra product information?
Yes, you can use merchandising eVar for this. Make sure when you configure the eVar within the Adobe Analytics interface, to enable it as a merchandising eVar, and set it as Product Syntax. Then in your code, populate it within the s.products string on a product level.
Example:
s.products=";prodsku1;;;;evar1=red,;prodsku2;;;;evar1=blue";
An alternative common practice is to create SAINT classifications for the product id/sku (e.g. prodsku1, above), and upload the meta data to Adobe Analytics via FTP or API endpoint with a separate server-side process.

Custom user tracking or 3rd party service for page referral analytics

The question I'm trying to answer for a set of users is how other users end up on their page. There are about 5 different ways a user can end up on your page. For example, they could have searched your name, clicked a link from a newsfeed or received an e-mail with a link to your page.
What is the best way to accomplish tracking these events? I'm initially inclined to create a table to track this. Each link would send an async event to the server to be added to the table. However, I'm also aware that there are many tracking services out there such as Google Analytics and Mixpanel. I've looked at their docs briefly and they don't seem to fit my need.
Am I missing something? Is it worth it to create a "custom" even tracking system to accomplish this?
It is not worth creating your own service. Plus you cannot add async link to search engine result pages or emails (that would require tracking code that you cannot implement in search engines or that would not be executed in mail clients).
Web analytics software tracks traffic sources by analyzing the incoming traffic via its http headers. If there is a referrer set the traffic will be attributed to, well, the referring site, unless the traffic is included in a list of known search engines in which case it will be attributed to organic search traffic etc.
In most systems you can customize source attribution by adding query parameters in the url (obviously this will not work with search engines and the like, since you cannot add parameters to organic search results). For example with Google Analytics you can add custom campaign parameters in email links or advertising campaigns. If people click on those links the parameter value will be send to GA and the source/medium/campaign information will be set accordingly (e.g. traffic from web mail clients would usually be attributed as a referrer, but campaign parameters allow to attribute the link to your mail campaigns).
There might be reasons to create your own system, but channel attribution is not one of them; GA and every other system I know of has this thoroughly covered.

Check if Campaign Has Changes

I'm currently working with Adwords API and I like to ask if there is a way on how can check if a campaign has changed? (Campaigns's name, keywords, etc etc...) As far as I researched the only way to check is by using the customer sync services, but it only checks for the campaign's common settings. Keywords and Text Ads are not included. I'm using Java by the way.

Google Analytics Custom URL Reorting

I have used custom url builder to build custom url and submitted to different directories.
URL is
?utm_source=directory&utm_medium=referral&utm_campaign=DirectoryReferrals
Now i am stuck with reporting coz it shows source as "directory" thats what i need it to show but full referral part is showing as not set.
How can i get full url of the referral source? Need help as soon as possible.
Is there any way to get the url of the referral?
I think you may be misunderstanding the usage of the utm_source parameter in the context of custom campaigns. It wouldn't be used to get the source URL that you used when tagging your campaign, but rather it should show the source where the campaign is originating from, for example advertiser, site (eg. "google"), publication (eg. "newsletter", "billboard"). More information on campaigns can be found here: https://support.google.com/analytics/answer/1033863. Also some good info on why you are getting "not set": https://support.google.com/analytics/answer/2820717?hl=en.
If you are trying to see where traffic is coming from, eg. www.google.com, www.facebook.com, then you wouldn't use custom campaigns for that.
Hope this helps.
I agree with Nyuen, you might have misunderstood the concept of UTM tracking code.
I would suggest that if you want to know that from which referral source you got the traffic then you can write it under UTM_SOURCE.
Suppose if you have promoted your post in the Facebook and Google, then in the UTM_SOURCE you can write Facebook there.
Example:
http://www.grazitti.com/resources/webinars/5-must-have-features-for-your-service-cloud-implementation.html?utm_source=Twitter&utm_medium=Webinar_Tweet&utm_term=Service_Cloud&utm_campaign=Social
Hope this Works :)
You always able to find your refferal traffic under > Acquisition > referral even you tagged link with utm.
If it's not help, please upload some screenshot.

Resources