date




write your special wishes
we love to hear from all of you


// Define a function to get the client ID after Google Analytics has loaded function getClientIdFromAnalytics() { if (typeof ga === 'function') { ga(function(tracker) { // Get the client ID from the tracker object var clientId = tracker.get('clientId'); console.log(clientId); }); } } // Check if Google Analytics is already loaded if (typeof ga === 'function') { getClientIdFromAnalytics(); } else { // Set a callback function to run after Google Analytics has loaded window.gaReady = function() { getClientIdFromAnalytics(); }; } // Load the Google Analytics tracking code (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); // Call the callback function when Google Analytics has loaded ga('create', 'GA_TRACKING_ID', 'auto'); ga(function() { if (typeof window.gaReady === 'function') { window.gaReady(); } });