var monsterinsights_frontend = {"js_events_tracking":"true","download_extensions":"doc,pdf,ppt,zip,xls,docx,pptx,xlsx","inbound_paths":"[{\"path\":\"\\\/go\\\/\",\"label\":\"affiliate\"},{\"path\":\"\\\/recommend\\\/\",\"label\":\"affiliate\"}]","home_url":"https:\/\/accent-systems.com","hash_tracking":"false","v4_id":"G-069LN2YPE1"};
Before you start setting your beacons and devices in order to use Physical Web or Nearby Notifications, check the main differences between them by clicking this link.
IMPORTANT
The URL used, regardless if it’s for Physical Web or Nearby Notifications, MUST be HTTPS. Use this validator to check if the URL will be solved.
Physical Web Setup
Follow the next steps to set up Physical Web:
Enable Eddystone URL on your iBKS beacon
Connect to the beacon using iBKS Config Tool (remember that the beacon must be in connectable mode).
Being connected, click on Eddystone Service to expand.
Select a free slot to configure it as URL.
Fill all the required fields (remember that the URL must be HTTPS).
Click back button to disconnect and Save Changes.
Need help using iBKS Config Tool? Check the User Manual for Android or iOS.
Enable Physical Web on your Android or iOS device
Check if Google Chrome is installed on your device. Otherwise, install it.
Turn on Physical Web on Chrome. How to do it? Check this link.
Remember that bluetooth, location and internet must be enabled!
That’s All! You should start now receiving physical web notifications broadcasted around you.
Nearby Notifications Setup
Nearby Notification requires a static ID (iBeacon, Eddystone UID or Eddystone EID) registered on the Google Platform. Therefore, a google account is required.
Follow the next steps to set up Nearby Notifications:
Create a project in Google Developers Console. How to do it? Check this link.
Enable an iBeacon, Eddystone UID or Eddystone EID on your iBKS beacon.
For this example, iBeacon slot is used. The same steps apply to Eddystone UID & EID.
Using iBKS Config Tool, select the project created in the step 1 (Settings > Switch Project).
Connect to the beacon (remember that the beacon must be in connectable mode).
Being connected, click on iBeacon Service to expand (for Eddystone UID or EID, you should click on Eddystone service).
Select a free iBeacon slot to configure it.
Fill all the required fields.
Enable the “Register iBeacon” option. If the message “ALREADY_EXISTS” appears, it means that this UUID/Major/Minor is already registered in other account and, therefore, you must use another one.
Click back button to disconnect and Save Changes.
Need help using iBKS Config Tool? Check the User Manual for Android or iOS.
Configure Google Beacon Dashboard to associate a Nearby Notification to the registered static ID
Choose the project created in the step 1 where the static ID has been registered in the step 2 and click on “SHOW ALL BEACONS”.
A list of all beacons registered in the project appears. Search the registered static ID that you would like to associate a Nearby Notification (description field). Once you find it, click on it to set the configuration.
Click on “View Details” and then, on “Nearby Notifications”.
Choose “Web URL” and set the required fields:
Title: it will appear in the device notification.
Language: target audience. For example, if “en” (English) is set, an user with its device set to Spanish language won’t be notified. In case your target audience is for more than one language, duplicate the nearby notification as many languages as you need to set.
URL: URL to be notified (remember that it must be HTTPS).
Click on “CREATE”.
Enable Nearby Notifications on your Android device
Nearby Notifications are only available for devices running Android 4.4 or above. For iOS, it is not available yet.
Go to Android Settings > Google > Nearby to turn on Nearby Notifications.
Remember that bluetooth, location and internet must be enabled!
That’s All! You should start now receiving nearby notifications broadcasting around you.
Swipe down on the notification shade when you first encounter a beacon. You will receive a notification alerting you about nearby web page.
Tap on the notification to get the list of nearby URLs and click on them if you are interested on visiting the websites pointed.
Please check again the steps described in this document and be aware that Physical Web and Nearby Notifications are Google services and these services can be temporally off due to Google maintenance or whatever out of Accent Systems control and responsibility.
(function() {
var data = {"agents":[{"name":"Eli","phone":"+34653105809","time_start":"08:00","time_end":"17:00","days":[1,2,3,4,5]},{"name":"Albert","phone":"+34662925746","time_start":"08:00","time_end":"17:00","days":[1,2,3,4,5]}],"distribution":"random","message":"Hello! I would like to ask for more info."};
var button = document.getElementById('accent-whatsapp-button');
var agentsPanel = document.getElementById('accent-whatsapp-agents');
if (!button) return;
button.addEventListener('click', function(e) {
e.preventDefault();
if (data.distribution === 'all' && data.agents.length > 1 && agentsPanel) {
// Mostrar panel d'agents
agentsPanel.classList.toggle('active');
} else {
// Obrir WhatsApp directament amb un agent
var agent = data.distribution === 'random'
? data.agents[Math.floor(Math.random() * data.agents.length)]
: data.agents[0];
var phone = agent.phone.replace(/[^0-9]/g, '');
var message = encodeURIComponent(data.message);
var url = 'https://wa.me/' + phone + '?text=' + message;
window.open(url, '_blank');
}
});
// Tancar panel si es fa clic fora
document.addEventListener('click', function(e) {
if (agentsPanel && !e.target.closest('#accent-whatsapp')) {
agentsPanel.classList.remove('active');
}
});
})();
var yith_wcwl_l10n = {"ajax_url":"/wp-admin/admin-ajax.php","redirect_to_cart":"no","yith_wcwl_button_position":"after_add_to_cart","multi_wishlist":"","hide_add_button":"1","enable_ajax_loading":"","ajax_loader_url":"https://accent-systems.com/wp-content/plugins/yith-woocommerce-wishlist/assets/images/ajax-loader-alt.svg","remove_from_wishlist_after_add_to_cart":"1","is_wishlist_responsive":"1","time_to_close_prettyphoto":"3000","fragments_index_glue":".","reload_on_found_variation":"1","mobile_media_query":"768","labels":{"cookie_disabled":"We are sorry, but this feature is available only if cookies on your browser are enabled.","added_to_cart_message":"\u003Cdiv class=\"woocommerce-notices-wrapper\"\u003E\u003Cdiv class=\"woocommerce-message\" role=\"alert\"\u003EProduct added to cart successfully\u003C/div\u003E\u003C/div\u003E"},"actions":{"add_to_wishlist_action":"add_to_wishlist","remove_from_wishlist_action":"remove_from_wishlist","reload_wishlist_and_adding_elem_action":"reload_wishlist_and_adding_elem","load_mobile_action":"load_mobile","delete_item_action":"delete_item","save_title_action":"save_title","save_privacy_action":"save_privacy","load_fragments":"load_fragments"},"nonce":{"add_to_wishlist_nonce":"312ebe886a","remove_from_wishlist_nonce":"c2f4d891c5","reload_wishlist_and_adding_elem_nonce":"9927d513d6","load_mobile_nonce":"c2f641f736","delete_item_nonce":"dfcb50e4e5","save_title_nonce":"7023088ccf","save_privacy_nonce":"0023386749","load_fragments_nonce":"7e95d4f5dd"},"redirect_after_ask_estimate":"","ask_estimate_redirect_url":"https://accent-systems.com","enable_notices":""};
//# sourceURL=jquery-yith-wcwl-js-extra
var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Share on Facebook","shareOnTwitter":"Share on Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Download image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Play Video","previous":"Previous","next":"Next","close":"Close","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":991,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":991,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}},"hasCustomBreakpoints":true},"version":"3.35.8","is_static":false,"experimentalFeatures":{"e_font_icon_svg":true,"additional_custom_breakpoints":true,"container":true,"e_optimized_markup":true,"e_pro_free_trial_popup":true,"nested-elements":true,"home_screen":true,"global_classes_should_enforce_capabilities":true,"e_variables":true,"cloud-library":true,"e_opt_in_v4_page":true,"e_components":true,"e_interactions":true,"e_editor_one":true,"import-export-customization":true},"urls":{"assets":"https:\/\/accent-systems.com\/wp-content\/plugins\/elementor\/assets\/","ajaxurl":"https:\/\/accent-systems.com\/wp-admin\/admin-ajax.php","uploadUrl":"https:\/\/accent-systems.com\/wp-content\/uploads"},"nonces":{"floatingButtonsClickTracking":"0d37e7d30d"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"viewport_tablet":"991","active_breakpoints":["viewport_mobile","viewport_tablet"],"global_image_lightbox":"yes","lightbox_enable_counter":"yes","lightbox_enable_fullscreen":"yes","lightbox_enable_zoom":"yes","lightbox_enable_share":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":221074,"title":"How%20to%20use%20Physical%20Web%20%26%20Nearby%20Notifications%20-%20Accent%20Systems","excerpt":"","featuredImage":false}};
//# sourceURL=elementor-frontend-js-before
var js_porto_vars = {"rtl":"","theme_url":"https://accent-systems.com/wp-content/themes/porto-child","ajax_url":"https://accent-systems.com/wp-admin/admin-ajax.php?lang=en","cart_url":"https://accent-systems.com/cart/","change_logo":"","container_width":"1140","grid_gutter_width":"30","show_sticky_header":"1","show_sticky_header_tablet":"1","show_sticky_header_mobile":"","ajax_loader_url":"//accent-systems.com/wp-content/themes/porto/images/ajax-loader@2x.gif","category_ajax":"","compare_popup":"1","compare_popup_title":"","prdctfltr_ajax":"","slider_loop":"1","slider_autoplay":"","slider_autoheight":"","slider_speed":"5000","slider_nav":"","slider_nav_hover":"1","slider_margin":"","slider_dots":"1","slider_animatein":"","slider_animateout":"","product_thumbs_count":"4","product_zoom":"1","product_zoom_mobile":"1","product_image_popup":"1","zoom_type":"inner","zoom_scroll":"1","zoom_lens_size":"200","zoom_lens_shape":"square","zoom_contain_lens":"1","zoom_lens_border":"1","zoom_border_color":"#888888","zoom_border":"0","screen_xl":"1170","screen_xxl":"1420","mfp_counter":"%curr% of %total%","mfp_img_error":"\u003Ca href=\"%url%\"\u003EThe image\u003C/a\u003E could not be loaded.","mfp_ajax_error":"\u003Ca href=\"%url%\"\u003EThe content\u003C/a\u003E could not be loaded.","popup_close":"Close","popup_prev":"Previous","popup_next":"Next","request_error":"The requested content cannot be loaded.\u003Cbr/\u003EPlease try again later.","loader_text":"Loading...","submenu_back":"Back","porto_nonce":"6de1c763ed","use_skeleton_screen":[],"user_edit_pages":"","quick_access":"Click to edit this element.","goto_type":"Go To the Type Builder.","legacy_mode":"","home_url":"https://accent-systems.com/","is_multisite":"","current_blog_id":"1","texts":{"search_history_title":"Search History","search_history_clear_all":"Clear"},"add_to_label":"Add to cart","login_popup_waiting_msg":"Please wait...","wc_placeholder_img":"https://accent-systems.com/wp-content/uploads/woocommerce-placeholder-300x300.png","shop_filter_layout":null,"func_url":"https://accent-systems.com/wp-content/plugins/porto-functionality/","active_lang":"en"};
//# sourceURL=porto-theme-js-extra