Difference between revisions of "Action Code"

From Market Ruler Help
Jump to: navigation, search
(Created page with 'Every Conversion Action in '''ConversionRuler''' has an associated ''code'' which identifies it in ConversionRuler. Currently, '''Action Code'''s are numbers starting at 1 a…')
 
 
Line 1: Line 1:
Every [[Conversion Action]] in '''ConversionRuler''' has an associated ''code'' which identifies it in ConversionRuler.
+
Every [[Conversion Action]] in '''ConversionRuler''' has an associated ''code'' which identifies it in ConversionRuler. Codes were historically numbers, but now can be any sequence of characters to facilitate easier implementation.
  
Currently, '''Action Code'''s are numbers starting at 1 and increasing for each [[Conversion Action]] configured for a particular [[ConversionRuler Site|site]]. Note that if you edit or remove '''Conversion Actions''' that the action codes may not be sequential.
+
Each [[Conversion Action]] configured for a particular [[ConversionRuler Site|site]].  
  
 
You can find the action code in the '''Conversion Action Snippet''' as highlighted below:
 
You can find the action code in the '''Conversion Action Snippet''' as highlighted below:
Line 10: Line 10:
 
d.write(unescape('%3Cscript src=%22http'+u+'%22 type=%22text/javascript%22%3E%3C/script%3E'));})();
 
d.write(unescape('%3Cscript src=%22http'+u+'%22 type=%22text/javascript%22%3E%3C/script%3E'));})();
 
</script><script type="text/javascript">
 
</script><script type="text/javascript">
cr_track(</nowiki>'<tt>4</tt>'<nowiki>);
+
__CR.track(</nowiki>'<tt>4</tt>'<nowiki>);
 
</script><noscript><div style="position: absolute; left: 0"><img
 
</script><noscript><div style="position: absolute; left: 0"><img
 
src="https://www.conversionruler.com/bin/tracker.php?siteid=XXXX&amp;nojs=1&amp;actn=</nowiki><tt>4</tt><nowiki>" alt="" width="1" height="1"
 
src="https://www.conversionruler.com/bin/tracker.php?siteid=XXXX&amp;nojs=1&amp;actn=</nowiki><tt>4</tt><nowiki>" alt="" width="1" height="1"

Latest revision as of 15:45, 26 February 2016

Every Conversion Action in ConversionRuler has an associated code which identifies it in ConversionRuler. Codes were historically numbers, but now can be any sequence of characters to facilitate easier implementation.

Each Conversion Action configured for a particular site.

You can find the action code in the Conversion Action Snippet as highlighted below:

<!-- ConversionRuler Action Script: Add to Cart BEGIN -->
<script type="text/javascript">
(function(){var d=document,u=((d.location.protocol=='https:')?'s':'')+'://www.conversionruler.com/bin/js.php?siteid=XXXX';
d.write(unescape('%3Cscript src=%22http'+u+'%22 type=%22text/javascript%22%3E%3C/script%3E'));})();
</script><script type="text/javascript">
__CR.track('4');
</script><noscript><div style="position: absolute; left: 0"><img
src="https://www.conversionruler.com/bin/tracker.php?siteid=XXXX&nojs=1&actn=4" alt="" width="1" height="1"
/></div></noscript>
<!-- ConversionRuler Action Script: Add to Cart END -->

The Action Code appears twice in any Tracking Snippet.

See also