// JavaScript Document

dw_Tooltip.defaultProps = {
   hoverable: false,
   klass: 'tooltipDefault'
}


dw_Tooltip.content_vars = {

SearchEngineHighBounce: {
	     content: '<div style="padding:5px;"><span class="attention"><strong>Quick Tip:</strong> Not all traffic is good.  If you have visitors that don\'t give you the courtesy of a single click, it could indicate that there is an issue with the content on your site.</span><p><strong>Potential Issues:</strong></p><ul class="bullet-1"><li>Your bounce rate for search traffic is higher than your average bounce rate for the site.  This could mean that visitors are seeking content that your site is not delivering on the landing pages they are being referred to.</li></ul><p><strong>Potential Actions:</strong></p><ul class="bullet-1"><li><a href="/index.php/analytics-dashboard/search-details">Study the keywords</a> that are driving users to your site and compare these terms with the content your most popular search engine landing pages are delivering.</li><li>Consider updating your content to deliver more of the information that these search engine users are hoping to find on your site.</li><li>If you find that you are getting traffic for search words that for some reason just don\'t apply to your website or target audience at all, then optimize your meta tags and site content for other words to reduce the amount of these hit-and-run, non-qualified visitors.</ul></span></div>',
		 hoverable: true,
		 klass: 'tooltipTip'
},

SearchEngineShortVisits: {
	     content: '<div style="padding:5px;"><p><strong>Potential Issues:</strong></p><ul class="bullet-1"><li>Your average time spent on the site is much lower for search engine traffic than for your site average.  This could mean that visitors are seeking content that your site is not delivering on the landing pages they are being referred to and they are leaving very quickly.</li></ul><p><strong>Potential Actions:</strong></p><ul class="bullet-1"><li><a href="/index.php/analytics-dashboard/search-details">Study the keywords</a> that are driving users to your site and compare these terms with the content your most popular search engine landing pages are delivering.</li><li>Consider updating your content to deliver more of the information that these search engine users are hoping to find on your site.</li><li>If you find that you are getting traffic for search words that for some reason just don\'t apply to your website or target audience at all, then optimize your meta tags and site content for other words to reduce the amount of these hit-and-run, non-qualified visitors.</ul></span></div>',
		 hoverable: true,
		 klass: 'tooltipTip'
},

LinksHighBounce: {
	content: '<div style="padding:5px;"><span class="attention"><strong>Quick Tip: </strong>Not all publicity is good publicity.  If you have visitors coming from other sites that don\'t view more than a single page, it could indicate that there is an mis-match with the expectations of the visitors being referred to your site and the content that your site provides.</span><p><strong>Potential Issues:</strong></p><ul class="bullet-1"><li>Your bounce rate for referring links is higher than your average bounce rate for the site.  This could mean that visitors are seeking content that your site is not delivering on the landing pages they are being referred to by third-party sites.</li></ul><p><strong>Potential Actions:</strong></p><ul class="bullet-1"><li><a href="">Study the outside links</a> that are driving users to your site and compare content of these pages with the content that they are linking their visitors to.</li><li>Consider updating your content to deliver more of the information that these referral users are hoping to find on your site.</li><li>There really is no sense in creating frustrated visitors that doesn\'t find what they are looking for.  If you find that you are getting bogus traffic from a site that doesn\'t have anything to do with the content or target audience of your site, then contact the other site owner to see about getting your link removed.</li></ul></span></div>',
		 hoverable: true,
		 klass: 'tooltipTip'
},

CampaignsLowPageView: {
	content: '<div style="padding:5px;"><span class="doc"><strong>Note for Page View Metrics:</strong><br/><br/>Although having a lower number of page views is highlighted in red, depending on the goals of your campaigns, a low number of page views might not always be bad.<br/><br/>For example, if the content on your campaign landing page is so targeted and helpful that users find what they are looking for right away, or if these low page number of page views means that users are completing a registration goal or signing up for a newsletter on your site as soon as they get there, then a low number of page views is great.</span><p><strong>Potential Issues:</strong></p><ul class="bullet-1"><li>Your average number of page views for campaign traffic is higher than your average page view rate for the site. <br/><br/>This <em>could</em> mean that visitors are not enticed into viewing more of your site based on the landing pages they are being referred to by your campaign.</li></ul><p><strong>Potential Actions:</strong></p><ul class="bullet-1"><li><a href="/index.php/marketing-dashboard/campaigns">Evaluate all of the campaigns</a> that you have set up to drive users to your site and determine if your site goals are being met.</li><li>Consider updating your campaign content to deliver more of the relevant information that is already on your site.</li><li>Revamp the content on  your landing pages to entice visitors to explore more of your site and achieve your goals.</li></ul></span></div>',
		 hoverable: true,
		 klass: 'tooltipTip'
},

SearchesLowPageView: {
	content: '<div style="padding:5px;"><span class="doc"><strong>Note for Page View Metrics:</strong><br/><br/>Although having a lower number of page views is highlighted in red, depending on the goals of your site content, a low number of page views might not always be bad.  This could also vary from section to section on your site.<br/><br/>For example, if the content on your customer support page is so targeted and helpful that users find what they are looking for right away, then a low number of page views could actually be reducing your support costs because clients are finding what they need from a quick Google search and are leaving your site happy.</span><p><strong>Potential Issues:</strong></p><ul class="bullet-1"><li>Your average number of page views for search engine traffic is higher than your average page view rate for the site. <br/><br/>This <em>could</em> mean that visitors are not enticed into viewing more of your site based on the landing pages they are being referred to by their search terms.</li></ul><p><strong>Potential Actions:</strong></p><ul class="bullet-1"><li><a href="">Evaluate the search terms</a> that are driving users to your site and determine if your site goals are being met as a result of these visitors landing on your site.</li><li>Consider updating your site content to deliver more relevant information based on these popular search terms.</li></ul></span></div>',
		 hoverable: true,
		 klass: 'tooltipTip'
},

TrafficSourceDetail: {
	content: '<div style="padding:5px;"><p class="contentheading">Traffic Source Detail Table</p>The purpose of this table is to provide you with an analysis of each traffic source for your site.<ul class="bullet-1"><li><strong>Page Views:</strong>The number of times any visitor has viewed any page on your site (including repeat traffic).</li><li><strong>% of Total:</strong> The % of total traffic that has come from a particular traffic source.</li><li><strong>Avg Page Views:</strong> An average of how many pages individual users visit when they come to your site, broken down by traffic source.</li><li><strong>Avg Time Spent:</strong> The average duration that a visitor from a particular traffic source spent on your website in total.</li><li><strong>Bounce Rate:</strong> The percentage of visitors that leave your site after only viewing one page.</li></ul></div>',
		  hoverable: true,
		 klass: 'tooltipTip'
},

VisitorLoyalty: {
	content: '<div style="padding:5px;"><p class="contentheading">Visitor Loyalty Table</p>The purpose of this table is to provide you with an analysis of how many times most visitors come to your site.<ul class="bullet-1"><li><strong># of Visits:</strong> A listing of the average number of times unique visitors viewed any page on your site.</li><li><strong># of Visitors:</strong> The number of unique visitors that went to your website the total number of times specified in the first column (i.e., the number people that visited your site 1 time, 2 times, 3 times, etc.).</li><li><strong>% of Total Traffic:</strong> The percentage of total website traffic that visited your website the total number of times specified in the first column.</li></ul></div>',
		  hoverable: true,
		 klass: 'tooltipTip'
},

CustomDateRange: {
	content: '<div style="padding:5px;">Choose a date range:</div>',
		 hoverable: true
},

toolbox: {
	content: '<div><font class="smallHeader">Filter Map</font><br/><a href="#" class="menuText">Unique Visitors</a><br/><a href="#" class="menuText">Total Visits</a><br/><a href="#" class="menuText">Page Views</a><br/></div>',
		  hoverable: true,
		 klass: 'menublock'
},

AdHocQuery: {
	content: '<div style="padding:5px;"><p class="contentheading">Synergy Stats Ad-Hoc Query Engine</p>This section provides access to the mountains of raw data that is collected on your site for those random, on-the-fly reporting needs that just sometimes come up.<br/><br/>For example, do you want an isolated view of the total number of page views since you started tracking traffic on your site?  Are you interested in how the screen resolutions of your visitors have evolved over time?  This is the place to find your answers.</div>',
		  hoverable: true,
		 klass: 'tooltipTip'
},

compare: {
	content: '<div><font class="smallHeader">Compare:</font><br/><a onClick="ctype=\'uv\'; traffic_comparison_chart.setXMLFile(\'/index.php?option=com_fusionchart&format=xml&xmld=2&t=\'+ctype+dr);" class="menuText">Unique Visitors</a><br/><a onClick="ctype=\'tv\'; traffic_comparison_chart.setXMLFile(\'/index.php?option=com_fusionchart&format=xml&xmld=2&t=\'+ctype+dr);" class="menuText">Total Visits</a><br/><a onClick="ctype=\'pv\'; traffic_comparison_chart.setXMLFile(\'/index.php?option=com_fusionchart&format=xml&xmld=2&t=\'+ctype+dr);" class="menuText">Page Views</a><br><a class="menuText" onClick="ctype=\'br\'; traffic_comparison_chart.setXMLFile(\'/index.php?option=com_fusionchart&format=xml&xmld=2&t=\'+ctype+dr);">Bounce Rate</a><br/><a onClick="ctype=\'nv\'; traffic_comparison_chart.setXMLFile(\'/index.php?option=com_fusionchart&format=xml&xmld=2&t=\'+ctype+dr);" class="menuText">New Visitors</a><br/><a onClick="ctype=\'rv\'; traffic_comparison_chart.setXMLFile(\'/index.php?option=com_fusionchart&format=xml&xmld=2&t=\'+ctype+dr);" class="menuText">Returning Visitors</a></div>',
		 hoverable: true,
		 klass: 'menublock'
},

compareTime: {
	content: '<div><font class="smallHeader">Compare:</font><br/><a class="menuText" onClick="ajax_trends.url=\'/index.php?option=com_fusionchart&format=xml&xmld=15&ctype=d\'; ajax_trends.getContent();">Today vs. Yesterday</a><br/><a class="menuText" onClick="ajax_trends.url=\'/index.php?option=com_fusionchart&format=xml&xmld=15&ctype=sdlw\'; ajax_trends.getContent();">Today vs. Same Day Last Week</a><br/><a  onClick="ajax_trends.url=\'/index.php?option=com_fusionchart&format=xml&xmld=15&ctype=w\'; ajax_trends.getContent();" class="menuText">This Week vs. Last Week</a><br/><a  onClick="ajax_trends.url=\'/index.php?option=com_fusionchart&format=xml&xmld=15&ctype=m\'; ajax_trends.getContent();" class="menuText">This Month vs. Last Month</a><br/><a  onClick="ajax_trends.url=\'/index.php?option=com_fusionchart&format=xml&xmld=15&ctype=y\'; ajax_trends.getContent();" class="menuText">This Year vs. Last Year</a></div>',
		 hoverable: true,
		 klass: 'menublock'
},

editPersonalDetails: {
	content: '<div><font class="smallHeader">Edit Details:</font><br/><a href="#" class="menuText">Update Contact Info</a><br/></div>',
		 hoverable: true,
		 klass: 'menublock'
},  

tipContactInfo: {
	content: '<div style="padding:5px;"><p class="contentheading">Contact Information</p>This section allows you to manually enter contact information for a particular visitor.<br/><br/>If you have a Joomla site, this will automatically pull contact details from any visitors that are logged into your site.</div>',
		 hoverable: true,
		 klass: 'tooltipTip'
},
tipNew: {
	content: '<div><img src="/images/icons/icoNew.png">&nbsp;<font class="smallHeader">New Visitor</font><br/><br/><font class="menuText">A new visitor is someone that is viewing your site for the first time since you started tracking with Synergy Stats.</font><br/></div>',
		 hoverable: true,
		 klass: 'menublock'
},

tipReturning: {
	content: '<div><img src="/images/icons/icoReturning.png">&nbsp;<font class="smallHeader">Returning Visitor</font><br/><br/><font class="menuText">A returning visitor is someone that has been to your site before and is coming back for a repeat visit.</font><br/></div>',
		 hoverable: true,
		 klass: 'menublock'
},  

tipEngaged: {
	content: '<div><img src="/images/icons/icoEngaged.png">&nbsp;<font class="smallHeader">Engaged Visitor</font><br/><br/><font class="menuText">An engaged visitor is someone that has viewed more than one page on your website during their current visit.</font><br/></div>',
		 hoverable: true,
		 klass: 'menublock'
},

tipSticky: {
	content: '<div><img src="/images/icons/icoSticky.png">&nbsp;<font class="smallHeader">Sticky Visitor</font><br/><br/><font class="menuText">A sticky visitor is someone that has viewed more than four pages on your site during their current visit.</font><br/></div>',
		 hoverable: true,
		 klass: 'menublock'
},

Geolocate: {
	content: '<div style="padding:5px;"><p class="contentheading">Why aren\'t all of my visitors showing?</p>We use a database to look up the location of visitors by their unique IP address through a process called geolocation. <br/><br/>There may be instances where the IP address passed to us does not yet have an entry in the database. If this happens, we still record the details of the user\'s visit, but we are unable to properly provide their geographic location and so they will not be visible on the map.</div>',
		 hoverable: true,
		 klass: 'tooltipTip'
},

tipCID: {
	content: '<div style="padding:5px;"><img src="/images/cid.jpg"</div>',
		 hoverable: true
		
},

pageViews: {
	content: '<div style="padding:5px;"><p class="contentheading">How can I estimate how many page views my site will get?</p><p> A great majority of our clients never exceed the 150,000 page views in a single month.  If you\'re not sure how many page views your sites average, please <a href="/index.php">sign up for the free 2-week free trial</a> to gather baseline statistics.</p></div>',
		 hoverable: true,
		 klass: 'tooltipTip'
		
},



tipNotes: {
	content: '<div style="padding:5px;"><p class="contentheading">Notes</p>This section allows you to add notes related to a specific visitor.</div>',
		 hoverable: true,
		 klass: 'tooltipTip'
}

}

