Find URL for google play app before releasing it - google-play

I want to have a rate button for my app that will open up the google play store page of my app when clicked. The problem is I do not know the URL of my app on the Google Play Store since I have not released it yet. How can I find the URL?

I know this answer is bit late but your url would be:
https://play.google.com/store/apps/details?id=YOUR_PACKAGE_NAME
You can find the package name in AndroidMainfest.xml of your project.

Related

How to integrate Google tag manager with Xamarin Android?

I want to integrate Google tag manager in Xamarin.
For iOS, there is a documentation on how to do so when consuming Google analytics SDK.
However, there is no documentation at all for Android integration.
Any suggestions?
I don't think you need any Xamarin documentation for using Tag Manager with Xamarin.
Tag manager comes with Google Play Services, so you just need the Xamarin component for Google Play Services:
https://components.xamarin.com/view/googleplayservices
The documentation for Tag manager is here:
https://developers.google.com/tag-manager/android/v4/
As #Andrei suggested, I used in Google play services, although the configuration was not so trivial..
I have created a sample project you can find here to demonstrate how to use Google tag manager in Android.
In short, after you install the SDK, you should call these lines in the your mainActivity class:
var tagmanager = TagManagerClass.GetInstance(this);
var pendingResult = _tagmanager.LoadContainerPreferNonDefault("GTM-XXXXXX",
Resource.Raw.gtm_analytics);
pendingResult.SetResultCallback(new TagMnagerResultCallback(), 2, TimeUnit.Seconds);
And after the callback has been called, you can fire your events like this:
_tagmanager.DataLayer.PushEvent("openScreen", DataLayer.MapOf("screenName", "testScreen"));
You might want to check my post. I explained how to do enhanced ecommerce and if you think could be valuable.
Summary is:
Add Google tag Manager component
Go to Google tag manager web admin, pick android code and go to latest version published. There you should see an option to download a binary file
Name binary as you want and place it inside Raw folder
In Setup or main android class, implement the basic wire up pointing to downloaded Binary in Raw file (This is key)
Create app view event as documentation display, in Tag Manager portal
add basic open screen tracking and watch real time in Google analytics. It takes few minutes to see the data, first time could take up to 24 hours depending on your account
Check my blog post for further details and let me know if still have questions and I will put together the full implementation.
Cheers

Is it possible to redirect a mobile device user to m.example on Heroku?

I would like to have an app on Heroku, but if an user access www.example using a mobile device he would be redirected to m.example.
In this m.example I would have a website which is designed for mobile devices with a button "view the original website". Clicking there, we would see the www.example website.
Is there any way to do that on Heroku?
Thanks!
Edit: #RunscopeAPITools said Heroku itself is irrelevant to the problem and the important thing is the framework. I am developing with .NET and using MONO on Heroku, as described here .
According to the documentation: "It uses nginx as the web server and runs on Mono 3.2."
Edit2: After RunscopeAPITools, I started to get more infos about how to do that using nginx, I will test this link and post the results as soon as I can
Edit3: tried this approach by uploading a nginx.conf to Heroku. Nothing happened. Looking in Google I read that is it NOT possible to do that with a config file, only directly on my app. Now I am confused. Can I do that or can't I?

WP7: Is it possible to get a referrer from the installation page/link?

