CR.url
From Market Ruler Help
Revision as of 14:39, 1 June 2020 by Lori (talk | contribs) (Created page with "<code>__CR.url</code> is a member in the ConversionRuler JavaScript Global, and is of type <code>string</code>. It contains the URL of the current page. In the example be...")
__CR.url
is a member in the ConversionRuler JavaScript Global, and is of type string
. It contains the URL of the current page.
In the example below, the URL string is converted to lower case letters.
Example usage:
<script> if ( cr.URL().path.toLowerCase().indexOf('/thank-you'.toLowerCase()) === 0 ) { </script>