Time discrepancy between debug view and website event - debugging

As I activate preview mode in GTM and check the events of my website in debug view of Google analytics, the debug view does not show the events happening on the website in its timeline; and I need to scroll down its vertical timeline to see the events with the timestamp of 19 minutes earlier of their real trigger time.
Any help and guidance is much appreciated.

Related

Windows : What happens to the UI when the app is minimized?

I was wondering what will happen to the UI when the app is minimized. Will it refresh the UI [With respect to its content] even when the app is minimized?
In the thumbnail[ When we hover on the app icon in taskbar ] we cant see apps UI being refreshed when app is minimized, but we can see the UI being refreshed in thumbnail when app goes to background and new app comes on the foreground.
What I think is, when the app is minimized, the UI thread/Main thread will keep updating the apps UI [depending on the content], but the changes will not be rendered on the screen. the changes will be stacked on a buffer and when the app is brought up, top of the buffer is rendered. Is this right?
It would be of great help if you can help me get a detailed understanding in it.
Thank you

Update MasterPage UI of Master-Details page in background tasks using Xamarin Forms

I have Master Page bound with viewmodel and i want to update menu in background task when location services are on. I am able change viewmodel and see updates on UI in simulator but cannot see UI updates on real device. Viewmodel changes programmatically i can see in debug but real device not updating UI like simulator.
Please suggest me best practices if any.

App Inventor 2 - WebViewer detecting changes

I am trying to integrate MobPartner ads in my app, the ads from MobPartner can be displayed from "Pools" which contain several ads which automaticly scroll sideways and are set which an individual click link. The page with the ads looks like this, when I set the URL of the WebViewer in AI2, the ads display and scroll as they should.
The problem I have is detecting a click on one of the ads, this is the best I got to:
If a user would click on one of the ads via the WebViewer it will redirect them to the automatic URL set by the advertiser. I will then use the link and set ActivityStarter to WebViewer1.CurrentUrl and start the website full screen instead of the ad resolution (320x48).
I would like to know if there is a way to detect any clicks within WebViewer so that I can start ActivityStarter faster with the link. If not, is there a way to check the URL of the link clicked in WebViewer before the target website loads. In my opinion the timer (set to 1000 interval) is an inefficient way of checking if an ad is clicked. Anyone able to answer my questions above or provide a way of improving this code? Much appreciated.
PS: The HomeUrl for WebViewer has been pre-defined in the designer as well as the ActivityStarter "Action".
Thank you!
There is no possibility to detect any clicks within the Webviewer. The only thing you can detect is an URL change with the Clock component, and this is what you are already doing.
What you could do is to reduce the timer interval or instead of opening the webpage with the Activity Starter, just stay in the Webviewer and set its height and width to fill parent, which is -2 in the Blocks Editor, and hide all the other components on the screen to be able to view only that webpage in full screen.

Chrome Timeline View Modes

I'm trying to do this tutorial on using the timeline: https://developer.chrome.com/devtools/docs/demos/too-much-layout
Unfortunately when I go to the timeline in Chrome I am not seeing the view mode options "Events", "Frames" and "Memory". I've read other tutorials and they all seem to show these view modes but for the life of me I cannot figure out how to see them. This is what I see: http://imgur.com/33XEfJ5
Please note that this is not an issue with my version of Chrome. I actually was able to see the view modes when I hooked up my phone and ran the inspector through chrome://inspect. But I need to be able to see them when on my laptop as well.
In the new version the UI was slightly changed.
You can flip overview to frame mode by clicking a small button with vertical bars at the top.
Also memory mode might be enabled by checking Memory checkbox.

WP7 - why does click adcontrol then back button cause page backkeypress event fired on form re-entry?

I have a number of Windows Phone 7 apps, which have a main page with a custom BackKeyPress event that on the main form throws a custom exception, in order to pass testing and get to the marketplace.
These forms have an AdControl on them. For some reason, when you click on an Ad, either in testing or production, then hit the back button, the BackKeyPress event is fired on the main form.
I have code in place to handle the issue, but does anyone know why it is giving this behavior? I can understand the event firing when the back button is pressed while on the form, but why is it fired to re-enter the form?
Is this a known bug?
I have implemented code to solve this issue, but if a bug, will my workaround code for an apparent Microsoft issue either be moot or potentially harmful in the future if the bug is fixed?
Has anyone else experienced this issue?
First thing that comes to my mind here is that the main page is not releasing properly when navigating away from it.
I haven't used the MS AdControl in a few months because it is not useful for non-US developers but when I was trying it out I remember that it would hold pages in memory if you did not unregister all the event bindings
So look at shutting it down in OnNavigatingFrom and see if that helps.
I've also encountered this problem. When debugging, it looks like the OnNavigatedFrom event is never fired, so there's no tombstoning that's happening and I don't see any place in code where I can unwire that event.
I figured it out.
You have to wire up events in the Adcontrol.AdEngaged to remove the back or AdDisengaged events to readd the back event handler.

Resources