This question involves both programming and architectural subjects.
Firstly, sorry if it was asked previously, with other words or in another way. I just haven't found anything that matches with my issue.
Here we go. Supose that you have developed a WP app and uploaded it to Windows Store. Now supose you have a webpage named "any_dynamic_name_that_can_change.php" with a button that redirects you to your Windows Store app's page. And now, FROM THE APP (after you install it on your device), you want to know the page's name from where the Windows Store was accessed.
I've checked WP docummentations and I'm fully aware that WP SDK don't have any features that allow us to implement this behavior. In android SDK, one can make use of Referrer/BroadcastReceiver features to pass arguments through your page and Google Play. I've sussccesfuly made it in my Android's app version.
My question is: is there a solution to implement this "know-from" behavior? I don't care if it involves using third systems or saving arguments somewhere, or even if the solution is a "hard-to-do" task. I'm just looking for it, if it exists...
Any hints, comments and answers will be very welcome!
And sorry if my question wasn't well explained, or if it is too broad!
Unfortunately the Windows Phone Store does not provide this and has no way of providing the information that would be needed to implement this either.
The nearest thing you could do would be to look at the IP address of requests to the pages with the links and the first request from the app. Obviously there are lots of reasons why this wouldn't be a perfect solution but it may be better than nothing.
The only other solution would involve the person viewing the page(s) and the app to provide a unique identifier such as their credentials.
An alternative approach would be to track clicks on the individual pages. It wouldn't be able to tell you conversions once the person gets to the store but it could tell you which pages were the greatest drivers of people to your apps in the store.
There is a not so complex way to do that.
Requirements:
Register protocol handler into your app like myappname:// or similar.
The big flow for tracking installation referrer is:
1 - Redirect the user to your site into device system browser http://mysite.com/start_tracking
2 - in that page add cookie to keep track of source page
3 - then Redirect user to the windows phone market installation page
4 - ** INSTALLATION PROCESS ** (this register the protocol handler myappname://)
5 - On the first launch of your native app you need to open the system browser with http://mysite.com/referrer_2_app location, then sys browser send to your web server cookie information stored in step 2.
6 - Then your /referrer_2_app redirect the browser to myappname://cookievalue
7 - This automatically re-open your native app and .....
8 - You are able to read /cookivalue and close your tracking
Hope that this big picture is enough.
If someone need more details let me know.
Tobia

External hosts wildcard phonegap IOS

Hi all i'm almost ready to send my app to app store and a question came up!
In few words i call a remote php file via ajax and retrive infos from a database, in which i'll have some external link i would like to show in my app (like productors web sites).
The problem is: to let the user open the external links i have to put a * in my phonegap.plist externalhosts field. i would like to know if this will cause a reject from app store for my app
no you're fine, thats the way it has to be done for native apps as well. I have had apps get accepted that use the same thing. :)

Google in-page analytics doesn't work in my ASP.NET MVC 3 Razor website

We've recently launched a new website http://atlascode.com and since the launch I've been unable to get in-page analytics working on the website. Google also claims that my tracking code is not working but I think this is a misnomer.
Whenever I attempt to load in-page analytics I receive the error:
We've identified problems in your setup. These may cause problems loading In-Page Analytics.
Your site doesn't load ga.js from Google.
If you host the Google tracking code on your own servers, it isn't updated automatically and can miss important changes.
We didn't find a tracking snippet on your site. In-Page Analytics cannot load. Please make sure you have tracking installed correctly. If your snippet is included in a separate JavaScript file, you'll have to manually check it is being loaded correctly.
-ENDS-
I've simply copy and pasted the tracking code on to the website and haven't done anything out of the ordinary. I've also checked to make sure that under Web Property Settings my Web property name and default URL is atlascode.com.
Any ideas you guys have really would be welcomed.
EDIT: Added screenshot of Google Analytics error http://min.us/mdqlrhj
Thanks in advance
Simon
Well there's whole buncha people in the web complaining about the same issue.
I've noticed something funny.
Most of developers love to exclude Analytics tracking code for logged in administrators and trying to check out In-Page Analytics while they're logged in. So there's really no any ga.js.
In my experience, this occurred when I hadn't set my default URL to exactly match the URL set in the profile.
Matt
P.S. Someone beat me to your source!
Got the same problem on Magento Enterprise, but solution was pretty simple: GA code just need to be placed before <head> tags. After this simple fix In-Page tracking works perfectly.
Update
Also, be sure you have no framekiller installed in your site.

Resources