Adobe Analytics & Sizmek MDX integration problem
Hi Community,
Is anyone using Sizmek integration via Genesis? I followed the integration guide but there are some errors:
1) Request URL is not generated properly, because &var= parameter is not replaced with actual transfer variable defined in adservConfig object.
[img]wrong_request.png[/img]
2) Integration code calls s.partnerADSERVCheck function which is not part of the guide. Undefined error occurs. I could not find the purpose of this function so I had to delete it.
var adservCheck = s.partnerADSERVCheck(adservConfig);This is the code from the integration manual:
/************************** ADSERV VARIABLES **************************/ /* @TODO: Fill in these variables with the settings mapped in the * ADSERV wizard and that match your desired preferences. * @TODO: Comments should be removed in a production deployment. */ var adservConfig = { tEvar: 'eVar24', // Transfer variable, typically the "View Through" eVar. aID: '12345', // Advertiser ID cID: '67890', // Conversion Tag ID gID: 'EB_ACM:', // Genesis ID requestURL: "http://bs.servingsys.com/BurstingPipe/ActivityServer.bs?cn=as&vn=omn&activityID=[cID]&advID=[aID]&var=[VA R]&rnd=[RAND]", // the Sizmek request URL maxDelay: "750", // The maximum time to wait for ADSERV servers to respond, in milliseconds. visitCookie: "s_adserv", // The name of the visitor cookie to use to restrict ADSERV calls to once per visit. clickThroughParam: "CID", // A query string paramter that will force the ADSERV call to occur. searchCenterParam: undefined, // SearchCenter identifier. }; /************************ END ADSERV Variables ************************/ s.maxDelay = adservConfig.maxDelay; s.loadModule("Integrate") s.Integrate.onLoad=function(s,m) { var adservCheck = s.partnerADSERVCheck(adservConfig); if (adservCheck) { s.Integrate.add("Sizmek_ACM"); s.Integrate.Sizmek_ACM.tEvar=adservConfig.tEvar; s.Integrate.Sizmek_ACM.aID=adservConfig.aID; s.Integrate.Sizmek_ACM.cID=adservConfig.cID; s.Integrate.Sizmek_ACM.gID=adservConfig.gID; s.Integrate.Sizmek_ACM.tVar=adservConfig.tEvar; s.Integrate.Sizmek_ACM.get(adservConfig.requestURL); s.Integrate.Sizmek_ACM.setVars=function(s,p){ var at=p.lastImpTime, a1=p.lastImpSId, a2=p.lastImpPId, a3=p.lastImpId, bt=p.lastClkTime, b1=p.lastClkSId, b2=p.lastClkPId, b3=p.lastClkId; if(((at&&a1&&a2&&a3)||(bt&&b1&&b2&&b3))&&!p.errorCode)s[p.tVar]=adservConfig.gID+(at?at: 0)+":"+(a1?a1:0)+":"+(a2?a2:0)+":"+(a3?a3:0)+":"+(bt?bt:0)+":"+(b1?b1:0)+":"+(b2?b2:0)+" :"+(b3?b3:0) } } }3) All Sizmek metrics for view-through variable are properly imported into Adobe Analytics. Unfortunately there is no data for Visits, View-througs and other metrics when opening report View-through eVar report.
Thank you in advance for any help you can provide!
Roman Gazarek
