Making campaigns tracking in Piwik - analytics

I'm newbie in Piwik.
I read this but didn't understand how to use campaigns in Piwik.
Can anyone describe me or give me an example how to use campaigns tracking in Piwik?

You can't track campaigns with piwik if no campaign is running for your website. Campaigns refer to payed adverts that are leading to your site. If you have such campaigns running you have to use the UTM parameters send by google, bing or which ever ad provider you use.
If you want to track specific events on your website like click on an ad or call of a specific tool I recommend the use of piwik goal tracking.

Related

How to track ananomus user activity in my website using salesforce?

I need to track the activities of anyone visited my website in salesforce.
I could not find any of these in documentations or even does provide?

Why is Google Analytics providing data when the tracking code is not yet even in place?

I think some other website is using the Google Analytics ID of one of our websites. I recently set up a new Analytics property for a new site but have not yet put the tracking codes in place. Then when I checked our Analytics earlier today, the new property is already reporting visits. How come?
Probably someone hacked our Google Analytics ID. But then we haven't even placed the codes on site so I'm not sure if this is the case. Am I missing something (probably due to a filter set up)?
And if some other website is indeed using our Google Analytics ID, is there a way for me to trace these sites?
I just configured our Analytics to monitor visits that only involve our hostname so hopefully this will solve the issue onwards. But still, are there other possible reasons?

Showing Google Analytics Data in real time

I would like to show number of visitors on a site since beginning of the month, number of users on the current day and currently on site.
I have Google Analytics installed, I tried to solve this issue with Embed API by enabling Google Analytics API from developer console - but I requires user authorization, etc.
What would be the easiest way to show analytics on-site without user authentication and accepting access by Embeded API, etc. Application is written in Angular, so Javascript API is the one I look for.
Thank you for any suggestion.
Authorization has to happen in order to get the data you want. Either you can let visitors to your site authorize themselves, or you'll have to authorize server-side on their behalf.
Once authorized, you can do something similar to what the Third Party Visualization Embed API demo shows. It uses a custom ActiveUsers Embed API component and includes the source code to show how it works.
Whether you use the ActiveUsers component or not, the basic gist is that once the users is authenticated via the Embed API, you have access to the method gapi.client.analytics.data.realtime.get, which you can use to query this data.
Here's where that happens in the source code for the ActiveUsers component:
https://github.com/googleanalytics/ga-dev-tools/blob/master/src/javascript/embed-api/components/active-users.js#L69-L87
Authentication with the Analytics service is mandatory. But the OAuth 2.0 Service Accounts (for Server to Server Applications) can be used to automate it in many cases.
It's unclear to me (from a quick scan) if the Auth options of the Embeed API would work with the automated authentication scheme, you may want to go through the details.
You should be able to use the Analytics Core Reporting API and maybe the Analytics Real Time Reporting API (beta) which work with the automated authentication according to their guides (look for the Authorisation sections on the left frames of the respective guides).
Donno if this qualifies as easy, tho, YMMV :)

Google Checkout Order Report API -> Google Wallet analog?

I used Google Checkout API for getting subscriptions reports every half an hour.
https://checkout.google.com/api/checkout/v2/reports/Merchant/
(https://developers.google.com/checkout/developer/Google_Checkout_XML_API_Order_Report_API)
Our company have ours support team which provides help for users of application. My script downloaded last purchases every half an hour and stored in DB (time,serialnumber,email). After that support was getting access to this information through our web-interface (thus, we did not give an access (login,pass) for a main Checkout account).
Now Google Checkout was shut down and I don't understand how to do it at Google Wallet. Does anyone now can it provide this functionality or not?
AFAIK there currently is no similar "infrastructure" (reporting, querying, etc, via API like in Google Checkout) for Google Wallet for Digital Goods which, based on your comments, sounds like the product you are looking for (to replace your current Google Checkout implementation) - it's specifically for digital goods and does support subscriptions.
You'd manage orders via Merchant Center.
You will get order data via postbacks so as for ideas - you would need to store order data on your end when you handle the postback/s from Google - for both "placed" and "cancelled".
This would replace how you currently do it via Order Report API in Google Checkout...
Hth...

Google Analytics is not showing all tracking of order

I am running a website and registered for Google Analytics. Got code embedded into my site.
My site in On Drupal and using Ubercart for Online shopping. There is only one payment mode BY CREDIT/DEBIT CARD.
The issue is that Analytics in not tracking my all orders that have been made, some of them is missing.
I have checked that the code has no issues in it, not problem of Sync as well because i have waited a long and orders that are missing are of the date say for example 5-9-2013 and i do have orders tracked of date 6-9-2013.
Anyone have any idea how to resolve it?
User can opt out of the Google Analytics Tracking, they may have not javascript, they may cancel page load before the tag has fired, they may sit an office where the company firewall filters out calls to the google server etc. Javascript-based tracking is never especially accurate (Google themselves warns that Analytics show Trends, not exact numbers).
So I don't think there's a way to resolve differences between GA and backend systems.

Resources