I send newsletters from my Drupal-7 website and I want to track how many unique users opened the newsletter. I added the tracking pixel code which is the following:
<img src="http://www.google-analytics.com/collect?v=1&tid=test;1&cid=123445678&t=event&ec=email&ea=open_test_newsletter&el=recipient_id&cs=newsletter&cm=email&cn=Campaign_Name">
and the I check the events action from my Google Analytics account for the open_test_newsletter attribute. But this code doesn't show uniqueness and I don't get good results for the success of my campaign.
Is there a better way to achieve uniqueness or am I missing something at Google Analytics functions?
Related
I would like to track clicks of a specific button on my website of people who came from the Facebook/Instagram ads I created.
I implemented the Facebook pixel which triggers on pageview.
I also put gtag('send', 'event','apply btn') on the Apply button. This shows me reports on Google Analytics but it doesn't show if those people came from the ads I created.
Is there a view on google analytics where you can see the name of the campaign the user came from, or is there something specific I might be missing in the configuration of the campaign or the gtag?
You have to add parameters to URLs to identify the campaigns that refer traffic.
utm_source: Identify the advertiser, site, publication, etc. that is sending traffic to your property, for example: google, newsletter4, billboard.
utm_medium: The advertising or marketing medium, for example: cpc, banner, email newsletter.
utm_campaign: The individual campaign name, slogan, promo code, etc. for a product.
There are also utm_content and utm_term.
https://support.google.com/analytics/answer/1033863?hl=en
Alright, so I would like to analyze a few things about how my users are using their dashboard. Thing is, I can't just track "http://website.com/dashboard". The software has this sort of account ID on the URL. The current structure goes as this:
https://website.com/admin/account/{account id}/dashboard
Is there a way I can track this URL, by telling Google Analytics that I need the specific URL with these specific things, except between account and dashboard can be anything? Can I add some kind of placeholder or something?
I'm new to google analytics and I'm a little confused on how to get an unpaid campaign up and runnning. I'm making the campaign in order to track links to a page from different sources (website buttons, emails, newsletters, etc.). What I'm trying to do is set something up in GA so that I can track how people are getting to a specified page. I've been reading this as well:
https://support.google.com/analytics/answer/1033863?hl=en&ref_topic=1032998
Do I have to create the campaign in google analytics (and if so where) or do I just apply the appropriate campaign/tracking tags to the links I need tracked and it automatically creates it? Also, how would this work with emails?
Thanks for any help!
Essentially, you will build the campaign tracking URL in URL Builder and put those links in your email, newsletter, etc. Once visitors start to click the links via the email, a campaign will be created under Acquisition > Campaigns.
You do not need create campaigns at Google Analytics: when you tagged campaign manually or at URL builder, your campaign data(source name,campaigh name and others) will be categorized by Google Analytics automatically.
GA parses tags at your links and save data about you campaigns.
I have a URL(https://www.mysite.com/tab/subtab/) that belongs to my website(https://www.mysite.com/). Clearly, to track clicks on this url, all I have to do is append the utm_source, utm_medium and utm_campaign parameters to it. Now, what I want to do is, track a url http://www.notmysite.com/tab/subtab/. This url is neither a part of my site, nor is it mentioned any where in my google analytics account, only the link is available for modification. If I append the utm_* params here, the "clicks" information goes to the http://www.notmysite.com website owner's GAQ account and not mine(obviously!). What parameters should be appended to this foreign url, so that I can track the clicks on it?
If this is not possible with google analytics, are there any other options?
Thanks
You will want to look into event tracking to track clicks on links.
https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide#Anatomy
Taking an example from Google's doc:
Click here
Any clicks on that link will now appear in Analytics under Content -> Events. Notice though how I added target="_blank" which is needed for ensure the accuracy of events for external links due to there not being enough time to send the data to Google. A workaround is to add a delay via javascript which is a better approach if you're tracking more clicks.
I would like to track where users originally came from when they make a purchase on my site so I know which keywords are more profitable and which websites are best for advertising.
an example is a user is on my site with my google analytics tracking code which has details of where they came from, and then decides to upgrade. they leave my domain to go to my biller (2checkout) complete the purchase and return to my thank you page.
I have transaction code and analytics code on my thank you page and the transactions are showing up with the correct product/amounts in GA however there is no other data and in my reports the referring url is always my biller or a credit card companies authorisation page.
i can manually connect which customer is which by saving their referring data when they first come to the site and then matching it up after they make a sale, but I would like it to show up in my google adwords / analytics account where it is easier to manipulate the data and see trends.
if anyone can help me with this annoying issue I would be vbery greatful, but I fear I may end up living off reports I create and then matching them up with adwords manually :/
One thing you can do is have a click event trigger a custom variable. When the user clicks on whatever link that takes them to your biller, have the custom variable trigger with the information you want to carry over (like the current page URL, some campaign name, whatever). Specify the custom variable's scope as Session or Visit so that it get associated with the thank you page.
http://code.google.com/apis/analytics/docs/tracking/gaTrackingCustomVariables.html
An alternative is to do campaign tracking:
http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55540
That is more or less the same principle as the first suggestion, but with using specified URL parameters. Depending on how your pages are actually coded, you may need to push a virtual page view with the campaign code(s):
http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55521