Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can add ten additional parameters to every eventy event type.

Additional parameters are in the form of OM.cepN, where N >=1 AND N<=10 like . Ex: OM.cep1,OM.cep2,OM.cep3...OM.cep10.

After you send these additional parameters they will be available to report or segment just like other event parameters.


Here Below is an example on how you can add Custom Event Parameters to Product Basket event.:

Code Block
languagejs
linenumberstrue
<script>

...


function OnVisilabsLoaded(){

...


var vl = new Visilabs();

...


vl.AddParameter(

...

"OM.

...

pbid",

...

"basket_

...

id");

...


vl.AddParameter(

...

"OM.

...

pb",

...

"product_

...

code1");

...


vl.AddParameter(

...

"OM:

...

pu","quantity1");

...


vl.AddParameter(

...

"OM.

...

ppr","revenue1");

...


// additional custom parameters

...

 
vl.AddParameter(

...

"OM.

...

cep1",

...

"coupon_

...

code");

...


vl.AddParameter(

...

"OM.

...

cep2","options");

...


vl.Collect();

...


}

...


</script>
Note
Please make sure that Custom Event Parameters are enabled for your website/mobile app by contacting

...

RMC Support.



...

Parent Topic: Sending Data to RMC