ClickTale Support Forums

All times are UTC - 6 hours



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Oct 01, 2007 7:52 am 
Offline
Site Admin

Joined: Fri Jul 21, 2006 2:39 pm
Posts: 1206
Location: Israel
If you are using Google Maps in your web site you might receive the following message when loading movies or reports for your site:
"The Google Maps API key used on this website was registered for a different website."

This is due to ClickTale caching your pages and then showing them from our own domain. The solution is to disable Google Maps while your pages are shown in our system.

Open the page where your Google Map code is located. Find a line that says
[code]if (GBrowserIsCompatible())[/code]
Modify it to be
[code]function CTIsPlayback() {
try { return parent && parent.WebPlayer; }
catch(e) { return false; }
}
if (GBrowserIsCompatible() && !CTIsPlayback() )[/code]
If Google Maps initialization happens after the ClickTale tracking code has been loaded you can also implement the change as:
[code]if (GBrowserIsCompatible() && !(typeof ClickTaleIsPlayback=="function" && ClickTaleIsPlayback() ) )[/code]
Publish the modified file online. The change will not affect any existing recordings.


Top
 Profile  
 
PostPosted: Mon Aug 17, 2009 3:19 am 
Offline

Joined: Tue Mar 18, 2008 1:50 pm
Posts: 31
We got reports that the above code doesn't work in all cases.
So we suggest you use the ignore block feature described here: viewtopic.php?f=5&t=595

For the google maps case, you should wrap the script tag
Code:
<script type="text/javascript" src="http://maps.google.com/maps?file=api... ></script>

like so:
Code:
<!-- ClickTaleExcludeBlock -->
<script type="text/javascript" src="http://maps.google.com/maps?file=api... ></script>
<!-- EndClickTaleExcludeBlock -->


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group