I have setup my application in google analytics.
App information :
Angular 1.4.10,
Google analytics setup.
Question :
When I was tracking the page views I see even URL related to the api calls are recorded.
Anyone know why is it recording API/Calls and due to which all the API calls are making to the top visited . We are not able to track proper page visits.
Example:
website is ww.abcd.com
api call are /api/getsearch
redirect page : www.abcd.com/search?keyword=something
real time page views are recorded as both:
/api/getsearch
/search?keyword=something
Do any one know why these calls are recorded and why are these recorded in the page views and how to not record them.
Related
I have a React website, I want to build a system that first a code is created for example its "my-special-code-100". I want to track website visitors who entered the website from a url like https://mywebsite.com/../?code=my-special-code-100 and need to track if or if not X 'not signed in' visitor do a successful payment - a button click on specific page - also need to store an account id of the wallet, payment that happened, and need to see trackings of how many visitors of website came with "my-special-code-100"(and other codes) and how many of them made a payment and stored wallet id should be visible for that visited user.
I couldn't be sure how to and is Google Analytics correct tool for this and could you give example what can I use to achieve something like this ? Thanks
I'm building a SPA site in React (using redux).
To my site, any user can connect through Google or Facebook.
Each user who logs in to the site receives a personal user_id.
For each user, the system needs to keep a history of documents created by this same user (like the recent docs in Word).
I need to create functionality that whenever the user is logged in he will be able to see a history of the five documents he has created/updated.
In addition, the latest documents will load even after disconnecting and reconnecting to the system.
To load the history into the system I am thinking of using a dedicated index in ElasticSearch.
My question is which way would be suitable the most to use when the user is already logged in and creates several documents one after the other -
Should I need to save everything within the index in ES or is there a smart way to save and update the information locally without producing a lot of calls to DB?
I want that in the end there will be only 2 DB calls that are made in total - one call to load the information on login and one call to update the information when the user logs out. Any other create and update docs will save locally on the client side until leaving the site.
I have a UI that needs to either show icons on a timeline view or not based on user profile. How can I show for some users and not for others? For example : the Sports Admin team needs to see the scores of all teams over time in the view (showing all years visually) but the players (when they login to the same web app) only see the timeline view with their team's performance over the years (not other details for a particular year). How can I achieve this? I am using Angular JS and javascript
I have looked into role based SSO login and show selectively and also cookies. My goal is faster performance - meaning the page needs to load fast.
I was able to find a solution for the problem above that we have been facing. After many design sessions, the best approach was to have a "User Settings" link that would save the preferences at a backend database per user id that's already captured via SSO login. The backend returns data based on the user settings as the queries to get data from backend are now made dynamic to take the selections from User Settings into account while querying the backend. As a result the front end shows data specific to user.
Tested this and seems to work perfectly without any affecting any page load performance whatsoever.
Why are the counts I see in my database different than what I see in Google Analytics? The goal conversion number showing in Google Analytics is much lower than what I see in the database. This is the case for several months.
Few reasons here
Sampled data vs. unsampled data: You can read about here: https://support.google.com/analytics/answer/1042498?hl=en - For API work i normally use a web query explorer to verify that my API call's are being sent and responses match to verify the data: https://ga-dev-tools.appspot.com/explorer/
Adblockers: You might get hits/submissions from people where they are using an ad blocker, hence more entries in Database or Google Analytics.
Users vs. Sessions vs. Hits: You are looking at Unique Visitors/Sessions in Google Analytics instead of the total number of "Events", Not sure how your Goal is setup but best to use events and look at "Total Events" and "Unique Events" to get a sense.
Implementation: You may be firing JavaScript after the person has hit the button without waiting for the page change, can happen on some sites where you take them to a thank-you page or something. Best to check how this is setup and the order in which tag fires and page works.
I am using Yandex Metrika API to display analytics data in my webpage instead of Yandex Metrika page.
I have created all necesary data visualizations, but I can't figure out how to display currently on page. Like, page visits or users. In Yandex Reporting Api I couldn't find any information about realtime data.
So far I used bytime? GET request and grouped them by minute and then retrieved page views as close as possible to current time:
GET request:
https://api-metrika.yandex.ru/stat/v1/data/bytime?&ids=xxxxxxx&metrics=ym:s:pageviews&group=minutes&date1=#{today}&date2=#{today}&oauth_token=#{access_token}
All page views displays with 3-5 minute delay, so it isn't anything near realtime..
Questions:
1) Is it possible to get near realtime data (20s - 1 min) from Yandex Metrika API ? In Google Analytics there is very good Realtime Api that works very good.
2) If it is possible to get near realtime data then how it is done ? I have searched for couple days, but didn't find any usefull information.
Thanks in advance.
There is no such feature in Yandex Metrika right now, therefore it is not possible.