IOS / Android: Can I retrieve clickthrough data from inside an app? - android

I'm trying to find a way to figure out how to retrieve clickthrough information to figure out which ad / link was clicked to direct a person to download it.
Say we have the following situation:
User sees an ad for the app.
They click it
It directs them to the app store, and they download it from there.
They run the app
Is there any way at all to figure out the source of the click in step 2? This is for advertising analytics - we want to know where our clicks are coming from.
I know that the site visited in step 1 can theoretically retrieve device data and link it up to device data retrieved by the app. However, we're looking for a more direct approach.
I've had a great deal of difficulty locating information on this, so any assistance would be appreciated.
We're using the Flurry API on IOS and Android.
Thanks!

May be you can check the touchEvent point location, when the ad bannber frame rect contains the touchpoint , we can treat that as a click ad event.

Related

How to pass data from a web page to an app which is about to be installed on iOS and Android

Is this possible to achieve on iOS and Android with the least manual operation?
The user visit the web page W and W stores data D somewhere (in the device or the server).
The user install app A and A get D (from the device or the server).
I can only think two ways to indirectly achieve the same result:
W asks the user to copy D into the device's clipboard, and then A asks the user to paste D in the app.
W asks the user to write some random string X (and save the mapping from X to D), and then B asks the user to type X (and get D by sending X to backend).
Btw, after googling a while, it looks like current mobile browsers cannot access the clipboard, and W3C is just writing the draft of clipboard API (2014/09/18 http://www.w3.org/TR/clipboard-apis/ ), so using clipboard as a "hack" to pass data automatically is not possible currently.
We also struggled with this when we built our last mobile app, Kindred Photobooks. We actually created a native library for iOS and Android to do just this - give you the ability to pass data past install. The best way we found is to basically bundle that information in the link and use fingerprinting to make that data available after install, which is working really well.
You can try to build fingerprinting in in house as well - basically create an outstanding device fingerprint once someone clicks on the link and match it to the fingerprint that you create once a user
We automated everything and made sure all the edge cases work on both Android and iOS. Check us out at branch.io and if you are curious on how our links work, you can read more here.
I don't exactly what you want to do, but, you can for example, on the web page, ask the user to enter some info, and then you send to his email a code, then he can share that code with other people, and inside the application, you create a section, so user can enter a code. Using that code, the app makes an HTTP call to the server, and the response can be the info entered by the first user. Of course you are going to need a database.

Unable to +1 using google Plus or google auth api

I am unable to +1 using google Plus or google auth api. This function works fine on every other device except my galaxy 10.1 note. Even when going through Google Plus i get the error message "Can't +1 the post".
Any ideas how to fix this error?
I once had this issue and after trying for quite a long time, I found out that you cannot do it through the API directly. Here is a short description of what I did to work around it:
This only works for a Google Plus Page - get the snippet that you would normally see on a webpage. That includes some html+javascript+ajax and save it as a string variable in your android code.
Then secondly, load it in a webview - that will load the Plus 1 Button for a user to click (that means they follow or recommend it depending on which button you have).
Once they have clicked it, you can make another API call to verify that they actually clicked it - you see, there is no easy way to know this because you have no control over the html button.
I figured that when they authorize the app, request permission to read their circle count and then if they actually clicked the plus one button, compare the final count with the original count to make sure they did indeed follow/+1 your page.
If you don't use this approach, please let me know how you pull it off.
Check out this answer on how to load the button in a web view:
Load Plus One Button In WebView
Good luck.

Which way is better efficient to log user's activites(history) in android?

I develop the app which is provide some information to general user. it is not only showing info but also curating and recommending further detail info depending on users history;what the users clicked, searched and acted on the app. (like a google targeting AD).
For this, I have to accumulate user's activites on apps. (which button was clicked, when did they turn on the app and so on...)
For this, I have two ideas.
1. let the app to leave their log text file in local device then append lines in it whenever user act, and upload it when they turn off the app on server DB.[like a batch]
-OR-
2. let the app, update db everytime when user acts something on app by http-post.[like a realtime]
Which way is common tactics(or popular ways) on real field? or can you suggest another way?
thanks for reading.

How to fetch city events?

I wanted to venture into making apps. I wanted to make an app that gathers the events around the user location wise. I want the app to show the events close to user using the GPS of the phone. There is a city page where all the events are listed but I don't have any ideas how I will be able to fetch the data. What are the other ways I can go forward with this? It would be encouraging so that I can research further.
try this
http://www.last.fm/api/show/geo.getEvents
login this and get the api calls and use it in your code
i think you can use a combination of api's to give you the data you are looking for, one such provider i found was http://api.eventful.com/, you can probably even try including foursqaure and meetup's api and even facebook opengraph event api can also provide some handy data.

android app automatically link and update results

I would like to make a lottery app, in which everytime when there are new numbers (shown in the lottery official website), could the app, when the user clicks the button, be able to update the lottery results by fetching the result from that official website? The app would then refresh showing the most updated results / database automatically (so called synchronization?).
How could this be made? COuld someone give me some direction and some sample / tutorials for this function? and do I need to have a website / host for such data?
Many thanks!!
Is that what you are looking for?
http://www.recursiveawesome.com/blog/2011/04/29/implementing-pull-to-refresh-in-your-android-app/

Categories

Resources