Subversion Repositories eFlore/Applications.coel

Rev

Rev 1817 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

package org.tela_botanica.client.util;

public class Analytics {

        /**
         * Envoie une notification à Google Analytics, comme quoi la page "url" a été visitée
         * @param url
         */
        public static native void pageVisitee(String url) /*-{
                if (url == "") {
                        url = $wnd.location.href;
                }
                $wnd.ga('send', 'pageview', url);
        }-*/;
}