ClickTale Support Forums

All times are UTC - 6 hours



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Nov 06, 2008 1:14 pm 
Offline
Site Admin

Joined: Fri Jul 21, 2006 2:39 pm
Posts: 1206
Location: Israel
The ASP.NET Integration module is a site wide module that will process all pageviews on your site and try to inject the configured ClickTale code into them. As a result you have no control with regard to which pages to record and which not.

You can configure the module to ignore some pages by using the "DoNotReplaceCondition" configuration instruction.
What you will do is:

1) Modify your ClickTaleScripts.xml file to have the "DoNotReplaceCondition" property like this:
Code:
  <script name="Bottom" DoNotReplaceCondition="&lt;!-- No ClickTale --&gt;">
    <![CDATA[

2) Modify the pages you want to exclude to have the condition right before the </body> tag like this:
Code:
      <!-- No ClickTale -->
</body>
</html>

When the module will detect this text it will not inject the ClickTale code.

You can also use this mechanism for other strings and conditions you might find in your code.



Another option, which is less recommended for ASP.NET, is to use the PHP control script. The PHP control script allows you to set a list of pages to record or ignore and will require you to customize your ClickTale tracking code a little. See viewtopic.php?f=5&t=314 for more details.


Top
 Profile  
 
PostPosted: Thu Dec 04, 2008 10:43 am 
Offline

Joined: Thu Dec 04, 2008 9:36 am
Posts: 1
If you only want to include the Clicktale code into some pages containing a word or string you can use the code below.
For instance it is possible to only record users that are logged in by using a word like: "logout".
Code:
DoNotReplaceCondition="^(?![\s\S]*word)"


Top
 Profile  
 
PostPosted: Fri Dec 05, 2008 4:39 am 
Offline
Site Admin

Joined: Fri Jul 21, 2006 2:39 pm
Posts: 1206
Location: Israel
Just a little note, version before 1.4.3 might not detect the condition if it is too far from the injection point. "Too far" depends on the page and is due to the way ASP.NET processed the pages in chunks.
We have changed this behavior so that the condition can be anywhere before the injection point.
You can always get the newest version here: viewtopic.php?f=5&t=423

Arik.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 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