Follow

VersaTag code can be configured as one VersaTag, where everything will be mapped inside of one VersaTag, and one VersaTag code can be shared between multiple sites owned by an advertiser (for example, mcdonalds.com and iloveit.com).

Multiple VersaTags are sometimes easier to track. When multiple VersaTag codes are used for an advertiser, a different VersaTag code should be created for each website. For example, an auto dealer network could have melvillevw.com, brooklynvw.com, and albanyvw.com.

The VersaTag code itself (shown below) contains two main parts:

  • The tag itself, which contains the data.
  • The execution line, which imports and executes the JavaScript code.


    // versaTag parameters section (Note: All parameters are configured via the platform).
    <script>
    var versaTag = {};
    versaTag.id = "163";
    versaTag.sync = 0;
    versaTag.dispType = "js";
    versaTag.ptcl = "HTTP";
    versaTag.bsUrl = "bs.serving-sys.com/BurstingPipe";

    //VersaTag activity parameters include all conversion parameters including custom parameters and Predefined parameters. Syntax: "ParamName1":"ParamValue1", "ParamName2":"ParamValue2". ParamValue can be empty.
    versaTag.activityParams = {

    //Predefined parameters:
    "OrderID":"","Session":"","Value":"","productid":"","productinfo":"","Quantity":"",

    //Custom parameters:
    "guy":"","param1":"","param10":"","param11":"","param12":"","param13":"","param14":"","param15":"","param16":"","param17":"","param18":"","param19":"","param2":"","param20":"","param21":"","param22":"","param23":"","param24":"","param25":"","param26":"","param27":"","param28":"","param29":"","param3":"","param30":"","param31":"","param32":"","param33":"","param34":"","param35":"","param36":"","param37":"","param38":"","param39":"","param4":"","param40":"","param41":"","param42":"","param43":"","param44":"","param45":"","param46":"","param47":"","param48":"","param49":"","param5":"","param6":"","param7":"","param8":"","param9":"","sample_iphone_1":"" //ggg
    ,"sample_iphone_2":"","sample_iphone_3":"","sample_iphone_4":"","sample_iphone_5":"","sample_sample":"" //asas
    ,"sssss":"","verify_bug1":""};

    //Static retargeting tags parameters. Syntax: "TagID1":"ParamValue1", "TagID2":"ParamValue2". ParamValue can be empty.
    versaTag.retargetParams = {"8444":""};

    //Dynamic retargeting tags parameters. Syntax: "TagID1":"ParamValue1", "TagID2":"ParamValue2". ParamValue can be empty.
    versaTag.dynamicRetargetParams = {"8453":""};

    // Third party tags conditional parameters and mapping rule parameters. Syntax: "CondParam1":"ParamValue1", "CondParam2":"ParamValue2". ParamValue can be empty.
    versaTag.conditionalParams = {"aaa":"","age":"","army":"","cond1":"","cond2":"","cond3":""};
    </script>

    <script id="ebOneTagUrlId" src="http://ds.serving-sys.com/SemiCachedScripts/ebOneTag.js"></script>

    <noscript>
    <iframe src="http://bs.serving-sys.com/BurstingPipe?
    cn=ot&amp;
    onetagid=163&amp;
    ns=1&amp;
    activityValues=$$Value=[Value]&amp;OrderID=[OrderID]&amp;Session=[Session]&amp;ProductID=[ProductID]&amp;ProductInfo=[ProductInfo]&amp;Quantity=[Quantity]&amp;guy=&amp;param1=&amp;param10=&amp;param11=&amp;param12=&amp;param13=&amp;param14=&amp;param15=&amp;param16=&amp;param17=&amp;param18=&amp;param19=&amp;param2=&amp;param20=&amp;param21=&amp;param22=&amp;param23=&amp;param24=&amp;param25=&amp;param26=&amp;param27=&amp;param28=&amp;param29=&amp;param3=&amp;param30=&amp;param31=&amp;param32=&amp;param33=&amp;param34=&amp;param35=&amp;param36=&amp;param37=&amp;param38=&amp;param39=&amp;param4=&amp;param40=&amp;param41=&amp;param42=&amp;param43=&amp;param44=&amp;param45=&amp;param46=&amp;param47=&amp;param48=&amp;param49=&amp;param5=&amp;param6=&amp;param7=&amp;param8=&amp;param9=&amp;sample_iphone_1=&amp;sample_iphone_2=&amp;sample_iphone_3=&amp;sample_iphone_4=&amp;sample_iphone_5=&amp;sample_sample=&amp;sssss=$$&amp;
    retargetingValues=$$8444=$$&amp;
    dynamicRetargetingValues=$$8453=$$&amp;
    acp=$$aaa=&amp;age=&amp;army=&amp;cond1=&amp;cond2=&amp;cond3=$$&amp;"
    style="display:none;width:0px;height:0px"></iframe>
    </noscript>

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

Comments