Don’t miss site errors - manually tracking

Our algorithms can occasionally miss errors you have set up on your site. Fortunately you can manually send us error text to appear in your reports.

Add the class "sessioncamlogerror" to an HTML element. This will cause that element and all its contained text to be considered as an error by the algorithm.

If you set up the script below, it will result in the message "An Error has been encountered The database lookup failed with exit code: 1234" being returned.

<div class="message-text>
  <h2 class="sessioncamlogerror">
     An Error has been encountered
  </h2>
  <p>
    The database lookup failed with exit code: 1234
  </p>
</div>

This will result in "An Error has been encountered" being returned as an error

However if you set this up as shown below you will get a different result:

<div class="message-text sessioncamlogerror">
  <h2>
      An Error has been encountered    

 </h2>
  <p>
     The database lookup failed with exit code: 1234

 </p>
</div>

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.