","city":"Athens","acctid":879,"sortcompany":"margo metaphysical","typename":"Website","rankorder":1,"state":"GA","recid":1414,"status":"Active","phone":"(706) 543-1995","addressid":361542,"amenities_array":[{"tabshortname":"shopping","amenitytabid":1003,"value":"true","label":"Handicap Accessible","shortname":"handicapaccessibleshopping","amenitygroupid":7,"digits":0,"fieldid":34,"typeid":11,"type":"Yes/No","value_raw":true,"value_string":"Yes","uniquename":"shopping_handicapaccessibleshopping"},{"tabshortname":"businessownership","amenitytabid":1007,"value":"true","label":"Women Owned","shortname":"womenowned","amenitygroupid":24,"digits":0,"fieldid":199,"typeid":11,"type":"Yes/No","value_raw":true,"value_string":"Yes","uniquename":"businessownership_womenowned"}],"rankname":"Athens-Clarke","crmtracking":{"core_itinerary":"58_1414","core_booking_click":"7_1414","core_map_view":"59_1414","core_listing_view":"1_1414","core_mobile_view":"17_1414","custom_threshold_360_views":"120_1414","custom_instagram_views":"114_1414","custom_visitapps_listing_view":"111_1414","custom_book_direct_activities":"113_1414","custom_book_direct_lodging":"112_1414","core_twitter_view":"12_1414","core_mobile_click":"16_1414","custom_core_placeholder":"125_1414","core_listing_click":"4_1414","custom_visitapps_passport_check_in":"110_1414","custom_instagram_click_thrus":"115_1414","core_facebook_view":"14_1414","custom_youtube_click_thrus":"117_1414","custom_viator_click_thrus":"121_1414","core_mobile_call":"18_1414","core_facebook_click":"15_1414","custom_youtube_views":"116_1414","custom_pinterest_views":"118_1414","custom_pinterest_click_thrus":"119_1414","core_twitter_click":"13_1414"},"country":"UNITED STATES","rankid":1,"addresstype":"Physical","statusid":6,"categories":[{"primary":true,"subcatid":76,"subcatname":"Fine Jewelry","catname":"Shopping","catid":1578},{"primary":false,"subcatid":63,"subcatname":"Clothing & Accessories","catname":"Shopping","catid":1578},{"primary":false,"subcatid":131,"subcatname":"Other Shops & Services","catname":"Shopping","catid":1578}],"regionid":2,"social_object":{"Facebook":[{"fieldname":"URL","value":"https://www.facebook.com/margoathens/","smfieldid":7,"smserviceid":4}],"Yelp":[{"fieldname":"Yelp ID","value":"margo-sterling-silver-athens","smfieldid":8,"smserviceid":5}],"Instagram":[{"fieldname":"Handle","value":"https://www.instagram.com/margosterlingsilverathens/","smfieldid":7,"smserviceid":13}]},"accountudfs_object":{"332":{"name":"Visitors Guide Delivery Qty","value":5,"digits":0,"fieldid":332,"typeid":4,"type":"Number","value_raw":5,"value_string":"5"}},"amenities":{"shopping_handicapaccessibleshopping":{"tabshortname":"shopping","amenitytabid":1003,"value":"true","label":"Handicap Accessible","shortname":"handicapaccessibleshopping","amenitygroupid":7,"digits":0,"fieldid":34,"typeid":11,"type":"Yes/No","value_raw":true,"value_string":"Yes","uniquename":"shopping_handicapaccessibleshopping"},"businessownership_womenowned":{"tabshortname":"businessownership","amenitytabid":1007,"value":"true","label":"Women Owned","shortname":"womenowned","amenitygroupid":24,"digits":0,"fieldid":199,"typeid":11,"type":"Yes/No","value_raw":true,"value_string":"Yes","uniquename":"businessownership_womenowned"}},"yelpid":"margo-sterling-silver-athens","updated":"2024-04-26T18:18:10.954Z","title":"Margo Metaphysical","alpha":"m","loc":{"type":"Point","coordinates":[-83.375126,33.958444]},"sites":["primary"],"primary_site":"primary","primary_category":{"primary":true,"subcatid":76,"subcatname":"Fine Jewelry","catname":"Shopping","catid":1578},"primarycatid":1578,"primarysubcatid":76,"cms_title":"Margo Metaphysical - Shopping - Fine Jewelry (1414)","cms_title_sort":"margo metaphysical - shopping - fine jewelry (1414)","primary_image_url":"https://assets.simpleviewinc.com/simpleview/image/upload/crm/athens/margo-sterling-silver0-7d3bdb825056a36_7d3bdd0c-5056-a36a-0a99a9cbbe6ea531.jpg","primary_image_is_default":false,"yelp":{"id":"calHS04uAswjuuZh5ZyFrg","alias":"margo-metaphysical-athens","phone":"+17068506463","name":"Margo Metaphysical","photos":["https://s3-media1.fl.yelpcdn.com/bphoto/cxAk3aaA55afnqJ3ml_w1w/o.jpg","https://s3-media1.fl.yelpcdn.com/bphoto/B50Ay01qXY5egOAGCaKHNg/o.jpg","https://s3-media1.fl.yelpcdn.com/bphoto/490Fzizz5pcUmWjnfMfLMQ/o.jpg"],"url":"https://www.yelp.com/biz/margo-metaphysical-athens?adjust_creative=t_yo46NdLE-DpR3QqACkNQ&utm_campaign=yelp_api_v3&utm_medium=api_v3_business_lookup&utm_source=t_yo46NdLE-DpR3QqACkNQ","price":"$$","rating":4.3,"review_count":11,"hours":[{"day_long":"Monday","day_short":"Mon","opens":[{"string":"11:00am - 7:00pm","start":"1100","end":"1900","is_overnight":false}]},{"day_long":"Tuesday","day_short":"Tue","opens":[{"string":"11:00am - 7:00pm","start":"1100","end":"1900","is_overnight":false}]},{"day_long":"Wednesday","day_short":"Wed","opens":[{"string":"11:00am - 7:00pm","start":"1100","end":"1900","is_overnight":false}]},{"day_long":"Thursday","day_short":"Thu","opens":[{"string":"11:00am - 7:00pm","start":"1100","end":"1900","is_overnight":false}]},{"day_long":"Friday","day_short":"Fri","opens":[{"string":"10:00am - 8:00pm","start":"1000","end":"2000","is_overnight":false}]},{"day_long":"Saturday","day_short":"Sat","opens":[{"string":"10:00am - 10:00pm","start":"1000","end":"2200","is_overnight":false}]},{"day_long":"Sunday","day_short":"Sun","opens":[{"string":"12:00pm - 6:00pm","start":"1200","end":"1800","is_overnight":false}]}],"hash":"a303a97e8cd5aee5e047647ae7bb5a85"},"filter_tags":["site_primary","catid_1578","subcatid_76","site_primary_catid_1578","site_primary_subcatid_76","site_primary_catid_1578_subcatid_76","subcatid_63","site_primary_subcatid_63","site_primary_catid_1578_subcatid_63","subcatid_131","site_primary_subcatid_131","site_primary_catid_1578_subcatid_131"],"qualityScore":18,"amenityTree":[{"tabshortname":"shopping","amenitytabname":"Shopping","amenitytabid":1003,"sortorder":5,"groups":[{"amenitytabid":1003,"sortorder":10,"amenitygroupname":"General","amenitygroupid":7,"fields":[{"sortorder":1,"label":"Handicap Accessible","amenitygroupid":7,"tabshortname":"shopping","amenitytabid":1003,"fieldtype":"Yes/No","numeric":false,"shortname":"handicapaccessibleshopping","array":false,"fieldid":34,"typeid":11,"uniquename":"shopping_handicapaccessibleshopping","doc":{"tabshortname":"shopping","amenitytabid":1003,"value":"true","label":"Handicap Accessible","shortname":"handicapaccessibleshopping","amenitygroupid":7,"digits":0,"fieldid":34,"typeid":11,"type":"Yes/No","value_raw":true,"value_string":"Yes","uniquename":"shopping_handicapaccessibleshopping"},"localeLabel":"Handicap Accessible"}],"hasDoc":[true]}]},{"tabshortname":"businessownership","amenitytabname":"Business Ownership","amenitytabid":1007,"sortorder":8,"groups":[{"amenitytabid":1007,"sortorder":23,"amenitygroupname":"General","amenitygroupid":24,"fields":[{"sortorder":4,"label":"Women Owned","amenitygroupid":24,"tabshortname":"businessownership","amenitytabid":1007,"fieldtype":"Yes/No","numeric":false,"shortname":"womenowned","array":false,"fieldid":199,"typeid":11,"uniquename":"businessownership_womenowned","doc":{"tabshortname":"businessownership","amenitytabid":1007,"value":"true","label":"Women Owned","shortname":"womenowned","amenitygroupid":24,"digits":0,"fieldid":199,"typeid":11,"type":"Yes/No","value_raw":true,"value_string":"Yes","uniquename":"businessownership_womenowned"},"localeLabel":"Women Owned"}],"hasDoc":[true]}]}],"id":"65036cbbbfc9772feb1b5fdf","detailURL":"/listing/margo-metaphysical/1414/","genericUrl":"/listing/margo-metaphysical/1414/","url":"/listing/margo-metaphysical/1414/","absolute_url":"https://www.visitathensga.com/listing/margo-metaphysical/1414/","absolute_primary_url":"https://www.visitathensga.com/listing/margo-metaphysical/1414/","isListing":true,"longitude":-83.375126,"latitude":33.958444,"hasTripAdvisor":false,"hasYelp":true},"recid":1414,"crmtracking":{"core_itinerary":"58_1414","core_booking_click":"7_1414","core_map_view":"59_1414","core_listing_view":"1_1414","core_mobile_view":"17_1414","custom_threshold_360_views":"120_1414","custom_instagram_views":"114_1414","custom_visitapps_listing_view":"111_1414","custom_book_direct_activities":"113_1414","custom_book_direct_lodging":"112_1414","core_twitter_view":"12_1414","core_mobile_click":"16_1414","custom_core_placeholder":"125_1414","core_listing_click":"4_1414","custom_visitapps_passport_check_in":"110_1414","custom_instagram_click_thrus":"115_1414","core_facebook_view":"14_1414","custom_youtube_click_thrus":"117_1414","custom_viator_click_thrus":"121_1414","core_mobile_call":"18_1414","core_facebook_click":"15_1414","custom_youtube_views":"116_1414","custom_pinterest_views":"118_1414","custom_pinterest_click_thrus":"119_1414","core_twitter_click":"13_1414"},"placemark":{"recid":1414,"title":"Margo Metaphysical","crmc":"Shopping","crmsc":"Fine Jewelry","latitude":33.958444,"longitude":-83.375126,"address1":"224 E Clayton St"}}; console.log(data); const showSocialShare = site.siteConfig.custom.socialShare?.active ? site.siteConfig.custom.socialShare.active : site.siteConfig.custom[site.site].socialShare?.active; if (showSocialShare) { require(['plugins_common_custom_social_share'], function(socialShare) { socialShare.init("4e556fd3-284b-4842-bba0-b73e2c3f8185", data) }) }; //trip builder if (tripbuilder !== undefined) { tripbuilder.initButtons({ root : root, addButtonTemplate : "Add to Trip", removeButtonTemplate : "View Trip" }); } // validate and track social urls root.find("[data-sv-social]").each(function() { var validServices =['facebook', 'twitter', 'youtube', 'instagram', 'pinterest']; var service = $(this).data('sv-service').toLowerCase(); if (validServices.indexOf(service) === -1) { return; } var href = listingsLib.getValidSocialUrl({ url : $(this).attr('href'), urlType : service }); switch (service) { case "twitter": $(this).attr("href", sv_crmLib.getTrackUrl(data.crmtracking.core_twitter_click, href)); break; case "facebook": $(this).attr("href", sv_crmLib.getTrackUrl(data.crmtracking.core_facebook_click, href)); break; default: $(this).attr("href", href); } }); /**** CRM tracking - DO NOT REMOVE!!!! ****/ sv_crmLib.trackAjax(data.crmtracking.core_listing_view); var yelpArgs = { service : "yelp", recid : data.recid }; $.get("/includes/plugins/listings/getrenderedreviews/", yelpArgs, function(res) { if (res.success) { root.find("[data-sv-yelp-tabhead]").show(); root.find("[data-sv-yelp-pane]").html(res.html); } }) // do not init map until tab is clicked. we bind mousedown and click to match foundation tabs behavior var mapInited = false; root.find("[data-sv-mapTabButton]").one("mousedown click", function() { if (mapInited === true) { return; } else { mapInited = true; } var placemarks = [{ id : data.placemark.recid, marker : { position : [data.placemark.latitude, data.placemark.longitude] }, infoWindow : { content : goatee.fill(infoWindowTmpl, data.placemark), maxWidth : 300 } }]; mapObj.init({ node : root, map : { markerIcon : '/includes/public/assets/shared/map_point.png', mapOptions : { zoom: 16 } } }, true); mapObj.setState({ placemarksAdded : false, placemarks : placemarks }); }); // foundation tab init $(document).foundation("tab", "reflow"); root.find(".left-nav.tabs.no-stack").show().find("> dd:first > a").click(); // begin: amenities tab subtabs root.find(".tabs.subtab > dd > a").on("click", function(e) { e.preventDefault(); var tid = $(this).attr('href'); var t = $(this).closest('.tabs'); var dd = $(this).closest('dd'); var tc = t.closest('.tabs-content').closest('.content'); tc.removeClass('active'); $(tid).addClass('active'); $(tid).siblings().removeClass('active'); dd.addClass('active'); dd.siblings().removeClass('active'); t.toggleClass('open'); }); root.find(".tabs.subtab").each(function(i) { if ($(this).find('dd').length < 2) { $(this).addClass('solo'); } }); var tabtoggle = $(".detail-tab .tab-inner"); tabtoggle.on("click", function () { $(this).closest(".detail-tab").toggleClass("active"); 2 }); $(window).on("resize", function() { /* when using open left menu tabs in desktop and closed dropdown style tabs in mobile we want to reset the open state. otherwise clicking on a tab in desktop will leave it stuck on open when re-sizing to responsive */ $(".listings .tabs.subtab.open").removeClass("open"); }); // end: amenities tab subtabs //add tracking /* register available UI events */ var watcher = new UIWatcher({}, root, document); var uid = clientLib.uuid().toString(); watcher.add("jquery", "item-click", uid, { name: "Listings" }); var _escapeChars = function(str) { var rtnstr = $.trim(str).replace(/("|')/g, function(val){ if(val == '"'){ return '\"'; }else{ return "\'"; } }); return rtnstr; } root.find("[data-ui-website]").on("click", null, {displayText: "Visit Website", type: "Text", linkTo: "Visit Website", eventName: "partner_referral" }, handleClick); root.find("[data-ui-email]").on("click", null, {displayText: "Email", type: "Text", linkTo: "Email", eventName: "partner_referral"}, handleClick); root.on("click", "[data-ui-add-to-trip]", {displayText: "Add to Trip", type: "Button", linkTo: "Tripbuilder - Add"}, handleClick); root.on("click", "[data-ui-view-trip]", {displayText: "View Trip", type: "Button", linkTo: "Tripbuilder - View"}, handleClick); root.find("[data-ui-facebook]").on("click", null, {displayText: "Facebook | Social", type: "Icon", linkTo: "Link to Facebook", eventName: "partner_referral"}, handleClick); root.find("[data-ui-twitter]").on("click", null, {displayText: "Twitter | Social", type: "Icon", linkTo: "Link to Twitter", eventName: "partner_referral"}, handleClick); root.find("[data-ui-youtube]").on("click", null, {displayText: "Youtube | Social", type: "Icon", linkTo: "Link to Youtube", eventName: "partner_referral"}, handleClick); root.find("[data-ui-instagram]").on("click", null, {displayText: "Instagram | Social", type: "Icon", linkTo: "Link to Instagram", eventName: "partner_referral"}, handleClick); root.find("[data-ui-pinterest]").on("click", null, {displayText: "Pinterest | Social", type: "Icon", linkTo: "Link to Pinterest", eventName: "partner_referral"}, handleClick); root.find("[data-ui-yelp-snippet]").on("click", null, {displayText: "Yelp | Social", type: "Icon", linkTo: "Link to Yelp", eventName: "partner_referral"}, handleClick); root.find("[data-ui-tab-map]").on("click", null, {displayText: "Map", type: "Text", linkTo: "Click Tab - Map"}, handleClick); root.find("[data-ui-tab-about]").on("click", null, {displayText: "About", type: "Text", linkTo: "Click Tab - About"}, handleClick); root.find("[data-ui-tab-amenities]").on("click", null, {displayText: "Amenities", type: "Tab", linkTo: "Click Tab - Amenities"}, handleClick); root.find("[data-ui-tab-meeting]").on("click", null, {displayText: "Meeting Facilities", type: "Tab", linkTo: "Click Tab - Meeting Facilities"}, handleClick); root.find("[data-ui-tab-events]").on("click", null, {displayText: "Events", type: "Tab", linkTo: "Click Tab - Events"}, handleClick); root.find("[data-ui-tab-offers]").on("click", null, {displayText: "Offers", type: "Tab", linkTo: "Click Tab - Offers"}, handleClick); root.find("[data-ui-tab-yelp]").on("click", null, {displayText: "Yelp", type: "Tab", linkTo: "Click Tab - Yelp"}, handleClick); root.find("[data-ui-tab-hours]").on("click", null, {displayText: "Hours", type: "Tab", linkTo: "Click Tab - Hours"}, handleClick); root.find("[data-ui-checkrates]").on("click", null, {displayText: "Check Rates", type: "Button", linkTo: "Check Rates", eventName: "purchase_referral"}, handleClick); root.on("click", "[data-ui-detail-image]", {type: "Image", linkTo: "Link to Event Detail", eventName: "link_to_detail", linkObject: "Image", itemType: "events"}, handleClickEvents); root.on("click", "[data-ui-detail-title]", {type: "Text", linkTo: "Link to Event Detail", eventName: "link_to_detail", linkObject: "Title", itemType: "events"}, handleClickEvents); root.on("click", "[data-ui-detail-location]", {type: "Text", linkTo: "Link to Listing Detail"}, handleClick); function handleClick(event) { var title = _escapeChars("Margo Metaphysical"); var catname = _escapeChars("Shopping"); var subcatname = _escapeChars("Fine Jewelry"); var itemClickBase = {name: "Item Click", refTitle: title, view: "Detail"}; var displayText = (event.data.displayText) ? event.data.displayText : $(event.target).text().trim(); root.trigger("item-click", $.extend({}, itemClickBase, {displayText: displayText, type: event.data.type, linkTo: event.data.linkTo, crmc: catname, crmsc: subcatname, linkObject: displayText, itemType: 'listings', eventName: event.data.eventName })); } function handleClickEvents(event) { var listingTitle = $(this).closest(".shared-item").find("h4 > a").text().trim(); var title = _escapeChars("Margo Metaphysical"); var catname = _escapeChars(""); var itemClickBase = {name: "Item Click", refTitle: title+" | "+listingTitle, view: "Detail"}; var displayText = (event.data.displayText) ? event.data.displayText : $(event.target).text().trim(); root.trigger("item-click", $.extend({}, itemClickBase, {displayText: displayText, type: event.data.type, linkTo: event.data.linkTo, crmc: catname, linkObject: event.data.linkObject, itemType: event.data.itemType, eventName: event.data.eventName })); } });