if (CQ_Analytics && CQ_Analytics.CiscoProfileDataMgr) { CQ_Analytics.CiscoProfileDataMgr.addListener("update", function(event, property) { var authorizableId = this.getProperty("authorizableId"); if (!authorizableId || authorizableId == "anonymous") { $CQ(".cq-cc-profile-not-anonymous").hide(); $CQ(".cq-cc-profile-anonymous").show(); } else { $CQ(".cq-cc-profile-not-anonymous").show(); $CQ(".cq-cc-profile-anonymous").hide(); } }); CQ_Analytics.CiscoProfileDataMgr.loadInitProperties({ "accessLevel": "0", "operation": null }); CQ_Analytics.CiscoProfileDataMgr.reset(); } if (CQ_Analytics && CQ_Analytics.CiscoProfileDataMgr) { CQ_Analytics.CiscoProfileDataMgr.addListener("update", function(event, property) { var authorizableId = this.getProperty("authorizableId"); if (!authorizableId || authorizableId == "anonymous") { $CQ(".cq-cc-profile-not-anonymous").hide(); $CQ(".cq-cc-profile-anonymous").show(); } else { $CQ(".cq-cc-profile-not-anonymous").show(); $CQ(".cq-cc-profile-anonymous").hide(); } }); CQ_Analytics.CiscoProfileDataMgr.loadInitProperties({ "accessLevel": "0", "operation": null }); CQ_Analytics.CiscoProfileDataMgr.reset(); } if (CQ_Analytics && CQ_Analytics.ProfileDataMgr) { CQ_Analytics.ProfileDataMgr.addListener("update", function(event, property) { var authorizableId = this.getProperty("authorizableId"); if (!authorizableId || authorizableId == "anonymous") { $CQ(".cq-cc-profile-not-anonymous").hide(); $CQ(".cq-cc-profile-anonymous").show(); } else { $CQ(".cq-cc-profile-not-anonymous").show(); $CQ(".cq-cc-profile-anonymous").hide(); } }); CQ_Analytics.ProfileDataMgr.loadInitProperties({ "avatar": "/etc.clientlibs/settings/wcm/designs/default/resources/social/avatar.png", "path": "/home/users/a/anonymous/profile", "isLoggedIn": false, "isLoggedIn_xss": "false", "authorizableId": "anonymous", "authorizableId_xss": "anonymous", "formattedName": "anonymous", "formattedName_xss": "anonymous" }); CQ_Analytics.ProfileDataMgr.init(); } if ( CQ_Analytics && CQ_Analytics.CampaignMgr ) { var campaigns = []; CQ_Analytics.CampaignMgr.addInitProperty('campaigns', campaigns); CQ_Analytics.CampaignMgr.init(); }