Best JavaScript code snippet using wpt
tagserver-v169-source.js
Source:tagserver-v169-source.js
...169 u1 = u1 + '|qs|' + pCategory + '|' + pString;170 et = 'quote-start';171 d.triggerMA(u1, u2, u3, u4, u5, et);172 if(s.products.indexOf('ctp') < 0 && s.un == setting.getEnv('sun')) {173 d.iframeTag('https://fls.doubleclick.net/activityi;src=848893;type=datalic;cat=sunco371;ord=1;num=' + Math.floor(Math.random() * 11111111111) + '?'); // 1046484174 }175 return;176 }177 if(scEventExists('event9') || s.pageName == 'in:cil:request-a-quote-confirmation' || s.pageName == 'in:gio:business-insurance:quote-request:thank-you') {178 // quote end adserver call179 if(s.pageName == 'in:gio:business-insurance:quote-request:thank-you') pString = ':business';180 u1 = u1 + '|qe|' + pCategory + '|' + pString;181 et = 'quote-end';182 if(s.eVar22) u1 = u1 + '|' + s.eVar22;183 u2 = d.getAmount('event14');184 d.triggerMA(u1, u2, u3, u4, u5, et);185 if(s.products.indexOf('ctp') < 0 && s.un == setting.getEnv('sun')) {186 d.iframeTag('https://fls.doubleclick.net/activityi;src=848893;type=datalic;cat=sunco543;ord=1;num=' + Math.floor(Math.random() * 11111111111) + '?'); // 1051728187 }188 return;189 }190 if(scEventExists('event17')) {191 // buy start adserver call192 u1 = u1 + '|bs|' + pCategory + '|' + pString;193 et = 'buy-start';194 d.triggerMA(u1, u2, u3, u4, u5, et);195 if(s.products.indexOf('ctp') < 0 && s.un == setting.getEnv('sun')) {196 d.iframeTag('https://fls.doubleclick.net/activityi;src=848893;type=datalic;cat=sunco417;ord=1;num=' + Math.floor(Math.random() * 11111111111) + '?'); // 1046485197 }198 return;199 }200 if(scEventExists('event18')) {201 // buy end adserver call202 u1 = u1 + '|be|' + pCategory + '|' + pString;203 et = 'buy-end';204 if(s.eVar23) u1 = u1 + '|' + s.eVar23;205 u2 = d.getAmount('event19');206 d.triggerMA(u1, u2, u3, u4, u5, et);207 if(s.products.indexOf('ctp') < 0 && s.un == setting.getEnv('sun')) {208 d.iframeTag('https://fls.doubleclick.net/activityi;src=848893;type=datalic;cat=sunco590;ord=1;num=' + Math.floor(Math.random() * 11111111111) + '?'); // 1046487209 }210 }211 if (scEventExists("event37")) {212 u1 = u1 + '|c2c|' + pCategory + '|' + pString;213 et = 'click-2-call';214 if(s.eVar23) u1 = u1 + '|' + s.eVar23;215 u2 = d.getAmount("event19");216 d.triggerMA(u1, u2, u3, u4, u5, et);217 }218 if (scEventExists("event29")) {219 // competition entries220 u1 = u1 + '|ce|' + pCategory + '|' + pString;221 et = 'competition-entries';222 if(s.eVar23) u1 = u1 + '|' + s.eVar23;223 u2 = d.getAmount("event19");224 d.triggerMA(u1, u2, u3, u4, u5, et);225 }226 if (scEventExists("event10")) {227 // quote retrieved228 u1 = u1 + '|qr|' + pCategory + '|' + pString;229 et = 'quote-retrieved';230 if(s.eVar23) u1 = u1 + '|' + s.eVar23;231 u2 = d.getAmount("event19");232 d.triggerMA(u1, u2, u3, u4, u5, et);233 }234 var maEvents = { // priority matters235 //clickToCall already in scode file236 callMe: {237 name: "cm",238 urls: [239 "aami.com.au/business-insurance/quote-request",240 "giopi.suncorp.com.au/mcc/immediateCallBackRequestInitialisation.do",241 "clicktofone.com/live/apia/request-call-successful.aspx",242 "clicktofone.com/custom/shannons/request-call-msg.aspx?e=suc"243 ]244 },245 competitionEntries: {246 name: "ce",247 urls: [248 "luckyaami.com.au/wafl",249 "luckyaami.com.au/winter",250 //facebook.com/aami/app_169552879874546251 //facebook.com/aami/app_320847361374064252 "insurancepromotions.com.au/gio/caraq",253 "trustnsw.com.au",254 "insurancepromotions.com.au/bingle/smarttv",255 "shannons.com.au/pebblebeach/confirm/",256 "shannons.com.au/club/competition/",257 "cilpromotions.com.au/thanks.html",258 //facebook.com/justcar/app_460018357406966259 "insurancepromotions.com.au/apia/winerytour/thanks",260 "insurancepromotions.com.au/bingle/appleaday/thanks"261 ]262 },263 renewals: {264 name: "rn",265 urls: [266 "aami.com.au/online-services?quicktabs_online_services=1",267 "cmpid=BIN:GI:PI:CAR:EDM:20130621:102&2473PSEM",268 "cmpid=BIN:GI:PI:CAR:EDM:20130621:101&2473PSEM",269 "cmpid=BIN:GI:PI:CAR:EDM:20130621:103&2473PSEM",270 "cmpid=BIN:GI:PI:CAR:EDM:20130715:122&2473PSEM",271 "cmpid=BIN:GI:PI:CAR:EDM:20130715:120&2473PSEM",272 "cmpid=BIN:GI:PI:CAR:EDM:20130715:119&2473PSEM",273 "cmpid=BIN:GI:PI:CAR:EDM:20130715:121&2473PSEM",274 "cmpid=BIN:GI:PI:CAR:EDM:20130715:123&2473PSEM",275 "cmpid=BIN:GI:PI:CAR:EDM::104&2473PSEM"276 ]277 },278 cardActivation: {279 name: "ca",280 urls: [281 "cil.aussietravelsaver.com.au/Activate.aspx"282 ]283 }284 };285 for(var event in maEvents) {286 for(var j = maEvents[event].urls.length; j-- ;) {287 if(window.location.href.indexOf(maEvents[event].urls[j]) > -1) {288 u1 = s.un + "|" + maEvents[event].name + "|" + pCategory + "|" + pString;289 et = maEvents[event].name;290 d.triggerMA(u1, u2, u3, u4, u5, et);291 break;292 }293 }294 }295 } catch(e) {296 // do nothing297 }298};299d.triggerMA = function(event, premium, eVar61, currentURL, previousURL, eventType) {300 d.urlMA = "https://fls.doubleclick.net/activityi;src=875382;type=custo866;cat=singl081;u1=" + event + ";u2=" + premium + ";u3=" + eVar61 + ";u4=" + currentURL + ";u5=" + previousURL + ";ord=" + Math.floor(Math.random() * 11111111111) + "?";301 d.iframeTag(d.urlMA);302 d.maTagFired = true;303 d.triggerDataCollectorAdserver(true, event, premium, eVar61, eventType);304};305d.bazaarvoiceTags = function(type) {306 var brand = d.shouldFireAgencyTagsFor('sun') ? 'suncorp' : 'gio';307 d.aInclude('//display.ugc.bazaarvoice.com/static/' + brand + '/en_AU/bvapi.js', function() {308 $BV.SI.trackConversion({309 "type" : type,310 "label" : scGetProducts(),311 "value": 1312 });313 });314};315d.shouldFireAgencyTagsFor = function(account) {316 var forceFireAgencyTags = (d.getSiteFromReportSuite(s.un) == account) && (d.CookieValue != '');317 return s.un == setting.getEnv(account) || forceFireAgencyTags;318};319d.fireAamiStarcomTag = function(type,cat,cachebuster) {320 d.iframeTag('//875382.fls.doubleclick.net/activityi;src=875382;type='+type+';cat='+cat+';ord=1;num=' + cachebuster + '?');321};322d.fireAamiStarcomQuoteCompleteTag = function(type,cat) {323 var premium = d.getAmount('event14');324 d.iframeTag('//875382.fls.doubleclick.net/activityi;src=875382;type='+type+';cat='+cat+';qty=1;cost='+premium+';ord='+s.eVar22+'?');325};326d.fireAamiStarcomPolicyCompleteTag = function(type,cat) {327 var premium = d.getAmount('event19');328 d.iframeTag('//875382.fls.doubleclick.net/activityi;src=875382;type='+type+';cat='+cat+';qty=1;cost='+premium+';ord='+s.eVar23+'?');329};330d.fireAamiAdlensQuoteCompleteTag = function(type) {331 var premium = d.getAmount('event14');332 d.downStreamTag("transaction", type+premium+'&ev_transid='+s.eVar22, "", "", "2243");333};334d.fireAamiAdlensPolicyCompleteTag = function(type) {335 var premium = d.getAmount('event19');336 d.downStreamTag("transaction", type+premium+'&ev_transid='+s.eVar23, "", "", "2243");337};338/** Main Adserver Function **/339// const variables for pi tag.340piAId = '30552';341piCId = '1532';342d.adserverTags = function() { 343 // only fire agency tag in PROD environment344 tmpenv = setting.env;345 setting.env = E_PROD; 346 cachebuster = Math.floor(Math.random() * 11111111111);347 348 try { /** Media Attribution Call **/349 sites = new Array('sunaamiprod', 'sunapia', 'sunbingleprod', 'sungioprod', 'suninsuremyrideprod', 'sunjustcarprod', 'sunshannonsprod', 'sunprod', 'suncilprod', 'sunterriprod');350 for (i = 0; i < sites.length; i++) {351 if (sites[i] == s.un) {352 d.maTag();353 break;354 }355 } 356 /** AAMI Tags **/357 if(d.shouldFireAgencyTagsFor('sunaami')) { /** AAMI Brochureware Tags **/358 d.gRemarketing('1030522869', 'BgjiCI_atwMQ9Y-y6wM', window.google_tag_params, true);359 if(s.pageName == 'in:ami:lp:comprehensive-car-insurance:luckyrhonda') {360 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamio191;cat=aamim445;ord=1;num=' + cachebuster + '?');361 }362 if(s.pageName == 'in:ami:lp:home-and-contents-insurance') {363 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamih671;cat=aamih759;ord=1;num=' + cachebuster + '?');364 }365 if(s.pageName == 'in:ami:aami-flexi-premiums'){366 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamio191;cat=Flexi0;ord=1;num=' + cachebuster + '?');367 }368 /**Bella pixel + JS tagging**/369 if(s.pageName == 'in:ami:contact-aami:email-aami'){370 d.downStreamTag("transaction","ev_AAMILifeEnquiryStart=1","8337","","1589","pixel.everesttech.net");371 }372 if(s.pageName == 'in:ami:contact-aami:email-aami:thank-you') {373 d.downStreamTag("transaction","ev_AAMILifeEnquiryEnd=1","8345","","1589","pixel.everesttech.net");374 d.downStreamTag('transaction','ev_SunCTPSwitch=1','','','1589','piexel.everesttech.net');375 }376 if(s.pageName == 'in:ami:life-insurance') {377 d.downStreamTag("pageview", "", "5849", "", "1589", "pixel.everesttech.net");378 d.gRemarketing('959521971', '', window.google_tag_params,true);379 d.gRemarketing('980184072', '', window.google_tag_params,true);380 d.facebookTag('712832825446307');381 }382 if(s.pageName == 'in:ami:life-insurance:quotes') {383 d.downStreamTag("pageview", "", "8369", "", "1589", "pixel.everesttech.net");384 d.facebookTag('712832825446307');385 }386 if(s.pageName == 'in:ami:life-insurance:help') {387 d.downStreamTag("pageview", "", "8377", "", "1589", "pixel.everesttech.net");388 d.facebookTag('712832825446307');389 }390 if(s.pageName == 'in:ami:life-insurance:life-insurance-calculator') {391 d.downStreamTag("pageview", "", "8385", "", "1589", "pixel.everesttech.net");392 d.facebookTag('712832825446307');393 } 394 if(s.pageName == 'in:ami:home-insurance:home-building-contents-insurance') {395 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamih671;cat=aamih759;ord=1;num=' + cachebuster + '?');396 } 397 if(s.pageName == 'in:ami:secapp:business:quote:quote_started') {398 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamib983;cat=mobil900;ord=' + cachebuster + '?');399 }400 if(s.pageName == 'in:ami:secapp:business:quote:quote_completed') {401 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamib983;cat=mobil424;ord=1;num=' + cachebuster + '?');402 d.imageTag('http://ib.adnxs.com/px?id=87127&order_id=' + s.eVar22 + '&value='+ d.getAmount('event14') + '&t=2');403 d.imageTag('//e.insurance-email.com.au/pub/cct?_ri_=X0Gzc2X%3DWQpglLjHJlYQGrwfI3XBzclmXlscFrR5dkzfh&_ei_=EqKjjVt0FqkVoC78SUwIoVE'); 404 }405 if(s.pageName == 'in:ami:secapp:business:buy:buy_started') {406 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamib983;cat=mobil811;ord=1;num=' + cachebuster + '?');407 }408 if(s.pageName == 'in:ami:secapp:business:buy:buy_completed') {409 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamib983;cat=mobil027;ord=1;num=' + cachebuster + '?');410 }411 if(s.pageName == 'in:ami:mobile:homepage') {412 d.downStreamTag("transaction", "ev_AAMIMobClaimAssistApp=1", "", "", "2243", "pixel.everesttech.net");413 }414 if(s.pageName == 'in:ami:mobile:car-insurance:comprehensive-car-insurance') {415 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamio191;cat=mobil611;ord=1;num=' + cachebuster + '?');416 }417 if(s.pageName == 'in:ami:secapp:ctp:quote:quote_started') {418 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamio191;cat=mobil890;ord=1;num=' + cachebuster + '?');419 }420 if(s.pageName == 'in:ami:secapp:ctp:quote:quote_completed') {421 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamio191;cat=mobil489;ord=1;num=' + cachebuster + '?');422 d.imageTag('http://ib.adnxs.com/px?id=87127&order_id=' + s.eVar22 + '&value='+ d.getAmount('event14') + '&t=2');423 }424 if(s.pageName == 'in:ami:secapp:ctp:buy:buy_started') {425 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamio191;cat=mobil392;ord=' + cachebuster + '?');426 }427 if(s.pageName == 'in:ami:secapp:ctp:buy:buy_completed') {428 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamip184;cat=mobil606;qty=1;cost=' + d.getAmount('event19') + ';ord=' + s.eVar23 + '?');429 } 430 if(s.pageName == 'in:ami:secapp:business:marketstalls:buy:buy_started') {431 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamim334;cat=mobil577;ord=1;num=' + cachebuster + '?');432 }433 if(s.pageName == 'in:ami:secapp:business:marketstalls:buy:buy_completed') {434 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamim334;cat=mobil256;ord=1;num=' + cachebuster + '?');435 }436 if(s.pageName == 'in:ami:mobile:secapp:travel:quote:quote_started') {437 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamit287;cat=mobil277;ord=1;num=' + cachebuster + '?');438 }439 if(s.pageName == 'in:ami:mobile:secapp:travel:quote:quote_completed') {440 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamit287;cat=mobil797;ord=1;num=' + cachebuster + '?');441 }442 if(s.pageName == 'in:ami:mobile:secapp:travel:buy:buy_started') {443 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamit287;cat=mobil677;ord=1;num=' + cachebuster + '?');444 }445 if(s.pageName == 'in:ami:mobile:travel-insurance'){446 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamit287;cat=inami0;ord=1;num=' + cachebuster + '?');447 }448 if(s.pageName == 'in:ami:mobile:home-insurance') {449 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamio191;cat=mobil961;ord=1;num=' + cachebuster + '?');450 }451 if(s.pageName == 'in:ami:mobile:car-insurance') {452 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamio191;cat=mobil846;ord=' + cachebuster + '?');453 }454 if(s.pageName == 'in:ami:ctp-insurance') {455 d.downStreamTag("pageview","","8425","","1589");456 d.facebookTag('712832825446307');457 }458 if(s.pageName == 'in:ami:caravan-insurance') {459 d.downStreamTag("pageview","","8441","","1589");460 d.facebookTag('712832825446307');461 }462 if(s.pageName == 'in:ami:business-insurance') {463 d.downStreamTag("pageview","","8449","","1589");464 d.facebookTag('712832825446307');465 }466 if(s.pageName == 'in:ami:skilled-drivers') {467 d.downStreamTag("pageview","","8457","","1589");468 d.facebookTag('712832825446307');469 }470 /**End here**/471 if(s.pageName == 'in:ami:lp:comprehensive-car-insurance-50'){472 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamio191;cat=aami5991;ord=1;num=' + cachebuster + '?');473 } 474 if(s.pageName == 'in:ami:lp:business-insurance:football'){475 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamib983;cat=aamib618;ord=1;num=' + cachebuster + '?');476 }477 if(s.pageName == 'in:ami:lp:business-insurance:baker'){478 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamib983;cat=aamib780;ord=1;num=' + cachebuster + '?');479 }480 if(s.pageName == 'in:ami:skilled-drivers:rememberwhen'){481 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=skill746;cat=skill885;ord=1;num=' + cachebuster + '?');482 }483 if(s.pageName == 'in:ami:skilled-drivers:under25'){484 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=skill746;cat=skill546;ord=1;num=' + cachebuster + '?');485 }486 if(s.pageName == 'in:ami:skilleddrivers:register'){487 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=skill746;cat=skill873;ord=1;num=' + cachebuster + '?');488 }489 if(s.pageName == 'in:ami:skilleddrivers:refer'){490 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=skill746;cat=skill739;ord=1;num=' + cachebuster + '?');491 }492 if(s.pageName == 'in:ami:skilled-drivers:make-booking'){493 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=skill746;cat=skill601;ord=1;num=' + cachebuster + '?'); 494 }495 if(s.pageName == 'in:ami:skilled-drivers:course-booking-form:thank-you'){496 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=skill746;cat=skill169;ord=1;num=' + cachebuster + '?');497 }498 if(s.pageName == 'in:ami:lp:business-insurance-2') {499 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamib983;cat=aamib657;ord=1;num=' + cachebuster + '?');500 } 501 if(s.pageName == 'in:ami:lp:business-insurance') {502 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamib983;cat=aamiw284;ord=1;num=' + cachebuster + '?');503 }504 if(s.pageName == 'in:ami:insurance-quote:insurance-quote-terms') {505 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamif002;cat=aamiq546;ord=1;num=' + cachebuster + '?');506 d.downStreamTag("transaction", "ev_AAMIAllProductsQuotesTCs=1", "", "", "2243");507 }508 if(s.pageName == 'in:ami:insurance-quote') {509 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamif002;cat=aamiq661;ord=1;num=' + cachebuster + '?');510 d.downStreamTag("transaction", "ev_AAMIAllProductQuotesPage=1", "", "", "2243");511 }512 if(s.pageName == 'in:ami:ctp-insurance:ctp-insurance-nsw') {513 d.downStreamTag("transaction", "ev_AAMICTPNSWProductPage=1", "", "", "2243");514 }515 if(s.pageName == 'in:ami:ctp-insurance:ctp-insurance-qld') {516 d.downStreamTag("transaction", "ev_AAMICTPQLDProductPage=1", "", "", "2243");517 d.downStreamTag("transaction", "ev_CTPQLDPremiumPageV2=1", "", "", "2243");518 }519 if(s.pageName == 'in:ami:lp:CTP:landing page') {520 d.imageTag('//pixel.everesttech.net/2243/t?ev_AAMI_CTP_CheckStart=1&ev_transid=' + s.getSessionID());521 }522 if(s.pageName == 'in:ami:lp:CTP:Eligible_$50-Confirmation') {523 d.imageTag('//pixel.everesttech.net/2243/t?ev_AAMI_CTP_PolicyComp=1&ev_transid=' + s.getSessionID());524 }525 if(s.pageName == 'in:ami:car-insurance:caravan-insurance') {526 d.downStreamTag("transaction", "ev_AAMICaravanProductPage=1", "", "", "2243");527 d.downStreamTag("pageview", "", "2302", "2301", "1589");528 }529 if(s.pageName == 'in:ami:home-insurance') {530 d.downStreamTag("pageview", "", "2310", "2309", "1589");531 d.facebookTag('712832825446307');532 }533 if(s.pageName == 'in:ami:home-insurance:home-contents-insurance') {534 d.downStreamTag("transaction", "ev_AAMIHomeConProductPage=1", "", "", "2243");535 d.downStreamTag("pageview", "", "2312", "2311", "1589");536 }537 if(s.pageName == 'in:ami:home-insurance:home-building-insurance') {538 d.downStreamTag("pageview", "", "2314", "2313", "1589");539 }540 if(s.pageName == 'in:ami:home-insurance:landlord-insurance') {541 d.downStreamTag("transaction", "ev_AAMIHomeLandlordProductPage=1", "", "", "2243");542 }543 if(s.pageName == 'in:ami:home-insurance:renters-insurance') {544 d.downStreamTag("transaction", "ev_AAMIHomeRentersProductPage=1", "", "", "2243");545 }546 if(s.pageName == 'in:ami:car-insurance') {547 d.downStreamTag("transaction", "ev_AAMIMotorProductPage=1", "1996", "1995", "2243");548 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamio191;cat=aamip070;ord=1;num=' + cachebuster + '?');549 d.downStreamTag("pageview", "", "2302", "2301", "1589");550 d.facebookTag('712832825446307');551 }552 if(s.pageName == 'in:ami:car-insurance:comprehensive-car-insurance') {553 d.downStreamTag("transaction", "ev_AAMICompPage=1", "1994", "1993", "2243");554 d.downStreamTag("pageview", "", "2304", "2303", "1589");555 }556 if(s.pageName == 'in:ami:motorcycle-insurance') {557 d.downStreamTag("transaction", "ev_AAMIMotorcycleProductPage=1", "", "", "2243");558 d.downStreamTag("pageview", "", "8433", "", "1589");559 d.facebookTag('712832825446307');560 }561 if(s.pageName == 'in:ami:lp:renters-insurance') {562 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamir166;cat=aamir072;ord=1;num=' + cachebuster + '?');563 }564 if(s.pageName == 'in:ami:travel-insurance') {565 d.downStreamTag("transaction", "ev_AAMITravelProductPage=1", "", "", "2243");566 d.downStreamTag("pageview", "", "2306", "2305", "1589");567 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamit287;cat=aamit688;ord=1;num=' + cachebuster + '?');568 d.facebookTag('712832825446307');569 }570 if(s.pageName == 'in:ami:mobile:secapp:travel:buy:buy_completed')571 {572 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamit287;cat=mobil132;ord=1;num=' + cachebuster + '?');573 }574 if(s.pageName == 'in:ami:lp:travel-insurance') {575 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamit287;cat=aamit688;ord=1;num=' + cachebuster + '?');576 }577 if(s.pageName == 'in:ami:secapp:travel:quote:select_cover:quote_started') {578 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamit287;cat=aamit921;ord=1;num=' + cachebuster + '?');579 }580 if(s.pageName == 'in:ami:business-insurance:small-business-insurance?') {581 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamib983;cat=aamiw284;ord=1;num=' + cachebuster + '?');582 }583 if(s.pageName == 'in:ami:business-insurance:quote-request:thank-you') {584 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamib983;cat=busin591;ord=1;num=' + cachebuster + '?');585 d.downStreamTag("transaction", "ev_AAMIWellCallYou=1", "", "", "1827");586 }587 if(s.pageName == 'in:ami:business-insurance:market-stall-and-exhibitor-insurance') {588 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamib983;cat=busin100;ord=1;num=' + cachebuster + '?');589 d.downStreamTag("transaction", "ev_AAMIBIMarketStallsBuyStart=1", "", "", "1827");590 }591 if(s.pageName == 'in:ami:lp:life-insurance') {592 d.gRemarketing('959521971', '', window.google_tag_params,true);593 d.gRemarketing('980184072', '', window.google_tag_params,true);594 d.downStreamTag("pageview", "", "2322", "2321", "1589");595 d.iframeTag('//fls.doubleclick.net/activityi;src=4080583;type=AAMIL0;cat=Sunco0;ord=1;num=' + cachebuster + '?');596 d.facebookTag('712832825446307');597 }598 if(s.pageName == 'in:ami:life-insurance:income-protection') {599 d.downStreamTag("pageview", "", "4680", "4679", "1589");600 d.gRemarketing('959521971', '', window.google_tag_params,true);601 d.facebookTag('712832825446307');602 }603 if(s.pageName == 'in:ami:life-insurance:enquiry') {604 d.downStreamTag("transaction", "ev_AAMILifeEnquiryStart=1&ev_transid=" + cachebuster, "", "", "1589");605 d.facebookTag('712832825446307');606 }607 if(s.pageName == 'in:ami:life-insurance:enquiry:thank-you') {608 d.downStreamTag("transaction", "ev_AAMILifeEnquiryEnd=1&ev_transid=" + cachebuster, "3073", "", "1589");609 d.facebookTag('712832825446307');610 }611 if(s.pageName == 'in:ami:homepage') {612 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamio191;cat=aamih687;ord=1;num=' + cachebuster + '?');613 d.downStreamTag("transaction", "ev_AAMIHomePage=1", "1990", "1989", "2243");614 d.downStreamTag("pageview", "", "2611", "2610", "1589");615 d.downStreamTag("pageview", "", "3387", "3386", "1589");616 d.gRemarketing('959521971', '', window.google_tag_params,true);617 d.gRemarketing('980184072', '', window.google_tag_params,true);618 d.gRemarketing('1030522869', 'BgjiCI_atwMQ9Y-y6wM', window.google_tag_params, true);619 }620 if(s.pageName == 'in:ami:lp:comprehensive-car-insurance') {621 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamio191;cat=aamic302;ord=1;num=' + cachebuster + '?');622 d.iframeTag('//fls.doubleclick.net/activityi;src=3203149;type=bidda180;cat=aamim469;ord=1;num=' + cachebuster + '?');623 d.downStreamTag("transaction", "ev_AamiNewCarLP=1", "1183", "1182", "2243");624 }625 if(s.pageName == 'in:ami:travel-insurance:international-travel-insurance') {626 d.downStreamTag("pageview", "", "2308", "2307", "1589");627 }628 if(s.pageName == 'in:ami:lp:third-party-property-car-insurance-57') {629 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aami3347;cat=aami3610;ord=1;num=' + cachebuster + '?');630 }631 if(s.pageName == 'in:ami:lp:third-party-property-car-insurance-4') {632 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aami3347;cat=aami3254;ord=1;num=' + cachebuster + '?');633 }634 if(s.pageName == 'in:ami:secapp:business:marketstalls:buy:buy_started') {635 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamim334;cat=marke527;ord=1;num=' + cachebuster + '?');636 }637 if(s.pageName == 'in:ami:secapp:business:marketstalls:buy:confirmation') {638 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamib983;cat=busin450;ord=1;num=' + cachebuster + '?');639 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamim334;cat=marke891;ord=1;num=' + cachebuster + '?');640 }641 if(s.pageName == 'in:ami:secapp:business:marketstalls:buy:payment') {642 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamim334;cat=marke029;ord=1;num=' + cachebuster + '?');643 }644 if(s.pageName == 'in:ami:secapp:business:marketstalls:buy:buy_completed') {645 d.downStreamTag("transaction", "ev_AAMIBIMarketStallsBuyEnd=1&ev_AAMIBIMarketStallsBuyEndRevenue=" + d.getAmount('event19'), "", "", "1827");646 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamim334;cat=marke419;ord=1;num=' + cachebuster + '?');647 }648 if(s.pageName == 'in:ami:lp:comprehensive-car-insurance:safedriver') {649 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamio191;cat=aamis711;ord=1;num=' + cachebuster + '?');650 }651 if(/^in:ami:mobile:/i.test(s.pageName)){652 var pages = {653 "in:ami:mobile:homepage": {'visible-iphone': {654 'http://itunes.apple.com/au/app/claim-assist/id540958620?mt=8': 'ev_AAMIMobClaimAssistApp=1'655 }},656 "in:ami:mobile:car-insurance": {'btn-standard': {657 'tel:132244': 'ev_AAMIMobCarInsMakeAClaim=1',658 'https://nb.aami.com.au/nb/cs?entry=find&cn=1': 'ev_AAMIMobCarInsRetrieveAQuote=1',659 'http://m.aami.com.au/car-insurance#payment-motorcycle': 'ev_AAMIMobCarInsMakeAPayment=1',660 'http://www.aami.com.au/contact-aami/locations': 'ev_AAMIMobCarInsFindAnAssessmentCentre=1',661 'https://insurance.aami.com.au/distAuth/UI/Login?goto=http%3A%2F%2Finsurance.aami.com.au%3A80%2Fselfservice%2F': 'ev_AAMIMobCarInsManageMyClaim=1',662 'http://www.aami.com.au/my-policy-manager/insurance-policy-manager?mobile=no': 'ev_AAMIMobCarInsManageMyPolicy=1'663 }},664 "in:ami:mobile:car-insurance:comprehensive-car-insurance": {665 'btn-icon': {666 'tel:132244': 'ev_AAMIMobCompCarInsMakeAClaim=1',667 'https://nb.aami.com.au/nb/cs?entry=find&cn=1': 'ev_AAMIMobCompCarInsRetrieveAQuote=1',668 'http://m.aami.com.au/car-insurance/comprehensive-car-insurance#payment-motorcycle': 'ev_AAMIMobCompCarInsMakeAPayment=1',669 'http://www.aami.com.au/contact-aami/locations': 'ev_AAMIMobCompCarInsFindAnAssessmentCentre=1',670 'https://insurance.aami.com.au/distAuth/UI/Login?goto=http%3A%2F%2Finsurance.aami.com.au%3A80%2Fselfservice%2F': 'ev_AAMIMobCompCarInsManageMyClaim=1',671 'http://www.aami.com.au/my-policy-manager/insurance-policy-manager?mobile=no': 'ev_AAMIMobCompCarInsManageMyPolicy=1'672 },673 'arrow': {674 'tel:132244': 'ev_AAMIMobCompCarInsCallForAQuote=1',675 'http://m.aami.com.au/car-insurance/comprehensive-car-insurance#quickquote': 'ev_AAMIMobCompCarInsGetAQuoteOnline=1'676 }677 },678 "in:ami:mobile:car-insurance:third-party-property-car-insurance": {679 'btn-icon': {680 'tel:132244': 'ev_AAMIMobThirdPartyCarInsMakeAClaim=1',681 'https://nb.aami.com.au/nb/cs?entry=find&cn=1': 'ev_AAMIMobThirdPartyCarInsRetrieveAQuote=1',682 'http://m.aami.com.au/car-insurance/third-party-property-car-insurance#payment-motorcycle': 'ev_AAMIMobThirdPartyCarInsMakeAPayment=1',683 'http://www.aami.com.au/contact-aami/locations': 'ev_AAMIMobThirdPartyCarInsFindAnAssessmentCentre=1',684 'http://www.aami.com.au/my-policy-manager/insurance-policy-manager?mobile=no': 'ev_AAMIMobThirdPartyCarInsManageMyPolicy=1'685 },686 'arrow': {687 'tel:132244': 'ev_AAMIMobThirdPartyCarInsCallForAQuote=1',688 'http://m.aami.com.au/car-insurance/third-party-property-car-insurance#quickquote': 'ev_AAMIMobThirdPartyCarInsGetAQuoteOnline=1'689 }690 },691 "in:ami:mobile:ctp-insurance:ctp-insurance-nsw": {692 'btn-icon': {693 'https://nb.aami.com.au/nb/cs?entry=find&cn=1': 'ev_AAMIMobCTPNSWCarInsRetrieveAQuote=1',694 'http://m.aami.com.au/ctp-insurance/ctp-insurance-nsw#payment-ctp': 'ev_AAMIMobCTPNSWCarInsMakeAPayment=1'695 // Manage my policy: 'ev_AAMIMobCTPNSWCarInsManageMyPolicy=1',696 },697 'arrow': {698 'tel:132244': 'ev_AAMIMobCTPNSWCarInsCallForAQuote=1',699 'http://www.aami.com.au/insurance-quote/ctp-insurance-quote?mobile=no': 'ev_AAMIMobCTPNSWCarInsGetAQuoteOnline=1'700 }701 },702 /*703 "in:ami:mobile:ctp-insurance:ctp-insurance-qld": {704 'btn-icon': {705 'https://nb.aami.com.au/nb/cs?entry=find&cn=1': 'ev_AAMIMobCTPQLDCarInsRetrieveAQuote=1',706 '#payment-ctp': 'ev_AAMIMobCTPQLDCarInsMakeAPayment=1',707 // Manage my policy: 'ev_AAMIMobCTPQLDCarInsManageMyPolicy=1'708 },709 'arrow': {710 'tel:132244': 'ev_AAMIMobCTPQLDCarInsCallForAQuote=1'711 }712 },713 */714 "in:ami:mobile:home-insurance": {715 'btn-icon': {716 'tel:132244': 'ev_AAMIMobHomeInsMakeAClaim=1',717 'https://nb.aami.com.au/nb/cs?entry=find&cn=1': 'ev_AAMIMobHomeInsRetrieveAQuote=1',718 'http://m.aami.com.au/home-insurance#payment-motorcycle': 'ev_AAMIMobHomeInsMakeAPayment=1',719 'https://insurance.aami.com.au/distAuth/UI/Login?goto=http%3A%2F%2Finsurance.aami.com.au%3A80%2Fselfservice%2F': 'ev_AAMIMobHomeInsManageMyClaim',720 'http://www.aami.com.au/my-policy-manager/insurance-policy-manager?mobile=no': 'ev_AAMIMobHomeInsManageMyPolicy=1'721 }722 },723 "in:ami:mobile:home-insurance:home-building-contents-insurance": {724 'btn-icon': {725 'tel:132244': 'ev_AAMIMobHome_ContentsInsMakeAClaim=1',726 'https://nb.aami.com.au/nb/cs?entry=find&cn=1': 'ev_AAMIMobHome_ContentsInsRetrieveAQuote=1',727 'http://m.aami.com.au/home-insurance/home-building-contents-insurance#payment-motorcycle': 'ev_AAMIMobHome_ContentsInsMakeAPayment=1',728 'https://insurance.aami.com.au/distAuth/UI/Login?goto=http%3A%2F%2Finsurance.aami.com.au%3A80%2Fselfservice%2F': 'ev_AAMIMobHome_ContentsInsManageMyClaim=1',729 'http://www.aami.com.au/my-policy-manager/insurance-policy-manager?mobile=no': 'ev_AAMIMobHome_ContentsInsManageMyPolicy=1'730 },731 'arrow': {732 'tel:132244': 'ev_AAMIMobHome_ContentsInsCallForAQuote=1',733 'https://nb.aami.com.au/nb/cs?entry=new&lpHomeQuoteType=BC&cn=1': 'ev_AAMIMobHome_ContentsInsGetAQuoteOnline=1',734 'https://nb.aami.com.au/nb/cs?entry=new&lpHomeQuoteType=BLD&cn=1': 'ev_AAMIMobHome_ContentsInsBuildingQuoteOnline=1',735 'https://nb.aami.com.au/nb/cs?entry=new&lpHomeQuoteType=CTS&cn=1': 'ev_AAMIMobHome_ContentsInsContentsQuoteOnline=1'736 }737 },738 "in:ami:mobile:home-insurance:landlord-insurance": {739 'btn-icon': {740 'tel:132244': 'ev_AAMIMobLLBuilding_ContentsInsMakeAClaim=1',741 'https://nb.aami.com.au/nb/cs?entry=find&cn=1': 'ev_AAMIMobLLBuilding_ContentsInsRetrieveAQuote=1',742 'http://m.aami.com.au/home-insurance/landlord-insurance#payment-motorcycle': 'ev_AAMIMobLLBuilding_ContentsInsMakeAPayment=1',743 'https://insurance.aami.com.au/distAuth/UI/Login?goto=http%3A%2F%2Finsurance.aami.com.au%3A80%2Fselfservice%2F': 'ev_AAMIMobLLBuilding_ContentsInsManageMyClaim=1',744 'http://www.aami.com.au/my-policy-manager/insurance-policy-manager?mobile=no': 'ev_AAMIMobLLBuilding_ContentsInsManageMyPolicy=1'745 },746 'arrow': {747 'tel:132244': 'ev_AAMIMobLLBuilding_ContentsInsCallForAQuote=1',748 'https://nb.aami.com.au/nb/cs?entry=landlordnew&lpHomeQuoteType=LBC&cn=1': 'ev_AAMIMobLLBuilding_ContentsInsQuoteOnline=1',749 'https://nb.aami.com.au/nb/cs?entry=landlordnew&lpHomeQuoteType=LLB&cn=1': 'ev_AAMIMobLLBuildingQuoteOnline=1'750 }751 },752 "in:ami:mobile:home-insurance:strata-title-insurance": {753 'btn-icon': {754 'tel:132244': 'ev_AAMIMobLLStrataTitleInsMakeAClaim=1',755 'https://nb.aami.com.au/nb/cs?entry=find&cn=1': 'ev_AAMIMobLLStrataTitleInsRetrieveAQuote=1',756 'http://m.aami.com.au/home-insurance/strata-title-insurance#payment-motorcycle': 'ev_AAMIMobLLStrataTitleInsMakeAPayment=1',757 'https://insurance.aami.com.au/distAuth/UI/Login?goto=http%3A%2F%2Finsurance.aami.com.au%3A80%2Fselfservice%2F': 'ev_AAMIMobLLStrataTitleInsManageMyClaim=1',758 'http://www.aami.com.au/my-policy-manager/insurance-policy-manager?mobile=no': 'ev_AAMIMobLLStrataTitleInsManageMyPolicy=1'759 },760 'arrow': {761 'tel:132244': 'ev_AAMIMobLLStrataTitleInsCallForAQuote=1',762 'https://nb.aami.com.au/nb/cs?entry=stratanew&lpHomeQuoteType=SRC&cn=1': 'ev_AAMIMobLLStrataTitleInsGetAQuoteOnline=1'763 }764 },765 "in:ami:mobile:home-insurance:home-contents-insurance": {766 'btn-icon': {767 'tel:132244': 'ev_AAMIMobRentersContentsInsMakeAClaim=1',768 'https://nb.aami.com.au/nb/cs?entry=find&cn=1': 'ev_AAMIMobRentersContentsInsRetrieveAQuote=1',769 'http://m.aami.com.au/home-insurance/home-contents-insurance#payment-motorcycle': 'ev_AAMIMobRentersContentsInsMakeAPayment=1',770 'https://insurance.aami.com.au/distAuth/UI/Login?goto=http%3A%2F%2Finsurance.aami.com.au%3A80%2Fselfservice%2F': 'ev_AAMIMobRentersContentsInsManageMyClaim=1',771 'http://www.aami.com.au/my-policy-manager/insurance-policy-manager?mobile=no': 'ev_AAMIMobRentersContentsInsManageMyPolicy=1'772 },773 'arrow': {774 'tel:132244': 'ev_AAMIMobRentersContentsInsCallForAQuote=1',775 'https://nb.aami.com.au/nb/cs?entry=new&lpHomeQuoteType=CTS&cn=1': 'ev_AAMIMobRentersContentsInsGetAQuoteOnline=1'776 }777 },778 "in:ami:mobile:home-insurance:renters-insurance": {779 'btn-icon': {780 'tel:132244': 'ev_AAMIMobRentersFire_TheftContentsInsMakeAClaim=1',781 'https://nb.aami.com.au/nb/cs?entry=find&cn=1': 'ev_AAMIMobRentersFire_TheftContentsInsRetrieveAQuote=1',782 'http://m.aami.com.au/home-insurance/renters-insurance#payment-motorcycle': 'ev_AAMIMobRentersFire_TheftContentsInsMakeAPayment=1',783 'https://insurance.aami.com.au/distAuth/UI/Login?goto=http%3A%2F%2Finsurance.aami.com.au%3A80%2Fselfservice%2F': 'ev_AAMIMobRentersFire_TheftContentsInsManageMyClaim=1',784 'http://www.aami.com.au/my-policy-manager/insurance-policy-manager?mobile=no': 'ev_AAMIMobRentersFire_TheftContentsInsManageMyPolicy=1'785 },786 'arrow': {787 'tel:132244': 'ev_AAMIMobRentersFire_TheftContentsInsCallForAQuote=1',788 'https://nb.aami.com.au/nb/cs?entry=firetheftctsnew&lpHomeQuoteType=FTC&cn=1': 'ev_AAMIMobRentersFire_TheftContentsInsGetAQuoteOnline=1'789 }790 },791 //HOME INSURANCE792 "in:ami:mobile:travel-insurance": {793 'btn-icon': {794 'tel:+61289871674': 'ev_AAMIMobTravelInsOverseasAssistance=1',795 'tel:132244': 'ev_AAMIMobTravelInsAssistanceInAustralia=1'796 },797 'arrow': {798 'tel:132244': 'ev_AAMIMobTravelInsCallForAQuote=1',799 'https://cpdirect.vero.com.au/NASApp/cpdirect/TLAAMITravelMobileQuote?co=05&cp=53&pageAction=newQuote': 'ev_AAMIMobTravelInsGetAQuote=1'800 }801 },802 "in:ami:mobile:business-insurance": {803 'btn-icon': {804 'tel:132244': 'ev_AAMIMobBusinessInsMakeAClaim=1',805 'tel:132244': 'ev_AAMIMobBusinessInsCallForEnquiries=1',806 'http://m.aami.com.au/business-insurance#payment-business1': 'ev_AAMIMobBusinessInsMakeAPayment=1'807 }808 },809 "in:ami:mobile:business-insurance:small-business-insurance": {810 'btn-icon': {811 'tel:132244': 'ev_AAMIMobBusinessInsMakeAClaim=1',812 'tel:132244': 'ev_AAMIMobBusinessInsCallForEnquiries=1',813 'http://m.aami.com.au/business-insurance/small-business-insurance#payment-business1': 'ev_AAMIMobBusinessInsMakeAPayment=1'814 },815 'arrow': {816 'tel:132244': 'ev_AAMIMobSmallBussinessInsCallForAQuote=1',817 'https://quote.aami.com.au/business-insurance/#/select_your_business': 'ev_AAMIMobSmallBussinessInsGetAQuoteOnline=1'818 }819 },820 "in:ami:mobile:business-insurance:public-liability-insurance": {821 'btn-icon': {822 'tel:132244': 'ev_AAMIMobPublicLiabilityInsMakeAClaim=1',823 'tel:132244': 'ev_AAMIMobPublicLiabilityInsCallForEnquiries=1',824 'http://m.aami.com.au/business-insurance/public-liability-insurance#payment-business1': 'ev_AAMIMobPublicLiabilityInsMakeAPayment=1'825 },826 'arrow': {827 'tel:132244': 'ev_AAMIMobPublicLiabilityInsCallForAQuote=1',828 'https://quote.aami.com.au/business-insurance/#/select_your_business': 'ev_AAMIMobPublicLiabilityInsGetAQuoteOnline=1'829 }830 },831 "in:ami:mobile:business-insurance:market-stall-and-exhibitor-insurance": {832 'btn-icon': {833 'tel:132244': 'ev_AAMIMobMarketStallInsMakeAClaim=1',834 'tel:132244': 'ev_AAMIMobMarketStallInsCallForEnquiries=1',835 'http://m.aami.com.au/business-insurance/market-stall-and-exhibitor-insurance#payment-business1': 'ev_AAMIMobMarketStallInsMakeAPayment=1'836 },837 'arrow': {838 'tel:132244': 'ev_AAMIMobMarketStallInsCallForAQuote=1'839 // get a quote online: 'ev_AAMIMobMarketStallInsGetAQuoteOnline=1'840 }841 },842 "in:ami:mobile:business-insurance:commercial-property-insurance": {843 'btn-icon': {844 'tel:132244': 'ev_AAMIMobCommPropertyInsMakeAClaim=1',845 'tel:132244': 'ev_AAMIMobCommPropertyInsCallForEnquiries=1',846 'http://m.aami.com.au/business-insurance/commercial-property-insurance#payment-business1': 'ev_AAMIMobCommPropertyInsMakeAPayment=1'847 },848 'arrow': {849 'tel:132244': 'ev_AAMIMobCommPropertyInsCallForAQuote=1'850 }851 },852 "in:ami:mobile:motorcycle-insurance": {853 'btn-icon': {854 'tel:132244': 'ev_AAMIMobMotorcycleInsMakeAClaim=1',855 'https://nb.aami.com.au/nb/cs?entry=find&cn=1': 'ev_AAMIMobMotorcycleInsRetrieveAQuote=1',856 'http://m.aami.com.au/motorcycle-insurance#payment-motorcycle': 'ev_AAMIMobMotorcycleInsMakeAPayment=1',857 'http://www.aami.com.au/contact-aami/locations': 'ev_AAMIMobMotorcycleInsFindAnAssessmentCentre=1',858 'https://insurance.aami.com.au/distAuth/UI/Login?goto=http%3A%2F%2Finsurance.aami.com.au%3A80%2Fselfservice%2F': 'ev_AAMIMobMotorcycleInsManageMyClaim=1',859 'http://www.aami.com.au/my-policy-manager/insurance-policy-manager?mobile=no': 'ev_AAMIMobMotorcycleInsManageMyPolicy'860 }861 },862 "in:ami:mobile:motorcycle-insurance:comprehensive-motorcycle-insurance": {863 'btn-icon': {864 'tel:132244': 'ev_AAMIMobCompMotorcycleInsMakeAClaim=1',865 'https://nb.aami.com.au/nb/cs?entry=find&cn=1': 'ev_AAMIMobCompMotorcycleInsRetrieveAQuote=1',866 'http://m.aami.com.au/motorcycle-insurance/comprehensive-motorcycle-insurance#payment-motorcycle': 'ev_AAMIMobCompMotorcycleInsMakeAPayment=1',867 'http://www.aami.com.au/contact-aami/locations': 'ev_AAMIMobCompMotorcycleInsFindAnAssessmentCentre=1',868 'https://insurance.aami.com.au/distAuth/UI/Login?goto=http%3A%2F%2Finsurance.aami.com.au%3A80%2Fselfservice%2F': 'ev_AAMIMobCompMotorcycleInsManageMyClaim=1',869 'http://www.aami.com.au/my-policy-manager/insurance-policy-manager?mobile=no': 'ev_AAMIMobCompMotorcycleInsManageMyPolicy=1'870 },871 'arrow': {872 'tel: 13 22 44': 'ev_AAMIMobCompMotorcycleInsCallForAQuote=1',873 'https://nb.aami.com.au/nb/cs?entry=motorcyclenew&cn=1': 'ev_AAMIMobCompMotorcycleInsGetAQuoteOnline=1'874 }875 },876 "in:ami:mobile:motorcycle-insurance:third-party-property-motorcycle-insurance": {877 'btn-icon': {878 'tel:132244': 'ev_AAMIMobThirdPartyMotorcycleInsMakeAClaim=1',879 'https://nb.aami.com.au/nb/cs?entry=find&cn=1': 'ev_AAMIMobThirdPartyMotorcycleInsRetrieveAQuote=1',880 'http://m.aami.com.au/motorcycle-insurance/third-party-property-motorcycle-insurance#payment-motorcycle': 'ev_AAMIMobThirdPartyMotorcycleInsMakeAPayment=1',881 'http://www.aami.com.au/contact-aami/locations': 'ev_AAMIMobThirdPartyMotorcycleInsFindAnAssessmentCentre=1',882 'http://www.aami.com.au/my-policy-manager/insurance-policy-manager?mobile=no': 'ev_AAMIMobThirdPartyMotorcycleInsManageMyPolicy=1'883 },884 'arrow': {885 'tel: 13 22 44': 'ev_AAMIMobThirdPartyMotorcycleInsCallForAQuote=1',886 'https://nb.aami.com.au/nb/cs?entry=motorcyclenew&cn=1': 'ev_AAMIMobThirdPartyMotorcycleInsGetAQuoteOnline=1'887 }888 },889 "in:ami:mobile:ctp-insurance:ctp-insurance-nsw": {890 'btn-icon': {891 'https://nb.aami.com.au/nb/cs?entry=find&cn=1': 'ev_AAMIMobCTPNSWMotorcycleInsRetrieveAQuote=1',892 'http://m.aami.com.au/ctp-insurance/ctp-insurance-nsw#payment-ctp': 'ev_AAMIMobCTPNSWMotorcycleInsMakeAPayment=1'893 // Manage my policy: 'ev_AAMIMobCTPNSWMotorcycleInsManageMyPolicy=1',894 },895 'arrow': {896 'tel: 13 22 44': 'ev_AAMIMobCTPNSWMotorcycleInsCallForAQuote=1',897 'http://www.aami.com.au/insurance-quote/ctp-insurance-quote?mobile=no': 'ev_AAMIMobCTPNSWMotorcycleInsGetAQuoteOnline=1'898 }899 },900 /*901 "in:ami:mobile:ctp-insurance:ctp-insurance-qld": {902 'btn-icon': {903 '#payment-ctp': 'ev_AAMIMobCTPQLDMotorcycleInsMakeAPayment=1'904 // Manage my policy: 'ev_AAMIMobCTPQLDMotorcycleInsManageMyPolicy=1',905 },906 'arrow': {907 'tel: 13 22 44': 'ev_AAMIMobCTPQLDMotorcycleInsCallForAQuote=1',908 'http://www.aami.com.au/insurance-quote/ctp-insurance-quote?mobile=no': 'ev_AAMIMobCTPQLDMotorcycleInsRetrieveAQuote=1'909 }910 },911 */912 "in:ami:mobile:caravan-insurance": {913 'btn-icon': {914 'tel:132244': 'ev_AAMIMobCaravanInsMakeAClaim=1',915 'https://nb.aami.com.au/nb/cs?entry=find&cn=1': 'ev_AAMIMobCaravanInsRetrieveAQuote=1', 916 'http://m.aami.com.au/caravan-insurance#payment-motorcycle': 'ev_AAMIMobCaravanInsMakeAPayment=1', 917 'https://insurance.aami.com.au/distAuth/UI/Login?goto=http%3A%2F%2Finsurance.aami.com.au%3A80%2Fselfservice%2F': 'ev_AAMIMobCaravanInsManageMyClaim=1', 918 'http://www.aami.com.au/my-policy-manager/insurance-policy-manager?mobile=no': 'ev_AAMIMobCaravanInsManageMyPolicy=1' 919 },920 'arrow': {921 'tel:132244': 'ev_AAMIMobCaravanInsCallForAQuote=1',922 'https://nb.aami.com.au/nb/cs?entry=cvcnew&cn=1': 'ev_AAMIMobCaravanInsGetAQuote=1'923 }924 },925 "in:ami:mobile:life-insurance": {926 // Direct Track?927 'btn-icon': {928 'tel:132244': 'ev_AAMIMobLifeInsMakeAClaim=1',929 'tel:132244': 'ev_AAMIMobLifeInsCallForEnquiries=1'930 },931 'arrow': {932 'tel:132244': 'ev_AAMIMobLifeInsCallForAQuote=1',933 'http://www.aami.com.au/insurance-quote/life-insurance-quote-terms?mobile=no': 'ev_AAMIMobLifeInsGetAQuote=1'934 }935 },936 "in:ami:mobile:life-insurance:income-protection": {937 // Direct Track?938 'btn-icon': {939 'tel:132244': 'ev_AAMIMobIncomeProtectionMakeAClaim=1',940 'tel:132244': 'ev_AAMIMobIncomeProtectionCallForEnquiries=1'941 },942 'arrow': {943 'tel:132244': 'ev_AAMIMobIncomeProtectionCallForAQuote=1',944 'http://life1.aami.com.au/eApplication/newBusiness?brand=AAMI&product=Income%20ProtectionIP&request_type=quote&application_type=Individual': 'ev_AAMIMobIncomeProtectionGetAQuote=1',945 'tel:132244': 'ev_AAMIMobIncomeProtectionRequestACallback'946 }947 }948 };949 950 document.getElementByClassName = document.getElementsByClassName || function(className){951 var els = this.getElementsByTagName('*');952 var targets = [];953 for(var i = els.length; i--;){954 var cn = els[i].className.split(' ');955 for(var j = cn.length; j--;){956 if(cn === className)957 targets.push(els[i]);958 }959 }960 };961 962 var bindToMobile = function(className, tags){963 var els = document.getElementByClassName(className);964 965 for(var i = els.length; i--;){966 var handleDownStream = null;967 if(typeof tags[els[i].href] !== 'undefined'){968 handleDownStream = function(e){969 d.downStreamOnClick(tags[e.currentTarget.href]);970 }; 971 } else if (/tel:132244/i.test(els[i].href)) {972 handleDownStream = function (e) {973 d.downStreamOnClick(tags['tel:132244']);974 };975 } else if (/tel:+61289871674/i.test(els[i].href)) {976 handleDownStream = function (e) {977 d.downStreamOnClick(tags['tel:+61289871674']);978 };979 }980 if (typeof handleDownStream == 'function') { 981 if(els[i].addEventListener){982 els[i].addEventListener('click', handleDownStream, false);983 } else {984 els[i].attachEvent('onclick', handleDownStream);985 }986 }987 }988 };989 990 for(var p in pages[s.pageName]){991 if(pages[s.pageName].hasOwnProperty && pages[s.pageName].hasOwnProperty(p)){992 bindToMobile(p, pages[s.pageName][p]);993 }994 }995 }996 /** AAMI Quote Start **/997 if(scEventExists('event8')) {998 if(s.products.indexOf('travel') > -1 || ((typeof s.eVar48 != 'undefined') && (s.eVar48.indexOf('travel') > -1))) {999 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamit287;cat=aamit921;ord=1;num=' + cachebuster + '?');1000 d.downStreamTag("transaction", "ev_AAMITravelQ1=1", "", "", "2243");1001 } else if(s.products.indexOf('home_') > -1 || s.products.indexOf('landlord_') > -1 || ((typeof s.eVar48 != 'undefined') && (s.eVar48 == 'landlord' || s.eVar48 == 'home' || s.eVar48.indexOf('renter') > -1))) {1002 if(s.products.indexOf('home_building_&_contents') > -1) {1003 d.fireAamiStarcomTag('aamio191','homeq706', cachebuster);1004 d.downStreamTag("transaction", "ev_AAMIHomeConQ1=1", "", "", "2243");1005 } else if(s.products.indexOf('home_building_only') > -1) {1006 d.fireAamiStarcomTag('aamih671','aamih844', cachebuster);1007 d.downStreamTag("transaction", "ev_AAMIHomeBuildingQ1=1", "", "", "2243");1008 } else if(s.products.indexOf('home_contents_only') > -1) {1009 d.fireAamiStarcomTag('aamih671','aamic813', cachebuster);1010 d.downStreamTag("transaction", "ev_AAMIContentsQ1=1", "", "", "2243");1011 } else if(s.products.indexOf('home_nps') > -1) {1012 d.fireAamiStarcomTag('aamih671','homei355', cachebuster);1013 d.downStreamTag("transaction", "ev_AAMIHomeNPS1=1", "", "", "2243");1014 } else if(s.products.indexOf('landlord_building_') > -1 || s.products.indexOf('landlord_contents_') > -1) {1015 d.fireAamiStarcomTag('aamih671','landl262', cachebuster);1016 d.downStreamTag("transaction", "ev_AAMIHomeLandlordQ1=1", "", "", "2243");1017 } else if(s.products.indexOf('landlord_nps') > -1) {1018 d.fireAamiStarcomTag('aamih671','landl611', cachebuster);1019 d.downStreamTag("transaction", "ev_AAMILandlordNPS=1", "", "", "2243");1020 } else if(s.products.indexOf('home_fire_&_theft_contents_only') > -1) {1021 d.fireAamiStarcomTag('aamih671','home_784', cachebuster);1022 d.downStreamTag("transaction", "ev_AAMIContentsQ1=1", "", "", "2243");1023 } else if(s.products.indexOf('home_fire_&_theft_nps') > -1) {1024 d.fireAamiStarcomTag('aamih671','homei355', cachebuster);1025 d.downStreamTag("transaction", "ev_AAMIHomeNPS1=1", "", "", "2243");1026 } 1027 } else if(s.products.indexOf('business') > -1 || ((typeof s.eVar48 != 'undefined') && (s.eVar48.indexOf('business') > -1 || s.eVar48.indexOf('public') > -1 || s.eVar48.indexOf('market') > -1))) {1028 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamib983;cat=comme365;ord=1;num=' + cachebuster + '?');1029 d.downStreamTag("transaction", "ev_aamiciquotestart=1", "1356", "", "1827");1030 } else if(s.products.indexOf('car') > -1 || s.products.indexOf('motor') > -1 || ((typeof s.eVar48 != 'undefined') && (s.eVar48 == 'car' || s.eVar48 == 'caravan' || s.eVar48 == 'ctp-greenslip-nsw' || s.eVar48 == 'motorcycle'))) {1031 d.iframeTag('//fls.doubleclick.net/activityi;src=3203149;type=bidda180;cat=aamim203;ord=1;num=' + cachebuster + '?');1032 d.facebookTag('300336300129800');1033 if(s.products.indexOf('car_comprehensive') > -1) {1034 d.fireAamiStarcomTag('aamio191','carst020', cachebuster);1035 d.downStreamTag("transaction", "ev_AAMIMotorQ1=1", "", "", "2243");1036 } else if(s.products.indexOf('car_thirdparty') > -1) {1037 d.fireAamiStarcomTag('aami3347','aami3238', cachebuster);1038 d.downStreamTag("transaction", "ev_AAMIThirdPartyMotorQ1=1", "", "", "2243");1039 } else if(s.products.indexOf('car_nonproduct_specific') > -1 || s.products.indexOf('motor_nonproduct_specific') > -1) {1040 d.fireAamiStarcomTag('aamif002','carin081', cachebuster);1041 d.downStreamTag("transaction", "ev_AAMICarNPS=1", "", "", "2243");1042 } else if(s.products.indexOf('motorcycle') > -1) {1043 d.fireAamiStarcomTag('aamim344','motor201', cachebuster);1044 d.downStreamTag("transaction", "ev_AAMIMotorcycleQuoteStart=1", "", "", "2243");1045 } else if(s.products.indexOf('car_ctp') > -1 || ((typeof s.eVar48 != 'undefined') && s.eVar48 == 'ctp-greenslip-nsw')) {1046 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamio191;cat=ctpqu138;ord=1;num=' + cachebuster + '?');1047 d.downStreamTag("transaction", "ev_AAMICTPNSWQ1=1", "", "", "2243");1048 }1049 } else if(s.products.indexOf('life_protect') > -1 || s.products.indexOf('income_protection') > -1){1050 d.facebookTag('712832825446307');1051 }1052 if(navigator.userAgent.indexOf("MSIE 7.0") < 0) {1053 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=custo866;cat=quote823;u1=' + s.prop3 + ';u4=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');1054 }1055 } /** AAMI Quote Complete **/1056 if(scEventExists('event9')) {1057 d.imageTag('//e.insurance-email.com.au/pub/cct?_ri_=X0Gzc2X%3DWQpglLjHJlYQGzbvzbtkyazeR1DqPwSfozfkbcR&_ei_=Eg9e8ZPvz390ulmzt6Id6AI');1058 if(s.products.indexOf('travel') > -1) {1059 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamit287;cat=aamit979;ord=1;num=' + cachebuster + '?');1060 d.downStreamTag("transaction", "ev_AAMITravelQ2=1&ev_AAMITravelQ2Revenue=" + d.getAmount('event14'), "", "", "2243");1061 } else if(s.products.indexOf('home_') > -1 || s.products.indexOf('landlord_') > -1) {1062 if(s.products.indexOf('home_building_&_contents') > -1) {1063 d.fireAamiStarcomQuoteCompleteTag('aamio191','homeq975');1064 d.fireAamiAdlensQuoteCompleteTag("ev_AAMIHomeConQ2=1&ev_AAMIHomeConQ2Revenue=");1065 } else if(s.products.indexOf('home_building_only') > -1) {1066 d.fireAamiStarcomQuoteCompleteTag('aamih671','aamih785');1067 d.fireAamiAdlensQuoteCompleteTag("ev_AAMIHomeBuildingQ2=1&ev_AAMIHomeBuildingQ2Revenue=");1068 } else if(s.products.indexOf('home_contents_only') > -1) {1069 d.fireAamiStarcomQuoteCompleteTag('aamih671','aamic784');1070 d.fireAamiAdlensQuoteCompleteTag("ev_AAMIContentsQ2=1&ev_AAMIContentsQ2Revenue=");1071 } else if(s.products.indexOf('landlord_building_') > -1 || s.products.indexOf('landlord_contents_') > -1) {1072 d.fireAamiStarcomQuoteCompleteTag('aamih671','landl198');1073 d.fireAamiAdlensQuoteCompleteTag("ev_AAMIHomeLandlordQ2=1&ev_AAMIHomeLandlordQ2Revenue=");1074 } else if(s.products.indexOf('home_fire_&_theft_contents_only') > -1) {1075 d.fireAamiStarcomQuoteCompleteTag('aamih671','home_654');1076 d.fireAamiAdlensQuoteCompleteTag("ev_AAMIContentsQ2=1&ev_AAMIContentsQ2Revenue=");1077 }1078 } else if(s.products.indexOf('business') > -1) {1079 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamib983;cat=comme053;ord=1;num=' + cachebuster + '?');1080 d.downStreamTag("transaction", "ev_aamiciquoteend=1&ev_aamiciquoteendvalue=" + d.getAmount('event14'), "1358", "", "1827");1081 d.imageTag('//e.insurance-email.com.au/pub/cct?ri=X0Gzc2X%3DWQpglLjHJlYQGnMFdze6CNjtTzaAdjzb92zfJCC&ei=EjIuRudawUuRBwQbqnIC3wY');1082 } else if(s.products.indexOf('car') > -1 || s.products.indexOf('motor') > -1) {1083 d.iframeTag('//fls.doubleclick.net/activityi;src=3203149;type=bidda180;cat=aamim718;ord=1;num=' + cachebuster + '?');1084 d.facebookTag('300336300129800');1085 if(s.products.indexOf('car_comprehensive') > -1|| s.products.indexOf('car_thirdpartyproperty') > -1) {1086 attachEfButtonEvents(["emailButton"], "//googleads.g.doubleclick.net/pagead/viewthroughconversion/1030522869/?value=0&label=Id8NCJfJ5AcQ9Y-y6wM&guid=ON&script=0");1087 }1088 if(s.products.indexOf('car_comprehensive') > -1) {1089 d.fireAamiStarcomQuoteCompleteTag('aamio191','carqu944');1090 d.fireAamiAdlensQuoteCompleteTag("ev_AAMIMotorQ2=1&ev_AAMIMotorQ2Revenue=");1091 } else if(s.products.indexOf('car_thirdparty') > -1) {1092 d.fireAamiStarcomQuoteCompleteTag('aami3347','aami3107');1093 d.fireAamiAdlensQuoteCompleteTag("ev_AAMIThirdPartyMotorQ2=1&ev_AAMIThirdPartyMotorQ2Revenue=");1094 } else if(s.products.indexOf('motorcycle') > -1) {1095 d.fireAamiStarcomQuoteCompleteTag('aamip132','motor413');1096 d.fireAamiAdlensQuoteCompleteTag("ev_AAMIMotorcycleQuoteComplete=1&ev_AAMIMotorcycleQuoteCompleteRev=");1097 } else if(s.products.indexOf('car_ctp') > -1) {1098 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamio191;cat=ctpqu459;ord=1;num=' + cachebuster + '?');1099 d.downStreamTag("transaction", "ev_AAMICTPNSWQ2=1&ev_AAMICTPNSWQ2Revenue=" + d.getAmount('event14'), "", "", "2243");1100 }1101 } else if(s.products.indexOf('life_protect') > -1 || s.products.indexOf('income_protection') > -1){1102 d.facebookTag('712832825446307');1103 }1104 1105 if(s.products.indexOf('travel_mobile') > -1) {1106 d.downStreamTag("transaction", "ev_AAMITravel_Mob_Q2=1", "", "", "2243");1107 }1108 if(navigator.userAgent.indexOf("MSIE 7.0") < 0) {1109 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=custo866;cat=quote709;u1=' + s.prop3 + ';u4=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');1110 }1111 }1112 /** AAMI Retrieve Quote **/1113 if(scEventExists('event10')) {1114 if(s.products.indexOf('car_comprehensive') > -1) {1115 d.fireAamiStarcomTag('aamif002','compr470', cachebuster);1116 d.downStreamTag("transaction", "ev_AAMIMobCarInsRetrieveAQuote=1", "", "", "2243");1117 } else if(s.products.indexOf('car_thirdparty') > -1) {1118 d.fireAamiStarcomTag('aamif002','third287', cachebuster);1119 d.downStreamTag("transaction", "ev_AAMIMobThirdPartyCarInsRetrieveAQuote=1", "", "", "2243");1120 } else if(s.products.indexOf('motorcycle_comprehensive') > -1) {1121 d.fireAamiStarcomTag('aamif002','compr323', cachebuster);1122 d.downStreamTag("transaction", "ev_AAMIMobCompMotorcycleInsRetrieveAQuote=1", "", "", "2243");1123 } else if(s.products.indexOf('motorcycle_thirdparty') > -1) {1124 d.fireAamiStarcomTag('aamim344','third900', cachebuster);1125 d.downStreamTag("transaction", "ev_AAMIMobThirdPartyMotorcycleInsRetrieveAQuote=1", "", "", "2243");1126 } else if(s.products.indexOf('home_building_') > -1 || s.products.indexOf('home_contents_') > -1) {1127 d.fireAamiStarcomTag('aamih671','aamih116', cachebuster);1128 d.downStreamTag("transaction", "ev_AAMIMobHomeInsRetrieveAQuote=1", "", "", "2243");1129 } else if(s.products.indexOf('home_fire_&_theft_contents_only') > -1) {1130 d.fireAamiStarcomTag('aamih671','home_268', cachebuster);1131 d.downStreamTag("transaction", "ev_AAMIMobRentersContentsInsRetrieveAQuote=1", "", "", "2243");1132 } else if(s.products.indexOf('landlord_building_&_contents') > -1) {1133 d.fireAamiStarcomTag('aamif002','landl573', cachebuster);1134 d.downStreamTag("transaction", "ev_AAMIMobLLBuilding_ContentsInsRetrieveAQuote=1", "", "", "2243");1135 } else if(s.products.indexOf('landlord_building_only') > -1) {1136 d.fireAamiStarcomTag('aamih671','aamih785', cachebuster);1137 d.downStreamTag("transaction", "ev_AAMIMobLLBuildingInsRetrieveAQuote=1", "", "", "2243");1138 } else if(s.products.indexOf('landlord_contents_only') > -1) {1139 d.fireAamiStarcomTag('aamih671','aamic784', cachebuster);1140 d.downStreamTag("transaction", "ev_AAMIMobLLContentsInsRetrieveAQuote=1", "", "", "2243");1141 }1142 }1143 /** AAMI App Start **/1144 if(scEventExists('event11')) {1145 if(s.products.indexOf('life_protect') > -1 || s.products.indexOf('income_protection') > -1){1146 d.facebookTag('712832825446307');1147 }1148 }1149 /** AAMI Buy Start **/1150 if(scEventExists('event17')) {1151 if(s.products.indexOf('home_') > -1 || s.products.indexOf('landlord_') > -1) {1152 if(s.products.indexOf('home_building_&_contents') > -1) {1153 d.fireAamiStarcomTag('aamih671','aamih116', cachebuster);1154 d.downStreamTag("transaction", "ev_AAMIHomeConA1=1", "", "", "2243");1155 } else if(s.products.indexOf('home_building_only') > -1) {1156 d.fireAamiStarcomTag('aamih671','aamih647', cachebuster);1157 d.downStreamTag("transaction", "ev_AAMIHomeBuildingA1=1", "", "", "2243");1158 } else if(s.products.indexOf('home_contents_only') > -1) {1159 d.fireAamiStarcomTag('aamih671','aamic109', cachebuster);1160 d.downStreamTag("transaction", "ev_AAMIContentsA1=1", "", "", "2243");1161 } else if(s.products.indexOf('landlord_building_') > -1 || s.products.indexOf('landlord_contents_') > -1) {1162 d.fireAamiStarcomTag('aamih671','landl021', cachebuster);1163 d.downStreamTag("transaction", "ev_AAMIHomeLandlordA1=1", "", "", "2243");1164 } else if(s.products.indexOf('home_fire_&_theft_contents_only') > -1) {1165 d.fireAamiStarcomTag('aamih671','home_780', cachebuster);1166 d.downStreamTag("transaction", "ev_AAMIContentsA1=1", "", "", "2243");1167 } 1168 } else if(s.products.indexOf('business') > -1) {1169 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamib983;cat=comme963;ord=1;num=' + cachebuster + '?');1170 d.downStreamTag("transaction", "ev_aamiciappstart=1", "1359", "", "1827");1171 } else if(s.products.indexOf('car') > -1 || s.products.indexOf('motor') > -1) {1172 d.facebookTag('300336300129800');1173 if(s.products.indexOf('car_comprehensive') > -1) {1174 d.fireAamiStarcomTag('aamio191','car-b533', cachebuster);1175 d.downStreamTag("transaction", "ev_AAMIMotorA1=1", "", "", "2243");1176 } else if(s.products.indexOf('car_thirdparty') > -1) {1177 d.fireAamiStarcomTag('aami3347','aami3479', cachebuster);1178 d.downStreamTag("transaction", "ev_AAMIThirdPartyMotorA1=1", "", "", "2243");1179 } else if(s.products.indexOf('motorcycle') > -1) {1180 d.fireAamiStarcomTag('aamim344','motor488', cachebuster);1181 d.downStreamTag("transaction", "ev_AAMIMotorcycleA1=1", "", "", "2243");1182 }1183 }1184 if(s.products.indexOf('travel') > -1) {1185 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamit287;cat=aamit955;ord=1;num=' + cachebuster + '?');1186 }1187 if(navigator.userAgent.indexOf("MSIE 7.0") < 0) {1188 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=custo866;cat=polic975;u1=' + s.prop3 + ';u4=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');1189 }1190 }1191 /** AAMI Buy Complete **/1192 if(scEventExists('event18')) {1193 if(s.products.indexOf('travel') > -1) {1194 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamit404;cat=aamit698;qty=1;cost=' + d.getAmount('event19') + ';ord=' + s.eVar23 + '?');1195 d.downStreamTag("transaction", "ev_AAMITravelBuy=1&ev_AAMITravelBuyRevenue=" + d.getAmount('event19'), "", "", "2243");1196 } else if(s.products.indexOf('home_') > -1 || s.products.indexOf('landlord_') > -1) {1197 d.imageTag('//e.insurance-email.com.au/pub/sf/ResponseForm?_ri_=X0Gzc2X%3DWQpglLjHJlYQGzbPhOyuPYza33W7A8iLs0kzgKzfkjnXUHizcEfVXMtX%3DWQpglLjHJlYQGiykAn8RrAsju31F8FO7UrizfkjnXUHizcEf&_ei_=ErjF0nhrR1KwvaDvAJuhPKc&OrderID=' + s.eVar23 + '&ORDERTOTAL=' + d.getAmount("event19"));1198 if(s.products.indexOf('home_building_&_contents') > -1) {1199 d.fireAamiStarcomPolicyCompleteTag('aamip184','aamih211');1200 d.fireAamiAdlensPolicyCompleteTag("ev_AAMIHomeConBuy=1&ev_AAMIHomeConBuyRevenue=");1201 } else if(s.products.indexOf('home_building_only') > -1) {1202 d.fireAamiStarcomPolicyCompleteTag('aamih616','aamih168');1203 d.fireAamiAdlensPolicyCompleteTag("ev_AAMIHomeBuildingBuy=1&ev_AAMIHomeBuildingBuyRevenue=");1204 } else if(s.products.indexOf('home_contents_only') > -1) {1205 d.fireAamiStarcomPolicyCompleteTag('aamih616','aamic242');1206 d.fireAamiAdlensPolicyCompleteTag("ev_AAMIContentsBuy=1&ev_AAMIContentsBuyRevenue=");1207 } else if(s.products.indexOf('landlord_building_') > -1 || s.products.indexOf('landlord_contents_') > -1) {1208 d.fireAamiStarcomPolicyCompleteTag('aamip184','landl688');1209 d.fireAamiAdlensPolicyCompleteTag("ev_AAMIHomeLandlordBuy=1&ev_AAMIHomeLandlordBuyRevenue=");1210 } else if(s.products.indexOf('home_fire_&_theft_contents_only') > -1) {1211 d.fireAamiStarcomPolicyCompleteTag('aamih671','home_153');1212 d.fireAamiAdlensPolicyCompleteTag("ev_AAMIContentsBuy=1&ev_AAMIContentsBuyRevenue=");1213 } 1214 } else if(s.products.indexOf('business') > -1) {1215 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamib983;cat=comme828;ord=1;num=' + cachebuster + '?');1216 d.downStreamTag("transaction", "ev_aamiciappend=1&ev_aamiciappendvalue=" + d.getAmount('event19'), "1360", "", "1827");1217 d.imageTag('//www.s2d6.com/x/?x=a&h=63758&o=' + s.eVar23 + '&');1218 d.imageTag('//www.s2d6.com/x/?x=r&h=63758&o=' + s.eVar23 + '&g=593529836517&s=1&q=1&');1219 } else if(s.products.indexOf('car') > -1 || s.products.indexOf('motor') > -1) {1220 d.facebookTag('300336300129800');1221 if (s.products.indexOf('motorcycle') == -1) {1222 d.imageTag('//e.insurance-email.com.au/pub/cct?_ri_=X0Gzc2X%3DWQpglLjHJlYQGgfKHDqzbBMEW30Ozf73fdLhW&_ei_=Eq6nmFxgK4wt6n3QD8PBTM0&OrderID=' + s.eVar23 + '&ORDERTOTAL=' + d.getAmount("event19"));1223 }1224 if(s.products.indexOf('car_comprehensive') > -1) {1225 d.fireAamiStarcomPolicyCompleteTag('aamip184','aamic054');1226 d.fireAamiAdlensPolicyCompleteTag("ev_AAMIMotorBuy=1&ev_AAMIMotorBuyRevenue=");1227 } else if(s.products.indexOf('car_thirdparty') > -1) {1228 d.fireAamiStarcomPolicyCompleteTag('aami3347','aami3729');1229 d.fireAamiAdlensPolicyCompleteTag("ev_AAMIThirdPartyMotorBuy=1&ev_AAMIThirdPartyMotorBuyRevenue=");1230 } else if(s.products.indexOf('motorcycle') > -1) {1231 d.fireAamiStarcomPolicyCompleteTag('aamim344','motor780');1232 d.fireAamiAdlensPolicyCompleteTag("ev_AAMIMotorcycleBuyComplete=1&ev_AAMIMotorcycleBuyCompleteRev=");1233 } else if(s.products.indexOf('car_ctp') > -1) {1234 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=aamip184;cat=aamic657;qty=1;cost=' + d.getAmount('event19') + ';ord=' + s.eVar23 + '?');1235 d.downStreamTag("transaction", "ev_AAMICTPNSWBuy=1&ev_AAMICTPNSWBuyRevenue=" + d.getAmount('event19'), "", "", "2243");1236 }1237 } else if(s.products.indexOf('travel_mobile') > -1) {1238 d.downStreamTag("transaction", "ev_AAMITravel_Mob_Buy=1", "", "", "2243");1239 } else if(s.products.indexOf('life_protect') > -1 || s.products.indexOf('income_protection') > -1){1240 d.facebookTag('712832825446307');1241 }1242 if(navigator.userAgent.indexOf("MSIE 7.0") < 0) {1243 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=custo866;cat=polic107;u1=' + s.prop3 + ';u4=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');1244 }1245 }1246 /** make payment */1247 if(s.pageName.indexOf('in:ami:secapp:sales:motor:buy:payment') > -1) {1248 if(s.products.indexOf('car_comprehensive') > -1) {1249 d.fireAamiStarcomTag('aamif002','compr457', cachebuster);1250 d.downStreamTag("transaction", "ev_AAMIMobCarInsMakeAPayment=1", "", "", "2243");1251 } else if(s.products.indexOf('car_thirdparty') > -1) {1252 d.fireAamiStarcomTag('aamif002','third136', cachebuster);1253 d.downStreamTag("transaction", "ev_AAMIMobThirdPartyCarInsMakeAPayment=1", "", "", "2243");1254 }1255 } else if(s.pageName.indexOf('in:ami:secapp:sales:motorcycle:buy:payment') > -1) {1256 if(s.products.indexOf('motorcycle_comprehensive') > -1) {1257 d.fireAamiStarcomTag('aamif002','motor470', cachebuster);1258 d.downStreamTag("transaction", "ev_AAMIMobCompMotorcycleInsMakeAPayment=1", "", "", "2243");1259 } else if(s.products.indexOf('motorcycle_thirdparty') > -1) {1260 d.fireAamiStarcomTag('aamim344','third019', cachebuster);1261 d.downStreamTag("transaction", "ev_AAMIMobThirdPartyMotorcycleInsMakeAPayment=1", "", "", "2243");1262 }1263 } else if(s.pageName.indexOf('in:ami:secapp:sales:home:buy:payment') > -1) {1264 if(s.products.indexOf('home_building_') > -1 || s.products.indexOf('home_contents_') > -1) {1265 d.fireAamiStarcomTag('aamip184','aamih211', cachebuster);1266 d.downStreamTag("transaction", "ev_AAMIMobHomeInsMakeAPayment=1", "", "", "2243");1267 } else if(s.products.indexOf('home_fire_&_theft_contents_only') > -1) {1268 d.fireAamiStarcomTag('aamih671','home_518', cachebuster);1269 d.downStreamTag("transaction", "ev_AAMIMobRentersContentsInsMakeAPayment=1", "", "", "2243");1270 } else if(s.products.indexOf('landlord_building_&_contents') > -1) {1271 d.fireAamiStarcomTag('aamip184','aamih211', cachebuster);1272 d.downStreamTag("transaction", "ev_AAMIMobLLBuilding_ContentsInsMakeAPayment=1", "", "", "2243");1273 } else if(s.products.indexOf('landlord_building_only') > -1) {1274 d.fireAamiStarcomTag('aamih616','aamih168', cachebuster);1275 d.downStreamTag("transaction", "ev_AAMIMobLLBuildingInsMakeAPayment=1", "", "", "2243");1276 } else if(s.products.indexOf('landlord_contents_only') > -1) {1277 d.fireAamiStarcomTag('aamih616','aamic242', cachebuster);1278 d.downStreamTag("transaction", "ev_AAMIMobLLContentsInsMakeAPayment=1", "", "", "2243");1279 }1280 }1281 1282 if(navigator.userAgent.indexOf("MSIE 7.0") < 0) {1283 if(typeof d.protocol != 'undefined' && s.pageName.indexOf('in:ami:business-insurance') < 0 && (d.protocol == 'http:' || s.pageName == 'in:ami:contact-aami:email-aami' || s.pageName == 'in:ami:contact-aami:email-feedback')) {1284 d.downStreamTag("pageview", "", "2204", "2203", "2243");1285 }1286 if(s.pageName.indexOf('in:ami:business-insurance') > -1 && typeof d.protocol != 'undefined' && (d.protocol == 'http:' || s.pageName == 'in:ami:business-insurance:email-aami-business-insurance' || s.pageName == 'in:ami:business-insurance:feedback' || s.pageName == 'in:ami:business-insurance:quote-request')) {1287 d.downStreamTag("pageview", "", "2200", "2199", "1827");1288 }1289 if(s.eVar61) {1290 d.iframeTag('//fls.doubleclick.net/activityi;src=875382;type=custo866;cat=visit014;u5=' + s.eVar62 + ';u1=' + s.prop3 + ';u2=' + s.eVar61 + ';u3=' + escape(document.referrer) + ';u4=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');1291 }1292 }1293 }1294 /** APIA Tags **/1295 if(d.shouldFireAgencyTagsFor('sunapia')) { /** APIA Brochureware Tags **/1296 d.gRemarketing('1029881151','H4MnCLmcjwQQv_qK6wM',window.google_tag_params,true);1297 /**Bella pixel+js tagging for 240**/1298 if(s.pageName == 'in:apa:apia:contact-us') {1299 d.downStreamTag("pageview", "", "8481", "", "1589");1300 d.gRemarketing('959521971','',window.google_tag_params,true);1301 }1302 if(s.pageName == 'in:apa:apia:homepage-brand'){1303 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiah645;ord=1;num=' + cachebuster + '?');1304 }1305 if(s.pageName == 'in:apa:apia:health-insurance'){1306 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=APIAH0;cat=APIAH0;ord=1;num=' + cachebuster + '?');1307 var freeCallBtnEle = d.getElementsByClassName('btn2 call-back secure-popup')[0];1308 if(freeCallBtnEle){1309 freeCallBtnEle.onclick = function(){1310 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=APIAH0;cat=APIAH002;ord=1;num=' + cachebuster + '?');1311 d.imageTag('//pixel.everesttech.net/2247/t?ev_apia_health_callback=1');1312 };1313 }1314 }1315 if(s.pageName == 'in:apa:apia:mobile:health-insurance'){1316 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=APIAH0;cat=APIAH001;ord=1;num=' + cachebuster + '?');1317 }1318 if(s.pageName == 'in:apa:apia:health-insurance:more-information'){1319 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=APIAH0;cat=APIAH00;ord=1;num=' + cachebuster + '?');1320 }1321 if(s.pageName == 'in:apa:apia:home-insurance:home') {1322 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiah246;ord=1;num=' + cachebuster + '?');1323 }1324 if(s.pageName == 'in:apa:apia:home-insurance:apartment') {1325 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiah757;ord=1;num=' + cachebuster + '?');1326 }1327 if(s.pageName == 'in:apa:apia:home-insurance:village') {1328 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiah710;ord=1;num=' + cachebuster + '?');1329 }1330 if(s.pageName == 'in:apa:apia:home-insurance:assisted-living') {1331 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiah081;ord=1;num=' + cachebuster + '?');1332 }1333 if(s.pageName == 'in:apa:apia:home-insurance:landlord') {1334 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiah669;ord=1;num=' + cachebuster + '?');1335 }1336 if(s.pageName == 'in:apa:apia') {1337 d.downStreamTag("pageview", "", "2795", "2794", "1589");1338 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiah645;ord=1;num=' + cachebuster + '?');1339 d.gRemarketing('959521971','',window.google_tag_params,true);1340 d.gRemarketing('1002075787','',window.google_tag_params,true);1341 }1342 if(s.pageName == 'in:apa:apia:end-amazing-getaway-competition') {1343 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apia-372;ord=1;num=' + cachebuster + '?');1344 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apia-110;ord=1;num=' + cachebuster + '?');1345 }1346 if(s.pageName == 'in:apa:apia:quote-terms-conditions') {1347 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiaq659;ord=1;num=' + cachebuster + '?');1348 }1349 if(s.pageName == 'in:apa:apia:boat-insurance') {1350 d.downStreamTag("pageview", "", "2811", "2810", "1589");1351 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiab704;ord=1;num=' + cachebuster + '?');1352 d.downStreamTag("transaction", "ev_APIABoatProductPage=1", "", "", "2247");1353 d.gRemarketing('1002075787','',window.google_tag_params,true);1354 }1355 if(s.pageName == 'in:apa:apia:caravan-insurance') {1356 d.downStreamTag("pageview", "", "2801", "2800", "1589");1357 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiac712;ord=1;num=' + cachebuster + '?');1358 d.downStreamTag("transaction", "ev_APIAMotorCaravanProductPage=1", "", "", "2247");1359 d.gRemarketing('1002075787','',window.google_tag_params,true);1360 }1361 if(s.pageName == 'in:apa:apia:motorhome-insurance') {1362 d.downStreamTag("pageview", "", "2804", "2803", "1589");1363 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiam178;ord=1;num=' + cachebuster + '?');1364 d.downStreamTag("transaction", "ev_APIAMotorhomeProductPage=2", "", "", "2247");1365 d.gRemarketing('1002075787','',window.google_tag_params,true);1366 }1367 if(s.pageName == 'in:apa:apia:nsw-ctp-green-slip-insurance') {1368 d.downStreamTag("pageview", "", "2799", "2798", "1589");1369 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiac020;ord=1;num=' + cachebuster + '?');1370 d.gRemarketing('1002075787', '',window.google_tag_params, true);1371 }1372 if(s.pageName == 'in:apa:apia:home-insurance') {1373 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiah758;ord=1;num=' + cachebuster + '?');1374 d.downStreamTag("transaction", "ev_APIAHomeProductPage=1", "", "", "2247");1375 d.downStreamTag("pageview","","2793","2792","1589");1376 d.gRemarketing('959521971', '',window.google_tag_params, true);1377 d.gRemarketing('1002075787', '',window.google_tag_params, true);1378 }1379 if(s.pageName == 'in:apa:apia:village-insurance') {1380 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiah832;ord=1;num=' + cachebuster + '?');1381 d.downStreamTag("transaction", "ev_APIAHomeVillageProductPage=1", "", "", "2247");1382 }1383 if(s.pageName == 'in:apa:apia:apartment-insurance') {1384 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiah606;ord=1;num=' + cachebuster + '?');1385 d.downStreamTag("transaction", "ev_APIAHomeApartmentProductPage=1", "", "", "2247");1386 }1387 if(s.pageName == 'in:apa:apia:assisted-living-residence-insurance') {1388 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiah408;ord=1;num=' + cachebuster + '?');1389 d.downStreamTag("transaction", "ev_APIAHomeAsstLivingProductPage=1", "", "", "2247");1390 d.downStreamTag("transaction", "ev_APIAHomeAsstLivingQ1=1", "", "", "2247");1391 }1392 if(s.pageName == 'in:apa:apia:landlord-insurance') {1393 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiah649;ord=1;num=' + cachebuster + '?');1394 d.downStreamTag("transaction", "ev_APIAHomeLandlordProductPage=1", "", "", "2247");1395 }1396 if(s.pageName == 'in:apa:apia:car-insurance') {1397 d.downStreamTag("pageview", "", "2797", "2796", "1589");1398 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiam602;ord=1;num=' + cachebuster + '?');1399 d.downStreamTag("transaction", "ev_APIAMotorProductPage=1", "", "", "2247");1400 d.gRemarketing('1002075787', '',window.google_tag_params, true);1401 }1402 if(s.pageName == 'in:apa:apia:travel-insurance') {1403 d.downStreamTag("pageview", "", "2813", "2812", "1589");1404 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiat581;ord=1;num=' + cachebuster + '?');1405 d.downStreamTag("transaction", "ev_APIATravelProductPage=1", "", "", "2247");1406 d.gRemarketing('1002075787', '',window.google_tag_params, true);1407 }1408 if(s.pageName == 'in:apa:apia:thank-you-generic') {1409 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=pereg657;ord=1;num=' + cachebuster + '?');1410 d.downStreamTag("transaction", "ev_APIACarAdvantageGenEND=1", "", "", "2247", "pixel2247.everesttech.net");1411 }1412 if(s.pageName == 'in:apa:apia:home-insurance-selector') {1413 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiah482;ord=1;num=' + cachebuster + '?');1414 }1415 if(s.pageName == 'in:apa:apia:get-insurance-quote') {1416 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiag395;ord=1;num=' + cachebuster + '?');1417 }1418 if(s.pageName == 'in:apa:apia:car-advantage-campaign-car') {1419 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apial957;ord=1;num=' + cachebuster + '?');1420 d.downStreamTag("transaction", "ev_APIACarAdvantageCarSTART=1", "", "", "2247", "pixel2247.everesttech.net");1421 }1422 if(s.pageName == 'in:apa:apia:thank-you-car') {1423 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=hkkbv125;ord=1;num=' + cachebuster + '?');1424 d.downStreamTag("transaction", "ev_APIACarAdvantageCarEND=1", "", "", "2247", "pixel2247.everesttech.net");1425 }1426 if(s.pageName == 'in:apa:secapp:boat:form:boat_owner_details') {1427 d.downStreamTag("transaction", "ev_APIABoatQ1=1", "", "", "2247", "pixel2247.everesttech.net");1428 }1429 if(s.pageName == 'in:apa:secapp:boat:form:form_completed') {1430 d.downStreamTag("transaction", "ev_APIABoatQ2=1&ev_APIABoatQ2Revenue=1", "", "", "2247", "pixel2247.everesttech.net");1431 }1432 if(s.pageName == 'in:apa:apia:car-advantage-campaign-gen') {1433 d.downStreamTag("transaction", "ev_APIACarAdvantageGenSTART=1", "", "", "2247", "pixel2247.everesttech.net");1434 }1435 if(s.pageName == 'in:apa:apia:car-advantage-campaign-home') {1436 d.downStreamTag("transaction", "ev_APIACarAdvantageHomeSTART=1", "", "", "2247", "pixel2247.everesttech.net");1437 }1438 if(s.pageName == 'in:apa:apia:thank-you-home') {1439 d.downStreamTag("transaction", "ev_APIACarAdvantageHomeEND=1", "", "", "2247", "pixel2247.everesttech.net");1440 }1441 if(s.pageName == 'in:apa:apia:renew-your-policy') {1442 d.downStreamTag("pageview", "", "2817", "2816", "1589");1443 }1444 if(s.pageName == 'in:apa:secapp::selfservice:login') {1445 d.downStreamTag("pageview", "", "2815", "2814", "1589");1446 }1447 if(s.pageName == 'in:apa:apia:home-insurance-index') {1448 d.downStreamTag("pageview", "", "2793", "2792", "1589");1449 }1450 if(s.pageName == 'in:apa:apia:funeral-plan') {1451 d.downStreamTag("pageview", "", "2807", "2806", "1589");1452 d.gRemarketing('959521971','',window.google_tag_params,true);1453 d.gRemarketing('1002075787','',window.google_tag_params,true);1454 }1455 if(s.pageName == 'in:apa:apia:make-claim') {1456 d.downStreamTag("pageview", "", "2819", "2818", "1589");1457 }1458 if(s.pageName == 'in:apa:apia:injury-support-plan-insurance') {1459 d.downStreamTag("pageview", "", "2809", "2808", "1589");1460 d.gRemarketing('959521971','',window.google_tag_params,true);1461 d.gRemarketing('1002075787','',window.google_tag_params,true);1462 }1463 if(s.pageName == 'in:apa:apia:secure:readersdigestrequestaquote') {1464 d.iframeTag('//fls.doubleclick.net/activityi;src=4080583;type=APIAF0;cat=Sunco0;ord=1;num=' + cachebuster + '?');1465 }1466 if(s.pageName == 'in:apa:apia:funeral-plan') {1467 d.iframeTag('//fls.doubleclick.net/activityi;src=4080583;type=APIAF0;cat=Sunco00;ord=1;num=' + cachebuster + '?');1468 }/** APIA Quote Start **/1469 if(scEventExists('event8')) {1470 if(s.products.indexOf('car_') > -1 || ((typeof s.eVar48 != 'undefined') && s.eVar48.indexOf('car') > -1 && s.eVar48.indexOf('caravan') < 0)) {1471 if(s.products.indexOf('car_ctp') > -1) {1472 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiac748;ord=1;num=' + cachebuster + '?');1473 d.downStreamTag("transaction", "ev_APIACTPQuote=1", "", "", "2247");1474 } else {1475 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiam026;ord=1;num=' + cachebuster + '?');1476 d.downStreamTag("transaction", "ev_APIAMotorQ1=1", "", "", "2247");1477 }1478 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=custo820;cat=quote495;u1=' + s.prop3 + ';u4=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');1479 }1480 if(s.products.indexOf('home_') > -1 || ((typeof s.eVar48 != 'undefined') && (s.eVar48 == 'home'))) {1481 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiah482;ord=1;num=' + cachebuster + '?');1482 //for SiteCat-871483 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apia-284;ord=1;num=' + cachebuster + '?');1484 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=custo820;cat=homeq727;u1=' + s.prop3 + ';u4=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');1485 if(s.products.indexOf('village') > -1) {1486 d.downStreamTag("transaction", "ev_APIAHomeVillageQ1=1", "", "", "2247");1487 } else if(s.products.indexOf('landlord') > -1) {1488 d.downStreamTag("transaction", "ev_APIAHomeLandlordQ1=1", "", "", "2247");1489 } else if(s.products.indexOf('apartment') > -1) {1490 d.downStreamTag("transaction", "ev_APIAHomeApartmentQ1=1", "", "", "2247");1491 } else if(s.products.indexOf('assisted') > -1){1492 d.downStreamTag("transaction","ev_APIAHomeAsstLivingQ1=1","","","2247");1493 } else {1494 d.downStreamTag("transaction", "ev_APIAHomeQ1=1", "", "", "2247");1495 }1496 }1497 if(s.products.indexOf('caravan') > -1 || (typeof s.eVar48 != 'undefined') && (s.eVar48.indexOf('caravan') > -1)) {1498 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiac662;ord=1;num=' + cachebuster + '?');1499 d.downStreamTag("transaction", "ev_APIAMotorCaravanQ1=1", "", "", "2247");1500 }1501 if(s.products.indexOf('boat') > -1 || ((typeof s.eVar48 != 'undefined') && s.eVar48.indexOf('boat')) > -1) {1502 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiab572;ord=1;num=' + cachebuster + '?');1503 }1504 if(s.products.indexOf('motorhome_comprehensive') > -1 || ((typeof s.eVar48 != 'undefined') && s.eVar48.indexOf('motorhome') > -1)) {1505 d.downStreamTag("transaction", "ev_APIAMotorhomeQ1=1", "", "", "2247");1506 }1507 } /** APIA Quote Complete **/1508 if(scEventExists('event9')) {1509 if(s.products.indexOf('car_') > -1) {1510 if(s.products.indexOf('car_ctp') > -1) {1511 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiac055;ord=1;num=' + cachebuster + '?');1512 d.downStreamTag("transaction", "ev_APIACTPQuoteRevenue=" + d.getAmount('event14'), "", "", "2247");1513 } else {1514 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiam262;ord=1;num=' + cachebuster + '?');1515 d.downStreamTag("transaction", "ev_APIAMotorQ2=1&ev_APIAMotorQ2Revenue=" + d.getAmount('event14'), "", "", "2247");1516 }1517 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=custo820;cat=quote772;u1=' + s.prop3 + ';u4=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');1518 }1519 if(s.products.indexOf('caravan') > -1) {1520 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiac384;ord=1;num=' + cachebuster + '?');1521 d.downStreamTag("transaction", "ev_APIAMotorCaravanQ2=1&ev_APIAMotorCaravanQ2Revenue=" + d.getAmount('event14'), "", "", "2247");1522 }1523 if(s.products.indexOf('boat') > -1) {1524 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiab956;ord=1;num=' + cachebuster + '?');1525 d.downStreamTag("transaction", "ev_APIABoatQ2Revenue=" + d.getAmount('event14'), "", "", "2247");1526 }1527 if(s.products.indexOf('motorhome_comprehensive') > -1) {1528 d.downStreamTag("transaction", "ev_APIAMotorhomeQ2=1&ev_APIAMotorhomeQ2Revenue=" + d.getAmount('event14'), "", "", "2247");1529 }1530 if(s.products.indexOf('home_') > -1) {1531 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiah427;ord=1;num=' + cachebuster + '?');1532 //for SiteCat-871533 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apia-733;ord=1;num=' + cachebuster + '?');1534 if(s.products.indexOf('apartment') > -1) {1535 d.downStreamTag("transaction", "ev_APIAHomeApartmentQ2=1&ev_APIAHomeApartmentQ2Revenue=" + d.getAmount('event14'), "", "", "2247");1536 } else if(s.products.indexOf('landlord') > -1) {1537 d.downStreamTag("transaction", "ev_APIAHomeLandlordQ2=1&ev_APIAHomeLandlordQ2Revenue=" + d.getAmount('event14'), "", "", "2247");1538 } else if(s.products.indexOf('village') > -1) {1539 d.downStreamTag("transaction", "ev_APIAHomeVillageQ2=1&ev_APIAHomeVillageQ2Revenue=" + d.getAmount('event14'), "", "", "2247");1540 } else if(s.products.indexOf('assisted') > -1) {1541 d.downStreamTag("transaction", "ev_APIAHomeAsstLivingQ2=1&ev_APIAHomeAsstLivingQ2Revenue=" + d.getAmount('event14'), "", "", "2247");1542 } else if(s.products.indexOf('home_buildingcontents') > -1) {1543 d.downStreamTag("transaction", "ev_APIAHomeQ2=1&ev_APIAHomeQ2Revenue=" + d.getAmount('event14'), "", "", "2247");1544 } else if(s.products.indexOf('buildingcontents') > -1) {1545 d.downStreamTag("transaction", "ev_APIAHomeQ2=1&ev_APIAHomeQ2Revenue=" + d.getAmount('event14'), "", "", "2247");1546 }1547 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=custo820;cat=homeq608;u1=' + s.prop3 + ';u4=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');1548 }1549 } /** APIA Buy Start **/1550 if(scEventExists('event17')) {1551 if(s.products.indexOf('car_') > -1) {1552 if(s.products.indexOf('car_ctp') > -1) {1553 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiac494;ord=1;num=' + cachebuster + '?');1554 } else {1555 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apia-810;ord=1;num=' + cachebuster + '?');1556 }1557 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=custo820;cat=polic085;u1=' + s.prop3 + ';u4=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');1558 }1559 if(s.products.indexOf('boat') > -1) {1560 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apia-706;ord=1;num=' + cachebuster + '?');1561 }1562 if(s.products.indexOf('motorhome_comprehensive') > -1) {1563 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiam559;ord=1;num=' + cachebuster + '?');1564 }1565 if(s.products.indexOf('home_') > -1) {1566 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=custo820;cat=homep802;u1=' + s.prop3 + ';u4=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');1567 }1568 } /** APIA Buy Complete **/1569 if(scEventExists('event18')) {1570 if(s.products.indexOf('car_') > -1) {1571 d.imageTag('//e.insurance-email.com.au/pub/cct?_ri_=X0Gzc2X%3DWQpglLjHJlYQGnWAEXpINRnzdcmDl2UKyKbO&_ei_=EvbUXkjoD--8aucJKqIf7XA&OrderID='+ s.eVar23 +'&ORDERTOTAL=' + d.getAmount('event19'));1572 if(s.products.indexOf('car_ctp') > -1) {1573 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiac633;ord=1;num=' + cachebuster + '?');1574 d.downStreamTag("transaction", "ev_APIACTPBuy=" + d.getAmount('event19'), "", "", "2247");1575 d.downStreamTag("transaction", "ev_APIACTPBuyRevenue=" + d.getAmount('event19'), "", "", "2247");1576 } else {1577 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apia-808;ord=1;num=' + cachebuster + '?');1578 d.downStreamTag("transaction", "ev_APIAMotorBuy=1&ev_APIAMotorBuyRevenue=" + d.getAmount('event19'), "", "", "2247");1579 }1580 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=custo820;cat=polic310;u1=' + s.prop3 + ';u4=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');1581 }1582 if(s.products.indexOf('caravan') > -1) {1583 d.downStreamTag("transaction", "ev_APIAMotorCaravanBuy=1&ev_APIAMotorCaravanBuyRevenue=" + d.getAmount('event19'), "", "", "2247");1584 }1585 if(s.products.indexOf('boat') > -1) {1586 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apia-014;ord=1;num=' + cachebuster + '?');1587 }1588 if(s.products.indexOf('motorhome_comprehensive') > -1) {1589 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiam121;ord=1;num=' + cachebuster + '?');1590 }1591 if(s.products.indexOf('home_') > -1) {1592 d.imageTag('//e.insurance-email.com.au/pub/sf/ResponseForm?_ri_=X0Gzc2X%3DWQpglLjHJlYQGgnkW1HCbsyp5zeSIzbuWrzcugoa6qIWRVXMtX%3DWQpglLjHJlYQGhezbJqcRYTCJFhWhHl9R1tBsTzan&_ei_=Ej7lPxiuT7xuPNoswa1UsDs&OrderID='+ s.eVar23 +'&ORDERTOTAL=' + d.getAmount('event19'));1593 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=custo820;cat=homep506;u1=' + s.prop3 + ';u4=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');1594 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apia-733;ord=1;num=' + cachebuster + '?');1595 if(s.products.indexOf('assisted') > -1) {1596 d.downStreamTag("transaction", "ev_APIAHomeAsstLivingBuy=1&ev_APIAHomeAsstLivingBuyRevenue=" + d.getAmount('event19'), "", "", "2247");1597 } else if(s.products.indexOf('village') > -1) {1598 d.downStreamTag("transaction", "ev_APIAHomeVillageBuy=1&ev_APIAHomeVillageBuyRevenue=" + d.getAmount('event19'), "", "", "2247");1599 } else if(s.products.indexOf("apartment") > -1) {1600 d.downStreamTag("transaction", "ev_APIAHomeApartmentBuy=1&ev_APIAHomeApartmentBuyRevenue=" + d.getAmount('event19'), "", "", "2247");1601 } else if(s.products.indexOf('landlord') > -1) {1602 d.downStreamTag("transaction", "ev_APIAHomeLandlordBuy=1&ev_APIAHomeLandlordBuyRevenue=" + d.getAmount('event19'), "", "", "2247");1603 } else {1604 d.downStreamTag("transaction", "ev_APIAHomeBuy=1&ev_APIAHomeBuyRevenue=" + d.getAmount('event19'), "", "", "2247");1605 }1606 }1607 }1608 if(typeof d.protocol != 'undefined' && (d.protocol == 'http:' || s.pageName == 'in:apa:apia:enquire-online')) {1609 d.downStreamTag("pageview", "", "2206", "", "2247");1610 }1611 if(s.eVar61) {1612 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=custo820;cat=custo080;u1=' + s.prop3 + ';u2=' + s.eVar61 + ';u5=' + s.eVar62 + ';u3=' + escape(document.referrer) + ';u4=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');1613 }1614 }1615 /** Bingle Tags **/1616 if(d.shouldFireAgencyTagsFor('sunbingle')) { /** Bingle Brochureware Tags **/1617 1618 d.gRemarketing('1031891490','h593CLD28QMQotSF7AM',window.google_tag_params,true);1619 if(s.pageName == 'in:bin:car_insurance:homepage-b' || s.pageName == 'in:bin:car_insurance:homepage-c') {1620 d.iframeTag('//1635365.fls.doubleclick.net/activityi;src=1635365;type=bingl903;cat=bingl556;ord=1;num=' + cachebuster + '?');1621 }1622 if(s.pageName == 'in:bin:car_insurance:suncorp') {1623 d.iframeTag('//fls.doubleclick.net/activityi;src=1635365;type=bingl903;cat=bingl538;ord=1;num=' + cachebuster + '?');1624 }1625 if(s.pageName == 'in:bin:car_insurance:homepage') {1626 d.iframeTag('//fls.doubleclick.net/activityi;src=1635365;type=bingl903;cat=bingl556;ord=1;num=' + cachebuster + '?');1627 d.downStreamTag("transaction", "ev_BingleHomePage=1", "1947", "", "2244");1628 }1629 if(s.pageName === 'in:bin:car_insurance:about-bingle' || s.pageName === 'in:bin:car_insurance:why-bingle') {1630 d.iframeTag('//fls.doubleclick.net/activityi;src=1635365;type=bingl903;cat=bingl219;ord=1;num=' + cachebuster + '?');1631 }1632 if(s.pageName == 'in:bin:car_insurance:comprehensive-car-insurance-105-day') {1633 d.iframeTag('//fls.doubleclick.net/activityi;src=1635365;type=bingl903;cat=bingl101;ord=1;num=' + cachebuster + '?');1634 }1635 if(s.pageName == 'in:bin:car_insurance:car_insurance_victoria' || s.pageName == 'in:bin:car_insurance:car_insurance_nsw' || s.pageName == 'in:bin:car_insurance:save' || s.pageName == 'in:bin:car_insurance:comprehensive-car-insurance-150-day' || s.pageName == 'in:bin:car_insurance:98save' || s.pageName == 'in:bin:car_insurance:nsw_ctp' || s.pageName == 'in:bin:car_insurance:ford' || s.pageName == 'in:bin:car_insurance:hyundai' || s.pageName == 'in:bin:car_insurance:mazda' || s.pageName == 'in:bin:car_insurance:honda' || s.pageName == 'in:bin:car_insurance:toyota' || s.pageName == 'in:bin:car_insurance:nissan' || s.pageName == 'in:bin:car_insurance:mitsubishi' || s.pageName == 'in:bin:car_insurance:holden' || s.pageName == 'in:bin:car_insurance:subaru') {1636 d.iframeTag('//fls.doubleclick.net/activityi;src=1635365;type=semla805;cat=semla270;ord=1;num=' + cachebuster + '?');1637 if(s.pageName == 'in:bin:car_insurance:save'){1638 d.iframeTag('//fls.doubleclick.net/activityi;src=1635365;type=bingl903;cat=avera564;ord=1;num=' + cachebuster + '?');1639 }1640 } /** Bingle Quote Start **/1641 if(scEventExists('event8')) {1642 d.iframeTag('//fls.doubleclick.net/activityi;src=1635365;type=bingl903;cat=quick621;ord=1;num=' + cachebuster + '?');1643 d.downStreamTag("transaction", "ev_BingleQuickPolicyStart=1", "1952", "", "2244");1644 d.iframeTag('//fls.doubleclick.net/activityi;src=1635365;type=custo426;cat=quote791;u2=' + s.prop3 + ';u5=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');1645 d.facebookTag('300336300129800');1646 } /** Bingle Quote Complete **/1647 if(scEventExists('event9')) {1648 d.iframeTag('//fls.doubleclick.net/activityi;src=1635365;type=bingl938;cat=quick076;qty=1;cost=' + d.getAmount('event14') + ';ord=' + s.eVar22 + '?');1649 d.downStreamTag("transaction", "ev_BingleQuickPolicyComplete=1&ev_BingleQuickPolicyCompleteRev=" + d.getAmount('event14'), "1949", "", "2244");1650 d.iframeTag('//fls.doubleclick.net/activityi;src=1635365;type=custo426;cat=quote803;u2=' + s.prop3 + ';u5=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');1651 d.includeAS('//apps.rokt.com/?id=24c1c4f17dff4b0d9b2f3b3d1353a09a&bhid=24c1c4f17dff4b0d9b2f3b3d1353a09a-b&Page=Quote&hidewidget=y&v=' + Math.floor(Math.random() * 999));1652 d.facebookTag('300336300129800');1653 } /** Bingle Buy Start **/1654 if(scEventExists('event17')) {1655 d.iframeTag('//fls.doubleclick.net/activityi;src=1635365;type=bingl903;cat=buypo666;ord=1;num=' + cachebuster + '?');1656 d.downStreamTag("transaction", "ev_BingleBuyPolicyStart=1", "1950", "", "2244");1657 d.downStreamTag("transaction", "ev_BingleQuickPolicyStart=1", "", "", "2244");1658 d.iframeTag('//fls.doubleclick.net/activityi;src=1635365;type=custo426;cat=polic589;u2=' + s.prop3 + ';u5=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');1659 d.facebookTag('300336300129800');1660 } /** Bingle Buy Complete **/1661 if(scEventExists('event18')) {1662 d.imageTag('//e.insurance-email.com.au/pub/cct?_ri_=X0Gzc2X%3DWQpglLjHJlYQGtRTDzbfirow0H1LJmzeLmAlO&_ei_=Eo1Nk-8CcPPCIKYZVQTDi6U&OrderID='+ s.eVar23 +'&ORDERTOTAL=' + d.getAmount('event19'));1663 d.imageTag('//www.s2d6.com/x/?x=sp&h=50819&o=' + s.eVar23 + '&g=865732312299&s=' + d.getAmount('event19') + '&q=1');1664 d.iframeTag('//fls.doubleclick.net/activityi;src=1635365;type=bingl938;cat=buypo339;qty=1;cost=' + d.getAmount('event19') + ';ord=' + s.eVar23 + '?');1665 d.downStreamTag("transaction", "ev_BinglePolicyComplete=1&ev_BinglePolicyCompleteRev=" + d.getAmount('event19'), "1951", "", "2244");1666 d.iframeTag('//fls.doubleclick.net/activityi;src=1635365;type=custo426;cat=polic288;u2=' + s.prop3 + ';u5=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');1667 d.includeAS('//apps.rokt.com/?id=24c1c4f17dff4b0d9b2f3b3d1353a09a&bhid=24c1c4f17dff4b0d9b2f3b3d1353a09a-b&Page=Policy&hidewidget=y&v=' + Math.floor(Math.random() * 999));1668 d.facebookTag('300336300129800');1669 }1670 // Bingle1671 if(typeof d.protocol != 'undefined' && d.protocol == 'http:') {1672 d.downStreamTag("pageview", "", "2208", "2207", "2244");1673 }1674 if(s.eVar61) {1675 d.iframeTag('//fls.doubleclick.net/activityi;src=1635365;type=custo426;cat=visit009;u3=' + s.eVar61 + ';u2=' + s.prop3 + ';u6=' + s.eVar62 + ';u5=' + escape(document.location.href) + ';u4=' + escape(document.referrer) + ';ord=1;num=' + cachebuster + '?');1676 }1677 } /** Bingle Facebook App Tags **/1678 if(d.shouldFireAgencyTagsFor('sunbinglefacebook')) {1679 if(s.pageName == 'in:bin:fbapp:home') {1680 d.iframeTag('//fls.doubleclick.net/activityi;src=1635365;type=afltr520;cat=bingl075;ord=1;num=' + cachebuster + '?');1681 }1682 if(scEventExists('event55')) {1683 d.iframeTag('//fls.doubleclick.net/activityi;src=1635365;type=afltr520;cat=bingl736;ord=1;num=' + cachebuster + '?');1684 d.downStreamTag("transaction", "ev_BingleComp=1", "", "", "2244");1685 }1686 } /** GIO Tags **/1687 if(d.shouldFireAgencyTagsFor('sungio')) { /** GIO Brochureware Tags **/1688 d.gRemarketing('1066334314','PgETCLbSsAQQ6vC7_AM',window.google_tag_params,true);1689 1690 if(s.pageName.length > 0 && s.pageName.indexOf('secapp') < 0){ 1691 //Add the piTag for GIO BW pages1692 d.aInclude(('https:' == document.location.protocol ? 'https://pi' : 'http://cdn') + '.pardot.com/pd.js');1693 }1694 if (s.pageName == 'in:gio:Always On:lpdm') {1695 d.downStreamTag("transaction", "ev_GIOFDRCompetitionEntryStart_WithPolicyNo=1", "", "", "1485");1696 d.gRemarketing('1052874292','4UILCOrFzgQQtKyG9gM',window.google_tag_params,true);1697 }1698 if (s.pageName == 'in:gio:Always On:Thanks [no lead]') {1699 d.downStreamTag("transaction", "ev_GIOFDRCompetitionEntryEnd_WithPolicyNo=1", "", "", "1485");1700 d.downStreamTag("transaction", "ev_GIOFDRCompetitionEntryEnd_WithoutPolicyNo=1", "", "", "1485");1701 d.downStreamTag("transaction", "ev_GIOFDRCompetitionEntryEnd=1", "", "", "1485");1702 d.gRemarketing('1052874292','4UILCOrFzgQQtKyG9gM',window.google_tag_params,true);1703 } 1704 if (s.pageName == 'in:gio:Always On:aq') {1705 d.downStreamTag("transaction", "ev_GIOFDRCompetitionEntryStart_WithoutPolicyNo=1", "", "", "1485");1706 d.downStreamTag("transaction", "ev_GIOFDRCompetitionEntryStart=1", "", "", "1485");1707 d.gRemarketing('1052874292','4UILCOrFzgQQtKyG9gM',window.google_tag_params,true);1708 }1709 if (s.pageName == 'in:gio:Always On:Terms') {1710 d.gRemarketing('1052874292','4UILCOrFzgQQtKyG9gM',window.google_tag_params,true);1711 }1712 if(s.pageName == 'in:gio:homepage') {1713 d.iframeTag('//fls.doubleclick.net/activityi;src=2168465;type=busin432;cat=homep366;ord=1;num=' + cachebuster + '');1714 d.downStreamTag("pageview", "", "1079", "1078", "1485", "pixel1485.everesttech.net");1715 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=homep855;cat=gioho037;ord=' + cachebuster + '');1716 d.gAdService('1007225733', 'en', '3', 'ffffff', 'CbEHCJvAzAIQhZek4AM', '0');1717 }1718 if(s.pageName == 'in:gio:mobile:home') {1719 d.iframeTag('//ad.au.doubleclick.net/activity;src=1753472;type=homep855;cat=giomo945;ord=1;num=' + cachebuster + '');1720 }1721 if(s.pageName == 'in:gio:get-a-quote') {1722 d.downStreamTag("pageview", "", "1085", "1084", "1485", "pixel1485.everesttech.net");1723 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=brand713;cat=getaq939;ord=1;num=' + cachebuster + '?');1724 }1725 if(s.pageName.indexOf("in:gio:business-insurance") > -1 && location.protocol == "http:") {1726 d.imageTag('//ad.au.doubleclick.net/activity;src=1302792;type=count739;cat=actio241;ord=1;num=' + cachebuster + '?');1727 d.iframeTag('//fls.au.doubleclick.net/activityi;src=2168465;type=busin432;cat=busin306;ord=1;num=' + cachebuster + '?');1728 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=busin032;ord=1;num=' + cachebuster + '?');1729 }1730 if(s.pageName == 'in:gio:nsw-ctp-green-slip') {1731 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=ctpgr267;cat=ctpla926;ord=1;num=' + cachebuster + '?');1732 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=ctpnw095;cat=ctpin566;ord=1;num=' + cachebuster + '?');1733 }1734 if(s.pageName == 'in:gio:home-insurance:55up-home-contents') {1735 d.iframeTag('//ad.doubleclick.net/activity;src=1041465;type=gioho349;cat=55uph361;ord=' + cachebuster + '?');1736 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=homep972;cat=55uph656;ord=1;num=' + cachebuster + '?');1737 }1738 if(s.pageName == 'in:gio:home-insurance:home-contents-insurance') {1739 d.iframeTag('//fls.doubleclick.net/activityi;src=1789374;type=homem555;cat=homep749;ord=1;num=' + cachebuster + '?');1740 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=homep972;cat=class221;ord=1;num=' + cachebuster + '?');1741 }1742 if(s.pageName == 'in:gio:home-insurance') {1743 d.iframeTag('//fls.doubleclick.net/activityi;src=1789374;type=homem555;cat=homep847;ord=1;num=' + cachebuster + '?');1744 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=homep972;cat=homei392;ord=1;num=' + cachebuster + '?');1745 d.gAdService('1007225733', 'en', '3', 'ffffff', 'fMK7CLvLzAIQhZek4AM', '0');1746 }1747 if(s.pageName.indexOf('in:gio:car-insurance:comprehensive-car-insurance') > -1) {1748 d.iframeTag('//fls.au.doubleclick.net/activityi;src=1789298;type=motor352;cat=motor709;ord=1;num=' + cachebuster + '?');1749 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=motor462;cat=compr050;ord=1;num=' + cachebuster + '?');1750 }1751 if(s.pageName.indexOf('in:gio:car-insurance:platinum-car-insurance') > -1) {1752 d.iframeTag('//fls.au.doubleclick.net/activityi;src=1753472;type=motor462;cat=motor999;ord=1;num=' + cachebuster + '?');1753 }1754 if(s.pageName.indexOf('in:gio:branch-locator') > -1 || s.pageName.indexOf('in:gio:motor-vehicle-assessment-centres') > -1 || s.pageName.indexOf('in:gio:agency-listing') > -1) {1755 d.iframeTag('//ad.au.doubleclick.net/activity;src=1041465;type=giofb205;cat=branc209;ord=' + cachebuster + '?');1756 }1757 if(s.pageName.indexOf('in:gio:home-insurance:landlord-insurance') > -1) {1758 d.iframeTag('//ad.doubleclick.net/activity;src=1041465;type=gioho349;cat=inves733;ord=' + cachebuster + '?');1759 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=homep972;cat=inves532;ord=1;num=' + cachebuster + '?');1760 }1761 if(s.pageName == 'in:gio:car-insurance') {1762 d.iframeTag('//fls.doubleclick.net/activityi;src=1789298;type=motor352;cat=motor709;ord=1;num=' + cachebuster + '?');1763 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=motor462;cat=motor023;ord=1;num=' + cachebuster + '?');1764 d.gAdService('1007225733', 'en', '3', 'ffffff', '4bJoCIvCzAIQhZek4AM', '0');1765 }1766 if(s.pageName == 'in:gio:promotions') {1767 d.iframeTag('//fls.au.doubleclick.net/activityi;src=2168465;type=busin432;cat=promo319;ord=1;num=' + cachebuster + '?');1768 }1769 if(s.pageName == 'in:gio:about-us') {1770 d.iframeTag('//ad.doubleclick.net/activity;src=1041465;type=gioho349;cat=about591;ord=' + cachebuster + '?');1771 }1772 if(s.pageName == 'in:gio:nsw-ctp-green-slip' || s.pageName == 'in:gio:car-insurance:ctp-greenslip-quote:quote_started') {1773 d.downStreamTag("pageview", "", "1081", "1080", "1485", "pixel1485.everesttech.net");1774 d.gAdService('1007225733', 'en', '3', 'ffffff', 'bff_CIPDzAIQhZek4AM', '0');1775 }1776 if(s.pageName == 'in:gio:lp:CTP:landing page') {1777 d.imageTag('//pixel.everesttech.net/1485/t?ev_GIO_CTP_CheckStart=1&ev_transid=' + s.getSessionID());1778 }1779 if(s.pageName == 'in:gio:lp:CTP:Eligible_$50-Confirmation') {1780 d.imageTag('//pixel.everesttech.net/1485/t?ev_GIO_CTP_PolicyComp=1&ev_transid=' + s.getSessionID());1781 }1782 if(s.pageName == 'in:gio:car-insurance' || s.pageName == 'in:gio:car-insurance:comprehensive-car-insurance' || s.pageName == 'in:gio:car-insurance:third-party-car-insurance' || s.pageName == 'in:gio:car-insurance:car-quote-terms:quote_started' || s.pageName == 'in:gio:car-insurance:third-party-property-damage-insurance') {1783 d.downStreamTag("pageview", "", "1083", "1082", "1485", "pixel1485.everesttech.net");1784 }1785 if(s.pageName == 'in:gio:car-insurance:third-party-property-damage-insurance') {1786 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=motor462;cat=firet153;ord=1;num=' + cachebuster + '?');1787 }1788 if(s.pageName == 'in:gio:car-insurance:third-party-car-insurance') {1789 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=motor462;cat=3rdpa347;ord=1;num=' + cachebuster + '?');1790 }1791 if(s.pageName == 'in:gio:business-insurance:commercial-vehicle-insurance') {1792 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=motor462;cat=comme190;ord=1;num=' + cachebuster + '?');1793 }1794 if(s.pageName == 'in:gio:home-insurance:platinum-home-contents') {1795 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=homep972;cat=plati937;ord=1;num=' + cachebuster + '?');1796 }1797 if(s.pageName == 'in:gio:home-insurance:top-strata-residential-insurance') {1798 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=homep972;cat=topst040;ord=1;num=' + cachebuster + '?');1799 }1800 if(s.pageName == 'in:gio:home-insurance:insurance-calculators') {1801 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=insur200;cat=insur310;ord=1;num=' + cachebuster + '?');1802 }1803 if(s.pageName == 'in:gio:travel-insurance') {1804 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=trave310;cat=trave662;ord=1;num=' + cachebuster + '?');1805 }1806 if(s.pageName == 'in:gio:travel-insurance:holiday-travel-insurance') {1807 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=trave310;cat=holid671;ord=1;num=' + cachebuster + '?');1808 }1809 if(s.pageName == 'in:gio:travel-insurance:annual-multi-trip-travel-insurance') {1810 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=trave310;cat=multi830;ord=1;num=' + cachebuster + '?');1811 }1812 if(s.pageName == 'in:gio:boat-caravan-insurance') {1813 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=boatc113;cat=boatc768;ord=1;num=' + cachebuster + '?');1814 }1815 if(s.pageName == 'in:gio:boat-caravan-insurance:boat-insurance') {1816 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=boatc113;cat=boati228;ord=1;num=' + cachebuster + '?');1817 }1818 if(s.pageName == 'in:gio:boat-caravan-insurance:trailer-insurance') {1819 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=boatc113;cat=carav738;ord=1;num=' + cachebuster + '?');1820 }1821 if(s.pageName == 'in:gio:business-insurance:small-businesses-insurance') {1822 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=small341;ord=1;num=' + cachebuster + '?');1823 }1824 if(s.pageName == 'in:gio:business-insurance:trade-insurance') {1825 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=trade966;ord=1;num=' + cachebuster + '?');1826 }1827 if(s.pageName == 'in:gio:business-insurance:public-liability-insurance') {1828 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=publi161;ord=1;num=' + cachebuster + '?');1829 }1830 if(s.pageName == 'in:gio:business-insurance:professionals-insurance') {1831 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=busin099;ord=1;num=' + cachebuster + '?');1832 }1833 if(s.pageName == 'in:gio:business-insurance:emergency-response-cover') {1834 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=Busin0;ord=1;num=' + cachebuster + '?');1835 }1836 if(s.pageName == 'in:gio:business-insurance:quote-request'){1837 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=busin681;ord=1;num=' + cachebuster + '?');1838 }1839 if(s.pageName == 'in:gio:business-insurance:quote-request:thank-you'){1840 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=Busin00;ord=1;num=' + cachebuster + '?');1841 }1842 if(s.pageName == 'in:gio:business-insurance'){1843 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=busin032;ord=1;num=' + cachebuster + '?');1844 }1845 if(s.pageName == 'in:gio:business-knowledge-centre'){1846 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=Busin000;ord=1;num=' + cachebuster + '?');1847 }1848 if(s.pageName == 'in:gio:business-insurance:commercial-vehicle-insurance'){1849 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=Comme0;ord=1;num=' + cachebuster + '?');1850 }1851 if(s.pageName == 'in:gio:business-insurance:hospitality-insurance'){1852 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=hospi712;ord=1;num=' + cachebuster + '?');1853 }1854 if(s.pageName == 'in:gio:business-insurance:local-business-insurance-specialist'){1855 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=Local0;ord=1;num=' + cachebuster + '?');1856 }1857 if(s.pageName == 'in:gio:business-insurance:not-for-profit-insurance'){1858 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=notfo099;ord=1;num=' + cachebuster + '?');1859 }1860 if(s.pageName == 'in:gio:business-insurance:professional-indemnity-insurance'){1861 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=Profe0;ord=1;num=' + cachebuster + '?');1862 }1863 if(s.pageName == 'in:gio:business-insurance:professionals-insurance'){1864 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=busin099;ord=1;num=' + cachebuster + '?');1865 }1866 if(s.pageName == 'in:gio:business-insurance:public-liability-insurance'){1867 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=publi161;ord=1;num=' + cachebuster + '?');1868 }1869 if(s.pageName == 'in:gio:business-insurance:retail-insurance'){1870 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=retai276;ord=1;num=' + cachebuster + '?');1871 }1872 if(s.pageName == 'in:gio:business-insurance:small-business-insurance'){1873 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=small341;ord=1;num=' + cachebuster + '?');1874 }1875 if(s.pageName == 'in:gio:business-insurance:trade-insurance'){1876 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=trade966;ord=1;num=' + cachebuster + '?');1877 }1878 if(s.pageName == 'in:gio:business-insurance:truck-insurance'){1879 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=Truck0;ord=1;num=' + cachebuster + '?');1880 }1881 if(s.pageName == 'in:gio:secapp:business_enquiry:form:form_completed') {1882 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=busin681;ord=1;num=' + cachebuster + '?');1883 }1884 if(s.pageName == 'in:gio:business-insurance:hospitality-insurance') {1885 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=hospi712;ord=1;num=' + cachebuster + '?');1886 }1887 if(s.pageName == 'in:gio:business-insurance:retail-insurance') {1888 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=retai276;ord=1;num=' + cachebuster + '?');1889 }1890 if(s.pageName == 'in:gio:business-insurance:not-for-profit-insurance') {1891 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=notfo099;ord=1;num=' + cachebuster + '?');1892 }1893 if(s.pageName == 'in:gio:personal-life-insurance') {1894 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=lifel821;cat=lifei850;ord=1;num=' + cachebuster + '?');1895 d.downStreamTag("pageview", "", "5857", "", "1589", "pixel.everesttech.net");1896 d.gRemarketing('959521971','',window.google_tag_params,true);1897 d.gRemarketing('1013406781','',window.google_tag_params,true);1898 }1899 if(s.pageName == 'in:gio:personal-life-insurance:life-protection-insurance') {1900 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=lifel821;cat=lifep065;ord=1;num=' + cachebuster + '?');1901 d.downStreamTag("pageview", "", "5865", "", "1589", "pixel.everesttech.net");1902 d.gRemarketing('959521971','',window.google_tag_params,true);1903 }1904 if(s.pageName == 'in:gio:personal-life-insurance:funeral-insurance') {1905 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=lifel821;cat=funer760;ord=1;num=' + cachebuster + '?');1906 d.downStreamTag("pageview", "", "5873", "", "1589", "pixel.everesttech.net");1907 d.gRemarketing('959521971','',window.google_tag_params,true);1908 }1909 if(s.pageName == 'in:gio:personal-life-insurance:accidental-injury-insurance') {1910 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=lifel821;cat=accid313;ord=1;num=' + cachebuster + '?');1911 d.downStreamTag("pageview", "", "5881", "", "1589", "pixel.everesttech.net");1912 d.gRemarketing('959521971','',window.google_tag_params,true);1913 d.gRemarketing('1013406781','',window.google_tag_params,true);1914 }1915 if(s.pageName == 'in:gio:personal-life-insurance:accidental-death-insurance') {1916 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=lifel821;cat=accid336;ord=1;num=' + cachebuster + '?');1917 }1918 if(s.pageName == 'in:gio:workers-compensation-insurance:quote-request') {1919 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=worke613;ord=1;num=' + cachebuster + '?');1920 }1921 if(s.pageName == 'in:gio:workers-compensation-insurance:quote-request:thank-you') {1922 d.downStreamTag("transaction", "ev_GIOCI_WCOnlineFormEnd=1", "", "", "1827");1923 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=worke552;ord=' + cachebuster + '?');1924 }1925 if(s.pageName == 'in:gio:insurance:campaigns:better-protection') {1926 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=brand713;cat=bette517;ord=1;num=' + cachebuster + '?');1927 }1928 if(s.pageName == 'in:gio:car-insurance:campaigns:2yearprice') {1929 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=brand713;cat=2year075;ord=1;num=' + cachebuster + '?');1930 }1931 if(s.pageName == 'in:gio:secapp:motor:quote:vehicle_details') {1932 if(s.products.indexOf('car_comprehensive') > -1) {1933 d.iframeTag('//fls.doubleclick.net/activityi;src=1789298;type=motor352;cat=q1beg962;ord=1;num=' + cachebuster + '?');1934 d.downStreamTag("transaction", "ev_motorquote1=1", "", "", "1485");1935 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=quote936;cat=carqu109;ord=1;num=' + cachebuster + '?');1936 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=custo128;cat=car-s441;u3=' + s.prop3 + ';u6=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');1937 }1938 }1939 if(s.pageName == 'in:gio:mobile:secapp:ctp:quote:quote_started') {1940 d.downStreamTag("transaction", "ev_gioctp_quotestart_mob=1", "1416", "1415", "1485");1941 d.iframeTag('//ad.au.doubleclick.net/activity;src=1753472;type=quote936;cat=ctpqu304;ord=1;num=' + cachebuster + '?');1942 d.gAdService('1007225733', 'en', '3', 'ffffff', 'fEoqCLPMzAIQhZek4AM', '0');1943 }1944 if(s.pageName == 'in:gio:business-insurance:quote-request:thank-you') {1945 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=busin681;ord=1;num=' + cachebuster + '?');1946 }1947 if(s.pageName == 'in:gio:car-insurance:ways-to-save')1948 {1949 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=brand713;cat=Wayst0;ord=1;num=' + cachebuster + '?');1950 }1951 if(s.pageName == 'in:gio:home-insurance:ways-to-save')1952 {1953 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=homep972;cat=Wayst0;ord=1;num=' + cachebuster + '?');1954 }1955 //for SiteCat-941956 if(s.pageName == 'in:gio:platinum-car-insurance-campaign-4' || s.pageName == 'in:gio:platinum-car-insurance-campaign-3' || s.pageName == 'in:gio:car-insurance:campaigns:car-insurance-sem-lp') {1957 d.gAdService("1007225733", "en", "3", "ffffff", "PniSCNPXzAIQhZek4AM", "0");1958 }1959 if(s.pageName == 'in:gio:nsw-ctp-green-slip:campaigns:sem1' || s.pageName == 'in:gio:nsw-ctp-green-slips:campaigns:green-slip-without-blind-spots') {1960 d.gAdService("1007225733", "en", "3", "ffffff", "Sa6PCJPuzAIQhZek4AM", "0");1961 }1962 if(s.pageName == 'in:gio:home-insurance:campaigns:sem1' || s.pageName == 'in:gio:home-insurance:campaigns:sem2') {1963 d.gAdService("1007225733", "en", "3", "ffffff", "qQVGCOvyzAIQhZek4AM", "0");1964 }1965 if(s.pageName == 'in:gio:make-a-claim') {1966 d.gAdService("1007225733", "en", "3", "ffffff", "KPi0CKPR5AIQhZek4AM", "0");1967 }1968 //end of SiteCat-941969 1970 /** GIO Quote Start **/1971 if(scEventExists('event8')) {1972 if(s.products.indexOf('car_') > -1) {1973 d.bazaarvoiceTags('quote_start');1974 }1975 if(s.products.indexOf('car_ctp') > -1) {1976 d.downStreamTag("transaction", "ev_gioctp_quotestart=1", "1416", "1415", "1485");1977 d.downStreamTag("transaction", "ev_gioctp_quotestart_mob=1", "1416", "1415", "1485");1978 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=quote936;cat=ctpqu649;ord=1;num=' + cachebuster + '?');1979 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=custo128;cat=ctpqu942;u3=' + s.prop3 + ';u6=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');1980 d.gAdService('1007225733', 'en', '3', 'ffffff', '1aqCCJPQzAIQhZek4AM', '0');1981 }1982 if(s.products.indexOf('home_') > -1 || ((typeof s.eVar48 != 'undefined') && s.eVar48.indexOf('home') > -1)) {1983 d.iframeTag('//fls.doubleclick.net/activityi;src=1789374;type=homem555;cat=quote676;ord=1;num=' + cachebuster + '?');1984 d.downStreamTag("transaction", "ev_homequote1=1", "", "", "1485");1985 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=quote936;cat=homeq008;ord=1;num=' + cachebuster + '?');1986 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=custo128;cat=homeq733;u3=' + s.prop3 + ';u6=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');1987 d.gAdService('1007225733', 'en', '3', 'ffffff', 'GPH5CPPTzAIQhZek4AM', '0');1988 }1989 if(s.products.indexOf('travel') > -1 || ((typeof s.eVar48 != 'undefined') && s.eVar48.indexOf('travel') > -1)) {1990 d.downStreamTag("transaction", "ev_GioTvlQuoteStart=1", "", "", "1485");1991 }1992 if(s.products.indexOf('car_platinum') > -1) {1993 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=quote936;cat=plati705;ord=1;num=' + cachebuster + '?');1994 }1995 if(s.products.indexOf('car_comprehensive') > -1) {1996 d.gAdService('1007225733', 'en', '3', 'ffffff', 'fEoqCLPMzAIQhZek4AM', '0');1997 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=quote936;cat=carqu109;ord=1;num=' + cachebuster + '?');1998 d.downStreamTag("transaction", "ev_motorquote1=1", "", "", "1485");1999 }2000 } /** GIO Quote Complete **/2001 if(scEventExists('event9')) {2002 if(s.products.indexOf('car_') > -1) {2003 d.bazaarvoiceTags('quote_completed');2004 }2005 if(s.products.indexOf('car_comprehensive') > -1) {2006 d.iframeTag('//fls.doubleclick.net/activityi;src=1789298;type=motor352;cat=q9quo601;ord=1;num=' + cachebuster + '?');2007 d.downStreamTag("transaction", "ev_motorquote2=1&ev_GioMotorInsQuoteEndValue=" + d.getAmount('event14'), "", "", "1485");2008 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=quote936;cat=carqu404;ord=1;num=' + cachebuster + '?');2009 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=custo128;cat=carqu632;u3=' + s.prop3 + ';u6=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');2010 d.gAdService('1007225733', 'en', '3', 'ffffff', 'ePqRCKvNzAIQhZek4AM', '0');2011 }2012 if(s.products.indexOf('car_platinum') > -1) {2013 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=quote936;cat=plati338;ord=1;num=' + cachebuster + '?');2014 }2015 if(s.products.indexOf('car_ctp') > -1) {2016 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=ctpgr434;cat=q2-qu398;qty=1;cost=' + d.getAmount('event14') + ';ord=' + s.eVar22 + '?');2017 d.downStreamTag("transaction", "ev_gioctp_quoteend=1&ev_gioctpquotevalue=" + d.getAmount('event14'), "1417", "", "1485");2018 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=quote936;cat=ctpqu553;ord=1;num=' + cachebuster + '?');2019 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=custo128;cat=homeq777;u3=' + s.prop3 + ';u6=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');2020 d.gAdService('1007225733', 'en', '3', 'ffffff', 'Bx0RCIvRzAIQhZek4AM', '0');2021 }2022 if(s.products.indexOf('home_') > -1) {2023 d.iframeTag('//fls.doubleclick.net/activityi;src=1789374;type=homem555;cat=quote777;ord=1;num=' + cachebuster + '?');2024 d.downStreamTag("transaction", "ev_homequote2=1&ev_GioHomeInsQuoteEndValue=" + d.getAmount('event14'), "", "", "1485");2025 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=quote936;cat=homeq415;ord=1;num=' + cachebuster + '?');2026 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=custo128;cat=ctpqu942;u3=' + s.prop3 + ';u6=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');2027 d.gAdService('1007225733', 'en', '3', 'ffffff', 'czBXCOvUzAIQhZek4AM', '0');2028 }2029 if(s.products.indexOf('travel') > -1) {2030 d.downStreamTag("transaction", "ev_GioTvlQuoteEnd=1&ev_GioTvlQuoteRevenue=" + d.getAmount('event14'), "", "", "1485");2031 }2032 if(s.pageName == 'in:gio:mobile:secapp:ctp:quote:quote_completed') {2033 d.downStreamTag("transaction", "ev_gioctp_quoteend_mob=1&ev_gioctpquotevalue_mob=" + d.getAmount('event14'), "1417", "", "1485");2034 d.iframeTag('//ad.au.doubleclick.net/activity;src=1753472;type=quote936;cat=gioct008;ord=1;num=' + cachebuster + '?');2035 }2036 } /** GIO Buy Start **/2037 if(scEventExists('event17')) {2038 if(s.products.indexOf('car_') > -1) {2039 d.bazaarvoiceTags('buy_start');2040 }2041 if(s.products.indexOf('car_comprehensive') > -1) {2042 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=polic782;cat=carpo369;ord=1;num=' + cachebuster + '?');2043 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=custo128;cat=carpo203;u3=' + s.prop3 + ';u6=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');2044 d.gAdService('1007225733', 'en', '3', 'ffffff', '2vcpCKPOzAIQhZek4AM', '0');2045 }2046 if(s.products.indexOf('car_ctp') > -1) {2047 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=ctpgr267;cat=purch095;ord=' + cachebuster + '?');2048 d.downStreamTag("transaction", "ev_gioctp_appstart=1", "1418", "", "1485");2049 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=polic782;cat=ctppo956;ord=1;num=' + cachebuster + '?');2050 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=custo128;cat=homep467;u3=' + s.prop3 + ';u6=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');2051 d.gAdService('1007225733', 'en', '3', 'ffffff', 'BocUCIPSzAIQhZek4AM', '0');2052 }2053 if(s.products.indexOf('home_') > -1) {2054 d.downStreamTag("transaction", "ev_homeapply1=1", "", "", "1485");2055 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=polic782;cat=homep366;ord=1;num=' + cachebuster + '?');2056 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=custo128;cat=ctpqu942;u3=' + s.prop3 + ';u6=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');2057 d.gAdService('1007225733', 'en', '3', 'ffffff', 'mtM_COPVzAIQhZek4AM', '0');2058 }2059 if(s.products.indexOf('car_platinum') > -1) {2060 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=polic782;cat=motor126;ord=1;num=' + cachebuster + '?');2061 }2062 if(s.products.indexOf('travel') > -1) {2063 d.downStreamTag("transaction", "ev_GioTvlAppStart=1", "", "", "1485");2064 }2065 if(s.pageName == 'in:gio:mobile:secapp:ctp:buy:buy_started') {2066 d.downStreamTag("transaction", "ev_gioctp_appstart_mob=1", "1418", "", "1485");2067 d.iframeTag('//ad.doubleclick.net/activity;src=1753472;type=polic782;cat=ctppo882;ord=1;num=' + cachebuster + '?');2068 }2069 } /** GIO Buy Complete **/2070 if(scEventExists('event18')) {2071 if(s.products.indexOf('car_') > -1) {2072 d.bazaarvoiceTags('buy_completed');2073 d.imageTag('//e.insurance-email.com.au/pub/sf/ResponseForm?_ri_=X0Gzc2X%3DWQpglLjHJlYQGsjo5pcNROcDMizbYCWseIntX6GvAI8Tzc9nVXMtX%3DWQpglLjHJlYQGmK4j5U6f6m3A9MhrNE9zajKX6GvAI8Tzc9n&_ei_=Eo1Kj-EhekH0lTAPIeBhu14&ORDERTOTAL='+ s.eVar23 +'&ORDERTOTAL=' + d.getAmount('event19'));2074 }2075 if(s.products.indexOf('car_comprehensive') > -1) {2076 d.iframeTag('//fls.doubleclick.net/activityi;src=1789298;type=polic661;cat=app7p683;qty=1;cost=' + d.getAmount('event19') + ';u2=' + s.eVar23 + ';ord=' + s.eVar23 + '?');2077 d.downStreamTag("transaction", "ev_motorbuy=1&ev_motororderval=" + d.getAmount('event19'), "", "", "1485");2078 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=polic782;cat=carpo240;ord=1;num=' + cachebuster + '?');2079 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=custo128;cat=carpo857;u3=' + s.prop3 + ';u6=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');2080 d.gAdService('1007225733', 'en', '3', 'ffffff', 'hmpdCJvPzAIQhZek4AM', '0');2081 }2082 if(s.products.indexOf('car_ctp') > -1) {2083 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=ctpgr434;cat=purch432;qty=1;cost=' + d.getAmount('event19') + ';ord=' + s.eVar23 + '?');2084 d.downStreamTag("transaction", "ev_ctpbuy=1&ev_ctporderval=" + d.getAmount('event19'), "1419", "", "1485");2085 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=polic782;cat=ctppo669;ord=1;num=' + cachebuster + '?');2086 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=custo128;cat=homep842;;u3=' + s.prop3 + ';u6=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');2087 d.gAdService('1007225733', 'en', '3', 'ffffff', 'jTi7CPvSzAIQhZek4AM', '0');2088 }2089 if(s.products.indexOf('car_platinum') > -1) {2090 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=polic782;cat=motor633;ord=1;num=' + cachebuster + '?');2091 }2092 if(s.products.indexOf('home_') > -1) {2093 d.iframeTag('//fls.doubleclick.net/activityi;src=1789374;type=polic348;cat=app7p409;qty=1;cost=' + d.getAmount('event19') + ';u1=' + d.getAmount('event19') + ';u2=' + s.eVar23 + ';ord=' + s.eVar23 + '?');2094 d.downStreamTag("transaction", "ev_homeapply2=1&ev_homeappval=" + d.getAmount('event19'), "", "", "1485");2095 d.downStreamTag("transaction", "ev_homebuy=1&ev_homeordereval=" + d.getAmount('event19'), "", "", "1485");2096 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=polic782;cat=homep845;ord=1;num=' + cachebuster + '?');2097 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=custo128;cat=ctpqu942;u3=' + s.prop3 + ';u6=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');2098 d.gAdService('1007225733', 'en', '3', 'ffffff', '21CoCNvWzAIQhZek4AM', '0');2099 }2100 if(s.products.indexOf('travel') > -1) {2101 d.downStreamTag("transaction", "ev_GioTvlAppPurchase=1&ev_GioTvlAppRevenue=" + d.getAmount('event19'), "", "", "1485");2102 }2103 if(s.pageName == 'in:gio:mobile:secapp:ctp:buy:buy_completed') {2104 d.downStreamTag("transaction", "ev_ctpbuy_mob=1&ev_ctporderval_mob=" + d.getAmount('event19'), "1419", "", "1485");2105 d.iframeTag('//ad.au.doubleclick.net/activity;src=1753472;type=polic782;cat=ctppo628;ord=1;num=' + cachebuster + '?');2106 }2107 }2108 if(s.pageName.indexOf('in:gio:business-insurance') < 0 && s.pageName.indexOf('in:gio:workers-compensation-insurance') < 0 && typeof d.protocol != 'undefined' && d.protocol == 'http:') {2109 d.downStreamTag("pageview", "", "2196", "2195", "1485");2110 }2111 if(s.pageName.indexOf('in:gio:business-insurance') > -1 && typeof d.protocol != 'undefined' && d.protocol == 'http:') {2112 d.downStreamTag("pageview", "", "2200", "2199", "1827");2113 }2114 if(s.pageName.indexOf('in:gio:workers-compensation-insurance') > -1 && typeof d.protocol != 'undefined' && d.protocol == 'http:') {2115 d.downStreamTag("pageview", "", "2200", "2199", "1827");2116 if(s.pageName != 'in:gio:workers-compensation-insurance:quote-request:thank-you') {2117 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=busin038;cat=worke182;ord=1;num=' + cachebuster + '?');2118 }2119 }2120 if(s.eVar61) {2121 d.iframeTag('//fls.doubleclick.net/activityi;src=1753472;type=custo128;cat=visit162;u4=' + s.eVar61 + ';u3=' + s.prop3 + ';u7=' + s.eVar62 + ';u6=' + escape(document.location.href) + ';u5=' + escape(document.referrer) + ';ord=1;num=' + cachebuster + '?');2122 }2123 } /** IMR Tags **/2124 if(d.shouldFireAgencyTagsFor('suninsuremyride')) { /** IMR Brochureware Tags **/2125 if(s.pageName == 'in:imr:homepage') {2126 d.downStreamTag("transaction", "ev_IMRHomePage=1", "", "", "2218");2127 //for SiteCat-732128 d.imageTag('http://www.googleadservices.com/pagead/conversion/1030509047/?value=0&label=3uu5CMOhwAMQ96Ox6wM&guid=ON&script=0');2129 }2130 //for SiteCat-732131 if(s.pageName == 'in:imr:insurance:lp:comprehensive' || s.pageName == 'in:imr:insurance:lp:one-dollar' || s.pageName == 'in:imr:insurance:lp:all-products') {2132 d.imageTag('http://www.googleadservices.com/pagead/conversion/1030509047/?value=0&label=3uu5CMOhwAMQ96Ox6wM&guid=ON&script=0');2133 }2134 if(s.pageName == 'in:imr:imr:nsw-ctp-green-slip-insurance:quote_started') {2135 d.imageTag('http://www.googleadservices.com/pagead/conversion/1030509047/?value=0&label=lhfbCLuiwAMQ96Ox6wM&guid=ON&script=0');2136 }2137 if(s.pageName == 'in:imr:secapp:motorcycle:selfservice:selfservice:loginOrRegister' || s.pageName == 'in:imr:imr:make-claim') {2138 d.imageTag('http://www.googleadservices.com/pagead/conversion/1030509047/?value=0&label=Sm5fCLOjwAMQ96Ox6wM&guid=ON&script=0');2139 }2140 if(s.pageName == 'in:imr:secapp:motorcycle:quote:quote_started') {2141 d.imageTag('http://www.googleadservices.com/pagead/conversion/1030509047/?value=0&label=mGGfCKukwAMQ96Ox6wM&guid=ON&script=0');2142 }2143 if(s.pageName == 'in:imr:secapp:motorcycle:quote:quote_completed' && scEventExists('event9')) {2144 d.imageTag('http://www.googleadservices.com/pagead/conversion/1030509047/?value=0&label=yPj7CKOlwAMQ96Ox6wM&guid=ON&script=0');2145 }2146 if(s.pageName == 'in:imr:secapp:motorcycle:buy:buy_started') {2147 d.imageTag('http://www.googleadservices.com/pagead/conversion/1030509047/?value=0&label=XETiCJumwAMQ96Ox6wM&guid=ON&script=0');2148 }2149 if(s.pageName == 'in:imr:secapp:motorcycle:buy:buy_completed') {2150 d.imageTag('http://www.googleadservices.com/pagead/conversion/1030509047/?value=0&label=6G33CJOnwAMQ96Ox6wM&guid=ON&script=0');2151 }2152 //end of SiteCat-732153 if(s.pageName == 'in:imr:mobile') {2154 d.iframeTag('//fls.doubleclick.net/activityi;src=2340099;type=insur971;cat=imrmo559;ord=1;num=' + cachebuster + '?');2155 }2156 /** IMR Quote Start **/2157 if(scEventExists('event8')) {2158 if(s.products.indexOf('ctp') > -1) {2159 d.iframeTag('//fls.doubleclick.net/activityi;src=2340099;type=insur971;cat=ctpqu125;ord=1;num=' + cachebuster + '?');2160 d.downStreamTag("transaction", "ev_IMRCTPQuoteStart=1", "", "", "2218");2161 } else {2162 d.iframeTag('//fls.doubleclick.net/activityi;src=2340099;type=insur971;cat=imrqu505;ord=1;num=' + cachebuster + '?');2163 d.downStreamTag("transaction", "ev_IMRBikeQuoteStart=1", "", "", "2218");2164 }2165 } /** IMR Quote Complete **/2166 if(scEventExists('event9')) {2167 if(s.products.indexOf('ctp') > -1) {2168 d.iframeTag('//fls.doubleclick.net/activityi;src=2340099;type=insur561;cat=ctpqu075;qty=1;cost=' + d.getAmount('event14') + ';ord=' + s.eVar22 + '?');2169 d.downStreamTag("transaction", "ev_IMRCTPQ2=1", "", "", "2218");2170 } else {2171 d.iframeTag('//fls.doubleclick.net/activityi;src=2340099;type=insur561;cat=bikeq894;qty=1;cost=' + d.getAmount('event14') + ';ord=' + s.eVar22 + '?');2172 d.downStreamTag("transaction", "ev_IMRBikeQuoteComplete=1&ev_IMRBikeQuoteRevenue=" + d.getAmount('event14'), "", "", "2218");2173 }2174 } /** IMR Buy Start **/2175 if(scEventExists('event17')) {2176 if(s.products.indexOf('ctp') > -1) {2177 d.iframeTag('//fls.doubleclick.net/activityi;src=2340099;type=insur971;cat=ctppo409;ord=1;num=' + cachebuster + '?');2178 d.downStreamTag("transaction", "ev_IMRCTPBuyStart=1", "", "", "2218");2179 } else {2180 d.iframeTag('//fls.doubleclick.net/activityi;src=2340099;type=insur971;cat=bikeb850;ord=1;num=' + cachebuster + '?');2181 d.downStreamTag("transaction", "ev_IMRBikeBuyPolicyStart=1", "", "", "2218");2182 }2183 } /** IMR Buy Complete **/2184 if(scEventExists('event18')) {2185 if(s.products.indexOf('ctp') > -1) {2186 d.imageTag('//e.insurance-email.com.au/pub/cct?_ri_=X0Gzc2X%3DWQpglLjHJlYQGoaje8FHNEo2zdwWaiyw1zdfk&_ei_=Er-BG2RYhvRVKIA781ujpcI&OrderID='+ s.eVar23 +'&ORDERTOTAL=' + d.getAmount('event19'));2187 d.iframeTag('//fls.doubleclick.net/activityi;src=2340099;type=insur561;cat=ctppo247;qty=1;cost=' + d.getAmount('event19') + ';ord=' + s.eVar23 + '?');2188 d.downStreamTag("transaction", "ev_IMRCTPBuyEnd=1&ev_IMRBuyPolicyRevenue=" + d.getAmount('event19'), "", "", "2218");2189 } else {2190 d.imageTag('//www.s2d6.com/x/?x=sp&h=62474&o=' + s.eVar23 + '&g=394373132212&s=' + d.getAmount('event19') + '&q=1');2191 d.iframeTag('//fls.doubleclick.net/activityi;src=2340099;type=insur561;cat=bikeb016;qty=1;cost=' + d.getAmount('event19') + ';ord=' + s.eVar23 + '?');2192 d.downStreamTag("transaction", "ev_IMRBikeBuyPolicyComplete=1&ev_IMRBikeBuyPolicyRevenue=" + d.getAmount('event19'), "", "", "2218");2193 }2194 }2195 if(typeof d.protocol != 'undefined' && (d.protocol == 'http:' || s.pageName == 'in:imr:imr:help:need-help' || s.pageName == 'in:imr:imr:contact-us')) {2196 d.downStreamTag("pageview", "", "2210", "2209", "2218");2197 d.iframeTag('//fls.doubleclick.net/activityi;src=2340099;type=insur971;cat=imrho297;ord=1;num=' + cachebuster + '?');2198 }2199 } /** Just Car Tags **/2200 if(d.shouldFireAgencyTagsFor('sunjustcar')) { /** Just Car Brochureware Tags **/2201 if(s.pageName == 'in:jci:homepage') {2202 d.iframeTag('//fls.doubleclick.net/activityi;src=1017099;type=justc188;cat=homep313;ord=' + cachebuster + '?');2203 d.iframeTag('//fls.doubleclick.net/activityi;src=1017099;type=justc188;cat=hsvpr387;ord=1;num=' + cachebuster + '?');2204 d.downStreamTag("transaction", "ev_JCIMotorHomePage=1", "", "", "2246");2205 //for SiteCat-732206 d.imageTag('http://www.googleadservices.com/pagead/conversion/1049034812/?value=0&label=d8vYCMD50AMQvICc9AM&guid=ON&script=0');2207 }2208 if(s.pageName == 'in:jci:talk-to-us.asp') {2209 d.iframeTag('//fls.doubleclick.net/activityi;src=1017099;type=justc188;cat=conta546;ord=' + cachebuster + '?');2210 }2211 //for SiteCat-732212 if(s.pageName == 'in:jci:car-insurance-claims') {2213 d.imageTag('http://www.googleadservices.com/pagead/conversion/1049034812/?value=0&label=sQMBCKj80AMQvICc9AM&guid=ON&script=0');2214 }2215 /** Just Car Quote Start **/2216 if(scEventExists('event8')) {2217 d.iframeTag('//fls.doubleclick.net/activityi;src=1017099;type=justc188;cat=start507;ord=1;num=' + cachebuster + '?');2218 d.downStreamTag("transaction", "ev_JCIMotorQ1=1", "", "", "2246");2219 //for SiteCat-732220 d.imageTag('http://www.googleadservices.com/pagead/conversion/1049034812/?value=0&label=a4c5CLj60AMQvICc9AM&guid=ON&script=0');2221 } /** Just Car Quote Complete **/2222 if(scEventExists('event9')) {2223 d.iframeTag('//fls.doubleclick.net/activityi;src=1017099;type=justc188;cat=jciqo881;ord=1;num=' + cachebuster + '?');2224 d.downStreamTag("transaction", "ev_JCIMotorQ2=1&ev_JCIMotorQ2Rev=" + d.getAmount('event14'), "", "", "2246");2225 //for SiteCat-732226 d.imageTag('http://www.googleadservices.com/pagead/conversion/1049034812/?value=0&label=HknyCLD70AMQvICc9AM&guid=ON&script=0');2227 } /** Just Car Buy Start **/2228 if(scEventExists('event17')) {2229 d.iframeTag('//fls.doubleclick.net/activityi;src=1017099;type=justc188;cat=endof645;ord=1;num=' + cachebuster + '?');2230 //for SiteCat-732231 d.imageTag('http://www.googleadservices.com/pagead/conversion/1049034812/?value=0&label=55JFCKD90AMQvICc9AM&guid=ON&script=0');2232 } /** Just Car Buy Complete **/2233 if(scEventExists('event18')) {2234 d.imageTag('//e.insurance-email.com.au/pub/cct?_ri_=X0Gzc2X%3DWQpglLjHJlYQGowN5DNJ9j4s2N7uzf6NzdLwG&_ei_=Eu3byc48flTPoV-wFNOd984&OrderID='+ s.eVar23 +'&ORDERTOTAL=' + d.getAmount('event19'));2235 d.iframeTag('//fls.doubleclick.net/activityi;src=1017099;type=justc188;cat=jcibu917;ord=1;num=' + cachebuster + '?');2236 d.imageTag('//www.s2d6.com/x/?x=sp&h=62474&o=' + s.eVar23 + '&g=394373132212&s=' + d.getAmount('event19') + '&q=1');2237 d.downStreamTag("transaction", "ev_JCIMotorBuy=1&ev_JCIMotorBuyRev=" + d.getAmount('event19'), "", "", "2246");2238 //for SiteCat-732239 d.imageTag('http://www.googleadservices.com/pagead/conversion/1049034812/?value=0&label=Qxd3CJj-0AMQvICc9AM&guid=ON&script=0');2240 }2241 if(typeof d.protocol != 'undefined' && (d.protocol == 'http:' || s.pageName == 'in:jci:contact-us')) {2242 d.downStreamTag("pageview", "", "2212", "2211", "2246");2243 }2244 } /** Shannons Tags **/2245 if(d.shouldFireAgencyTagsFor('sunshannons')) { /** Shannons Brochureware Tags **/2246 d.gRemarketing('1030106862','MFH6CKqitgQQ7t2Y6wM',window.google_tag_params,true);2247 if(s.pageName == 'in:shn:homepage') {2248 d.iframeTag('//fls.doubleclick.net/activityi;src=2339994;type=shann428;cat=shann467;ord=1;num=' + cachebuster + '?');2249 d.downStreamTag("transaction", "ev_SHHomePage=1", "", "", "2219");2250 }2251 if(s.pageName == 'in:shn:promo:goodwoodferrari') {2252 d.iframeTag('//fls.doubleclick.net/activityi;src=2339994;type=goodw213;cat=shann946;ord=1;num=' + cachebuster + '?')2253 }2254 if(s.pageName == 'in:shn:promo:goodwoodferrari:thankyou') {2255 d.iframeTag('//fls.doubleclick.net/activityi;src=2339994;type=goodw213;cat=shann434;ord=1;num=' + cachebuster + '?')2256 }2257 if(s.pageName == 'in:shn:promo:goodwoodferrari:referralthankyou') {2258 d.iframeTag('//fls.doubleclick.net/activityi;src=2339994;type=goodw213;cat=shann927;ord=1;num=' + cachebuster + '?')2259 } /** Shannons Quote Start **/2260 if(scEventExists('event8')) {2261 if(s.products.indexOf('car_') > -1 || ((typeof s.eVar48 != 'undefined') && s.eVar48.indexOf('car') > -1)) {2262 d.iframeTag('//fls.doubleclick.net/activityi;src=2339994;type=shann428;cat=carqu177;ord=1;num=' + cachebuster + '?');2263 d.downStreamTag("transaction", "ev_SHCarQuoteStart=1", "", "", "2219");2264 }2265 if(s.products.indexOf('home_') > -1 || ((typeof s.eVar48 != 'undefined') && s.eVar48.indexOf('home') > -1)) {2266 d.iframeTag('//fls.doubleclick.net/activityi;src=2339994;type=shann428;cat=homeq059;ord=1;num=' + cachebuster + '?');2267 d.downStreamTag("transaction", "ev_SHHomeQuoteStart=1", "", "", "2219");2268 }2269 if(s.products.indexOf('motorcycle_') > -1 || ((typeof s.eVar48 != 'undefined') && s.eVar48.indexOf('bike') > -1)) {2270 d.iframeTag('//fls.doubleclick.net/activityi;src=2339994;type=shann428;cat=bikeq828;ord=1;num=' + cachebuster + '?');2271 d.downStreamTag("transaction", "ev_SHBikeQuoteStart=1", "", "", "2219");2272 }2273 } /** Shannons Quote Complete **/2274 if(scEventExists('event9')) {2275 if(s.products.indexOf('car_') > -1) {2276 d.iframeTag('//fls.doubleclick.net/activityi;src=2339994;type=shann754;cat=carqu345;qty=1;cost=' + d.getAmount('event14') + ';ord=' + s.eVar22 + '?');2277 d.downStreamTag("transaction", "ev_SHCarQuoteComplete=1&ev_SHCarQuoteCompleteRev=" + d.getAmount('event14'), "", "", "2219");2278 }2279 if(s.products.indexOf('home_') > -1) {2280 d.iframeTag('//fls.doubleclick.net/activityi;src=2339994;type=shann754;cat=homeq858;qty=1;cost=' + d.getAmount('event14') + ';ord=' + s.eVar22 + '?');2281 d.downStreamTag("transaction", "ev_SHHomeQuoteComplete=1&ev_SHHomeQuoteCompleteRev=" + d.getAmount('event14'), "", "", "2219");2282 }2283 if(s.products.indexOf('motorcycle_') > -1) {2284 d.iframeTag('//fls.doubleclick.net/activityi;src=2339994;type=shann754;cat=bikeq867;qty=1;cost=' + d.getAmount('event14') + ';ord=' + s.eVar22 + '?');2285 d.downStreamTag("transaction", "ev_SHBikeQuoteComplete=1&ev_SHBikeQuoteCompleteRev=" + d.getAmount('event14'), "", "", "2219");2286 }2287 } /** Shannons Buy Start **/2288 if(scEventExists('event17')) {2289 if(s.products.indexOf('car_') > -1) {2290 d.iframeTag('//fls.doubleclick.net/activityi;src=2339994;type=shann428;cat=carbu956;ord=1;num=' + cachebuster + '?');2291 }2292 if(s.products.indexOf('home_') > -1) {2293 d.iframeTag('//fls.doubleclick.net/activityi;src=2339994;type=shann428;cat=homeb430;ord=1;num=' + cachebuster + '?');2294 }2295 if(s.products.indexOf('motorcycle_') > -1) {2296 d.iframeTag('//fls.doubleclick.net/activityi;src=2339994;type=shann428;cat=bikeb432;ord=1;num=' + cachebuster + '?');2297 }2298 } /** Shannons Buy Complete **/2299 if(scEventExists('event18')) {2300 if(s.products.indexOf('car_') > -1) {2301 d.iframeTag('//fls.doubleclick.net/activityi;src=2339994;type=shann754;cat=carbu572;qty=1;cost=' + d.getAmount('event19') + ';ord=' + s.eVar23 + '?');2302 d.imageTag('//e.insurance-email.com.au/pub/cct?_ri_=X0Gzc2X%3DWQpglLjHJlYQGoaje8FHNEo2zdwWaiyw1zdfk&_ei_=Er-BG2RYhvRVKIA781ujpcI&OrderID='+ s.eVar23 +'&ORDERTOTAL=' + d.getAmount('event19'));2303 }2304 if(s.products.indexOf('home_') > -1) {2305 d.iframeTag('//fls.doubleclick.net/activityi;src=2339994;type=shann754;cat=homeb373;qty=1;cost=' + d.getAmount('event19') + ';ord=' + s.eVar23 + '?');2306 }2307 if(s.products.indexOf('motorcycle_') > -1) {2308 d.iframeTag('//fls.doubleclick.net/activityi;src=2339994;type=shann754;cat=bikeb499;qty=1;cost=' + d.getAmount('event19') + ';ord=' + s.eVar23 + '?');2309 }2310 }2311 if(typeof d.protocol != 'undefined' && d.protocol == 'http:') {2312 d.downStreamTag("pageview", "", "2214", "2213", "2219");2313 }2314 }2315 /** Suncorp Tags **/2316 if(d.shouldFireAgencyTagsFor('sun')) { /** Suncorp Brochureware Tags **/2317 d.gRemarketing('1052146104','-tuMCODCmgQQuPPZ9QM',window.google_tag_params,true);2318 /** SEM Tags **/2319 var semTags = [2320 {2321 conversion: 1004226082,2322 pages: [2323 'sp:sun:secapp:sales:superonline:apply:application_started:employersuper_new',2324 'sp:sun:secapp:sales:superonline:apply:application_completed:employersuper_new',2325 'bk:sun:bank-accounts',2326 'bk:sun:financial-services',2327 'bk:sun:savings',2328 'bk:sun:investing',2329 'bk:sun:bank-accounts:business',2330 'bk:sun:business-banking',2331 'bk:sun:loans:business-loans:calculators-and-tools',2332 'bk:sun:loans:business-loans',2333 'bk:sun:savings:term-deposits',2334 'bk:sun:credit-cards:business-card',2335 'bk:sun:financial-services:merchant-services',2336 'bk:sun:super:sites:default:files:campaign:index2.html',2337 'bk:sun:secapp:eds:manage:dashboard',2338 'bk:sun:secapp:superonline:manage:dashboard',2339 'bk:sun:home-loans',2340 'bk:sun:home-loans:options:home-package-plus',2341 'bk:sun:home-loans:calculators-and-tools',2342 'bk:sun:home-loans:fixedrate',2343 'bk:sun:home-loans:homeinvesting',2344 'bk:sun:home-loans:calculators-and-tools:how-much-can-i-borrow',2345 'bk:sun:home-loans:calculators-and-tools:repayments',2346 'bk:sun:bank-accounts:personal-transactions',2347 'bk:sun:loans:car-loans',2348 'bk:sun:investing:margin-lending',2349 'bk:sun:investing:term-deposits',2350 'bk:sun:credit-cards:rewards:gold-card',2351 'bk:sun:credit-cards:rewards:platinum-card',2352 'sp:sun:secapp:sales:superonline:apply:account_type',2353 'sp:sun:secapp:sales:superonline:apply:application_completed:everydaysuper_new'2354 ]2355 },2356 {2357 conversion: 994343173,2358 pages: [2359 'bk:sun:credit-cards',2360 'bk:sun:credit-cards:clear-options-card',2361 'bk:sun:credit-cards:rewards',2362 'bk:sun:credit-cards:business-card',2363 'bk:sun:credit-cards:card-comparison-table',2364 'bk:sun:credit-cards:useful-forms-and-links',2365 'bk:sun:credit-cards:fees-and-charges'2366 ]2367 }];2368 for (var i = 0; i < semTags.length; i++) {2369 for (var j = 0; j < semTags[i].pages.length; j++) {2370 if (s.pageName == semTags[i].pages[j]) {2371 d.imageTag('//googleads.g.doubleclick.net/pagead/viewthroughconversion/' + semTags[i].conversion + '/?value=0&guid=ON&script=0');2372 break;2373 }2374 }2375 }2376 /** Everday Super Tags **/2377 if(s.pageName == 'sp:sun:secapp:sales:superonline:apply:application_started:employersuper_new') {2378 d.downStreamTag("transaction","ev_DirectSuperEmployerAppStart=1","","","1589","pixel.everesttech.net");2379 }2380 if(s.pageName == 'sp:sun:secapp:sales:superonline:apply:application_completed:employersuper_new') {2381 d.downStreamTag("transaction","ev_DirectSuperEmployerAppEnd=1&ev_transid=" + cachebuster,"","","1589","pixel.everesttech.net");2382 }2383 /** Suncorp Bank Tags **/2384 //term deposits confirmation page2385 if(s.pageName == 'bk:sun:investing:margin-lending:contact') {2386 d.imageTag("//pixel.everesttech.net/1589/t?ev_MarginLendingEnquiryEnd=1");2387 }2388 if(s.pageName == 'bk:sun:about:ways-to-bank:mobile-banking') {2389 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_091;cat=2014_00;ord=1;num=' + cachebuster + '?');2390 }2391 if(s.pageName == 'bk:sun:bank-accounts:personal-transactions:compare-accounts') {2392 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_-;cat=2014_---;ord=1;num=' + cachebuster + '?');2393 }2394 if(s.pageName == 'bk:sun:bank-accounts:personal-transactions:how-to-apply-online') {2395 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_-;cat=2014_--_;ord=1;num=' + cachebuster + '?');2396 }2397 if(s.pageName == 'bk:sun:bank-accounts:personal-transactions:how-to-guide') {2398 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_-;cat=2014_--;ord=1;num=' + cachebuster + '?');2399 }2400 if(s.pageName == 'bk:sun:bank-accounts:interest-rates') {2401 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_-;cat=2014_--0;ord=1;num=' + cachebuster + '?');2402 }2403 if(s.pageName == 'bk:sun:bank-accounts:personal-transactions') {2404 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_-;cat=2014_-;ord=1;num=' + cachebuster + '?');2405 }2406 if(s.pageName == 'bk:sun:savings:term-deposits:interest-rates') {2407 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_111;cat=2014_-;ord=1;num=' + cachebuster + '?');2408 }2409 if(s.pageName == 'bk:sun:savings:savings-accounts:campaign:saver') {2410 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_140;cat=2014_525;ord=1;num=' + cachebuster + '?');2411 }2412 if(s.pageName == 'bk:sun:savings:savings-accounts:campaign:online') {2413 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_140;cat=2014_689;ord=1;num=' + cachebuster + '?');2414 }2415 if(s.pageName == 'bk:sun:savings:term-deposits:campaign:great') {2416 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_140;cat=2014_196;ord=1;num=' + cachebuster + '?');2417 }2418 if(s.pageName == 'bk:sun:homeloanequity') {2419 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_091;cat=2014_079;ord=1;num=' + cachebuster + '?');2420 }2421 if(s.pageName == 'bk:sun:payitoff') {2422 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_091;cat=2014_520;ord=1;num=' + cachebuster + '?');2423 }2424 if(s.pageName == 'bk:sun:fixedrate') {2425 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_426;cat=2014_101;ord=1;num=' + cachebuster + '?');2426 }2427 if(s.pageName == 'bk:sun:homeloans') {2428 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_426;cat=2014_334;ord=1;num=' + cachebuster + '?');2429 }2430 if(s.pageName == 'bk:sun:super:sites:default:files:campaign:index2.html') {2431 d.iframeTag('//1792027.fls.doubleclick.net/activityi;src=1792027;type=sunco016;cat=every750;ord=1;num=' + cachebuster + '?');2432 }2433 if(s.pageName == 'bk:sun:homepage') {2434 d.downStreamTag("pageview","","5749","","1589","pixel.everesttech.net");2435 d.downStreamTag("pageview","","2198","2197","1589","pixel.everesttech.net");2436 d.gRemarketing('983345818','2uxDCP611wcQmtXy1AM',window.google_tag_params,true);2437 d.imageTag('//googleads.g.doubleclick.net/pagead/viewthroughconversion/983345818/?value=0&label=2uxDCP611wcQmtXy1AM&guid=ON&script=0');2438 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=SUN14;cat=Sunco0;ord=1;num=' + cachebuster + '?');2439 }2440 if(s.pageName == 'bk:sun:agribusiness') {2441 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_545;cat=2013_611;ord=1;num=' + cachebuster + '?');2442 d.downStreamTag("pageview","","5755","","1589","pixel.everesttech.net"); 2443 d.downStreamTag("pageview","","2198","2197","1589","pixel.everesttech.net");2444 d.gRemarketing('983345818','2uxDCP611wcQmtXy1AM',window.google_tag_params,true);2445 d.imageTag('//googleads.g.doubleclick.net/pagead/viewthroughconversion/983345818/?value=0&label=2uxDCP611wcQmtXy1AM&guid=ON&script=0');2446 }2447 if(s.pageName == 'bk:sun:bank-accounts') {2448 d.downStreamTag("pageview","","5750","","1589","pixel.everesttech.net");2449 d.downStreamTag("pageview","","2198","2197","1589","pixel.everesttech.net");2450 d.gRemarketing('983345818','2uxDCP611wcQmtXy1AM',window.google_tag_params,true);2451 d.imageTag('//googleads.g.doubleclick.net/pagead/viewthroughconversion/983345818/?value=0&label=2uxDCP611wcQmtXy1AM&guid=ON&script=0');2452 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_126;cat=banka644;ord=1;num=' + cachebuster + '?');2453 }2454 if(s.pageName == 'bk:sun:agribusiness:farm-management-deposit-account') {2455 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_545;cat=2013_130;ord=1;num=' + cachebuster + '?');2456 }2457 if(s.pageName == 'bk:sun:agribusiness:cash-flow-solutions') {2458 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_545;cat=2013_968;ord=1;num=' + cachebuster + '?');2459 }2460 if(s.pageName == 'bk:sun:agribusiness:loans') {2461 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_545;cat=2013_590;ord=1;num=' + cachebuster + '?');2462 }2463 if(s.pageName == 'bk:sun:agribusiness:contact') {2464 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_545;cat=2013_925;ord=1;num=' + cachebuster + '?');2465 }2466 if(s.pageName == 'bk:sun:secapp:agribusiness_enquiry:form:form_started') {2467 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_545;cat=2013_815;ord=1;num=' + cachebuster + '?');2468 d.downStreamTag("transaction","ev_SuncorpAgriEnquireStart=1","","","1589","pixel.everesttech.net");2469 }2470 if(s.pageName == 'bk:sun:secapp:agribusiness_enquiry:form:form_completed') {2471 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_545;cat=2013_612;ord=1;num=' + cachebuster + '?');2472 d.downStreamTag("transaction","ev_SuncorpAgriEnquireEnd=1","","","1589","pixel.everesttech.net");2473 }2474 if(s.pageName == 'bk:sun:secapp:termdeposit_enquiry:form:form_started') {2475 d.downStreamTag("transaction","ev_TermDepositEnqStart=1","","","1589","pixel.everesttech.net");2476 }2477 if(s.pageName == 'bk:sun:campaign:termdeposits') {2478 d.imageTag('//pixel.everesttech.net/1589/t?ev_TermDepositEnqStart=1');2479 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_999;cat=2013_234;ord=1;num=' + cachebuster + '?');2480 }2481 if(s.pageName == 'bk:sun:credit-cards') {2482 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_284;cat=2013_602;ord=1;num=' + cachebuster + '?');2483 d.downStreamTag("pageview","","5754","","1589","pixel.everesttech.net");2484 d.downStreamTag("pageview","","2198","2197","1589","pixel.everesttech.net");2485 d.gRemarketing('983345818','2uxDCP611wcQmtXy1AM',window.google_tag_params,true);2486 d.imageTag('//googleads.g.doubleclick.net/pagead/viewthroughconversion/983345818/?value=0&label=2uxDCP611wcQmtXy1AM&guid=ON&script=0');2487 }2488 if(s.pageName == 'bk:sun:credit-cards:card-comparison-table') {2489 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_284;cat=2013_988;ord=1;num=' + cachebuster + '?');2490 }2491 if(s.pageName == 'bk:sun:credit-cards:rewards:platinum-card') {2492 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_284;cat=2013_053;ord=1;num=' + cachebuster + '?');2493 }2494 if(s.pageName == 'bk:sun:credit-cards:rewards:gold-card') {2495 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_284;cat=2013_250;ord=1;num=' + cachebuster + '?');2496 }2497 if(s.pageName == 'bk:sun:credit-cards:clear-options-card') {2498 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_284;cat=2013_046;ord=1;num=' + cachebuster + '?');2499 }2500 if(s.pageName == 'bk:sun:credit-cards:business-card') {2501 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_284;cat=2013_022;ord=1;num=' + cachebuster + '?');2502 }2503 if(s.pageName == 'bk:sun:credit-cards:rewards:about') {2504 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_284;cat=2013_156;ord=1;num=' + cachebuster + '?');2505 }2506 if(s.pageName == 'bk:sun:home-loans') {2507 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_897;cat=2013_010;ord=1;num=' + cachebuster + '?');2508 }2509 if(s.pageName == 'bk:sun:home-loans:genuine-offer') {2510 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_426;cat=2014_0;ord=1;num=' + cachebuster + '?');2511 }2512 if(s.pageName == 'bk:sun:home-loans:wowfactor'){2513 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_426;cat=HomeL0;ord=1;num=' + cachebuster + '?"');2514 }2515 if(s.pageName == 'bk:sun:home-loans:apply') {2516 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_897;cat=2013_087;ord=1;num=' + cachebuster + '?');2517 }2518 if(s.pageName == 'bk:sun:secapp:homeloan_lenderappointment:form:form_started') {2519 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_897;cat=2013_362;ord=1;num=' + cachebuster + '?');2520 }2521 if(s.pageName == 'bk:sun:secapp:homeloan_lenderappointment:form:form_completed') {2522 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_897;cat=2013_358;ord=1;num=' + cachebuster + '?');2523 }2524 if(s.pageName == 'bk:sun:home-loans:choose-a-loan:how-to-guide') {2525 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_897;cat=2013_848;ord=1;num=' + cachebuster + '?');2526 }2527 if(s.pageName == 'bk:sun:home-loans:calculators-and-tools') {2528 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_897;cat=2013_888;ord=1;num=' + cachebuster + '?');2529 }2530 if(s.pageName == 'bk:sun:home-loans:calculators-and-tools:repayments') {2531 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_897;cat=2013_687;ord=1;num=' + cachebuster + '?');2532 }2533 if(s.pageName == 'bk:sun:home-loans:calculators-and-tools:mortgage-offset') {2534 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_897;cat=2013_963;ord=1;num=' + cachebuster + '?');2535 }2536 if(s.pageName == 'bk:sun:home-loans:options') {2537 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_897;cat=2013_011;ord=1;num=' + cachebuster + '?');2538 }2539 if(s.pageName == 'bk:sun:home-loans:enquiry') {2540 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=retai179;cat=enqui913;ord=1;num=' + cachebuster + '?');2541 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=OurPlace;cat=2014_00;ord=1;num=' + cachebuster + '?');2542 } else if(s.pageName == 'bk:sun:home-loans:enquiry:submit') {2543 d.imageTag("//pixel.everesttech.net/1589/t?ev_LenderAppointments=1&ev_LenderApptValue=300000");2544 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=retai179;cat=enqui764;ord=1;num=' + cachebuster + '?');2545 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=OurPlace;cat=2014_000;ord=1;num=' + cachebuster + '?');2546 }2547 if(s.pageName == 'bk:sun:home-loans:campaign:our-place'){2548 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=OurPlace;cat=2014_0;ord=1;num=' + cachebuster + '?');2549 }2550 if(s.pageName == 'bk:sun:loans:home-loans:genuine-offer'){2551 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_426;cat=2014_0;ord=1;num=' + cachebuster + '?');2552 }2553 if(s.pageName == 'bk:sun:loans' || s.pageName == 'bk:sun:loans:personal-loans' || s.pageName == 'bk:sun:loans:business-loans' || s.pageName == 'bk:sun:home-loans') {2554 d.downStreamTag("pageview","","5753","","1589","pixel.everesttech.net");2555 d.downStreamTag("pageview","","2198","2197","1589","pixel.everesttech.net");2556 d.gRemarketing('983345818','2uxDCP611wcQmtXy1AM',window.google_tag_params,true);2557 d.imageTag('//googleads.g.doubleclick.net/pagead/viewthroughconversion/983345818/?value=0&label=2uxDCP611wcQmtXy1AM&guid=ON&script=0');2558 }2559 if(s.pageName == 'bk:sun:loans:business-loans') {2560 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_356;cat=2013_665;ord=1;num=' + cachebuster + '?');2561 }2562 if(s.pageName == 'bk:sun:loans:personal-loans') {2563 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_621;cat=2013_581;ord=1;num=' + cachebuster + '?');2564 }2565 if(s.pageName == 'bk:sun:loans:personal-loans:interest-rates') {2566 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_621;cat=2013_503;ord=1;num=' + cachebuster + '?');2567 }2568 if(s.pageName == 'bk:sun:loans:personal-loans:genuine-offer') {2569 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_497;cat=Perso00;ord=1;num=' + cachebuster + '?');2570 }2571 if(s.pageName == 'bk:sun:loans:car-loans') {2572 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_621;cat=2013_968;ord=1;num=' + cachebuster + '?');2573 }2574 if(s.pageName == 'bk:sun:loans:car-loans:campaign:carloans'){2575 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_497;cat=2014_0;ord=1;num=' + cachebuster + '?');2576 }2577 if(s.pageName == 'bk:sun:savings' || s.pageName == 'bk:sun:savings:savings-accounts'){2578 d.downStreamTag("pageview","","5751","","1589","pixel.everesttech.net");2579 d.downStreamTag("pageview","","2198","2197","1589","pixel.everesttech.net");2580 d.gRemarketing('983345818','2uxDCP611wcQmtXy1AM',window.google_tag_params,true);2581 d.imageTag('//googleads.g.doubleclick.net/pagead/viewthroughconversion/983345818/?value=0&label=2uxDCP611wcQmtXy1AM&guid=ON&script=0');2582 if(s.pageName == 'bk:sun:savings') {2583 d.iframeTag('//1792027.fls.doubleclick.net/activityi;src=1792027;type=2013_772;cat=2013_738;ord=1;num=' + cachebuster + '?');2584 }2585 }2586 if(s.pageName == 'bk:sun:savings:savings-accounts:help-me-choose') {2587 d.iframeTag('//1792027.fls.doubleclick.net/activityi;src=1792027;type=2013_772;cat=2013_059;ord=1;num=' + cachebuster + '?');2588 }2589 if(s.pageName == 'bk:sun:savings:savings-accounts:eoptions') {2590 d.iframeTag('//1792027.fls.doubleclick.net/activityi;src=1792027;type=2013_772;cat=2013_054;ord=1;num=' + cachebuster + '?');2591 }2592 if(s.pageName == 'bk:sun:bank-accounts:personal-transactions:everyday-options') {2593 d.iframeTag('//1792027.fls.doubleclick.net/activityi;src=1792027;type=2013_772;cat=2013_950;ord=1;num=' + cachebuster + '?');2594 }2595 if(s.pageName == 'bk:sun:savings:term-deposits' || s.pageName == 'bk:sun:savings:term-deposits:personal' || s.pageName == 'bk:sun:savings:term-deposits:business'){2596 d.downStreamTag("pageview","","5752","","1589","pixel.everesttech.net");2597 d.downStreamTag("pageview","","2198","2197","1589","pixel.everesttech.net");2598 d.gRemarketing('983345818','2uxDCP611wcQmtXy1AM',window.google_tag_params,true);2599 d.imageTag('//googleads.g.doubleclick.net/pagead/viewthroughconversion/983345818/?value=0&label=2uxDCP611wcQmtXy1AM&guid=ON&script=0');2600 if(s.pageName == 'bk:sun:savings:term-deposits:personal') {2601 d.iframeTag('//1792027.fls.doubleclick.net/activityi;src=1792027;type=2013_999;cat=termd100;ord=1;num=' + cachebuster + '?');2602 }2603 }2604 if(s.pageName == 'bk:sun:savings:term-deposits') {2605 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_999;cat=2013_658;ord=1;num=' + cachebuster + '?');2606 }2607 if(s.pageName == 'bk:sun:savings:term-deposits:calculator') {2608 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_999;cat=2013_607;ord=1;num=' + cachebuster + '?');2609 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_111;cat=2014_--;ord=1;num=' + cachebuster + '?');2610 }2611 if(s.pageName == 'bk:sun:savings:term-deposits:enquiry') {2612 d.downStreamTag("transaction","ev_TermDepositEnqStart=1","","","1589","pixel.everesttech.net");2613 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=termd706;cat=termd443;ord=1;num=' + cachebuster + '?');2614 } else if(s.pageName == 'bk:sun:secapp:termdeposit_enquiry:form:form_completed') {2615 d.downStreamTag("transaction","ev_TermDepositEnqEnd=1","","","1589","pixel.everesttech.net");2616 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=termd373;cat=termd848;ord=1;num=' + cachebuster + '?');2617 }2618 if(s.pageName == 'bk:sun:secapp:deposits:apply:application_started:nonproductspecific') {2619 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=every293;cat=perso273;ord=1;num=' + cachebuster + '?');2620 }2621 if(s.pageName == 'bk:sun:secapp:personalloan:apply:application_started') {2622 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=perso941;cat=perso440;ord=1;num=' + cachebuster + '?');2623 } else if(s.pageName == 'bk:sun:secapp:personalloan:apply:application_completed') {2624 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=perso941;cat=perso247;ord=1;num=' + cachebuster + '?');2625 }2626 if(s.pageName == 'bk:sun:bank-accounts:personal-transactions') {2627 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_772;cat=2013_815;ord=1;num=' + cachebuster + '?');2628 }2629 if(s.pageName == 'bk:sun:bank-accounts:business-transactions:business-everyday-account') {2630 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_772;cat=2013_639;ord=1;num=' + cachebuster + '?');2631 }2632 if(s.pageName == 'bk:sun:bank-accounts:personal-transactions:everyday-basics') {2633 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_772;cat=2013_826;ord=1;num=' + cachebuster + '?');2634 }2635 if(s.pageName == 'bk:sun:sites:default:files:campaign:compareaccounts:index.html') {2636 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_772;cat=2013_431;ord=1;num=' + cachebuster + '?');2637 }2638 if(s.pageName == 'bk:sun:bank-accounts:personal-transactions') {2639 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_772;cat=2013_924;ord=1;num=' + cachebuster + '?');2640 }2641 if(s.pageName == 'in:sun:savings:savings-accounts:kids-savings-account') {2642 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_772;cat=2013_872;ord=1;num=' + cachebuster + '?');2643 }2644 if(s.pageName == 'bk:sun:bank-accounts:personal-transactions:55-plus-account') {2645 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_772;cat=2013_109;ord=1;num=' + cachebuster + '?');2646 }2647 if(s.pageName == 'bk:sun:bank-accounts:business-transactions:compare-accounts') {2648 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_772;cat=2013_300;ord=1;num=' + cachebuster + '?');2649 }2650 if(s.pageName == 'bk:sun:investing' || s.pageName == 'bk:sun:investing:margin-lending'){2651 d.downStreamTag("pageview","","5756","","1589","pixel.everesttech.net");2652 d.downStreamTag("pageview","","2198","2197","1589","pixel.everesttech.net");2653 d.gRemarketing('983345818','2uxDCP611wcQmtXy1AM',window.google_tag_params,true);2654 d.imageTag('//googleads.g.doubleclick.net/pagead/viewthroughconversion/983345818/?value=0&label=2uxDCP611wcQmtXy1AM&guid=ON&script=0');2655 }2656 if(s.pageName == 'bk:sun:investing:margin-lending') {2657 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_930;cat=2013_808;ord=1;num=' + cachebuster + '?'); 2658 }2659 if(s.pageName == 'bk:sun:investing:margin-lending:how-to-apply') {2660 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_930;cat=2013_937;ord=1;num=' + cachebuster + '?');2661 }2662 if(s.pageName == 'bk:sun:financial-services:merchant-services') {2663 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_662;cat=2013_977;ord=1;num=' + cachebuster + '?');2664 }2665 if(s.pageName == 'bk:sun:financial-services:merchant-services:enquire') {2666 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_662;cat=2013_616;ord=1;num=' + cachebuster + '?');2667 }2668 if(s.pageName == 'bk:sun:business:enquire') {2669 d.imageTag('//pixel1589.everesttech.net/1589/t?ev_SUNBizBankEnqStart=1');2670 } else if(s.pageName == 'bk:sun:business-banking:thankyou') {2671 d.imageTag('//pixel1589.everesttech.net/1589/t?ev_SUNBizBankEnqEnd=1');2672 }2673 if(s.pageName == 'bk:sun:foreign-currency') {2674 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_887;cat=2013_466;ord=1;num=' + cachebuster + '?');2675 }2676 if(s.pageName == 'bk:sun:foreign-currency:travel-money:foreign-currench-cash') {2677 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_887;cat=2013_987;ord=1;num=' + cachebuster + '?');2678 }2679 if(s.pageName == 'bk:sun:foreign-currency:travel-money:cash-passport') {2680 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2013_887;cat=2013_632;ord=1;num=' + cachebuster + '?');2681 }2682 if(s.pageName == 'bk:sun:bank-genuine') {2683 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_091;cat=2014_005;ord=1;num=' + cachebuster + '?');2684 }2685 if(s.pageName == 'bk:sun:about:ways-to-bank:internet-banking:budget-tracker') {2686 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_091;cat=2014_002;ord=1;num=' + cachebuster + '?');2687 }2688 if(s.pageName == 'bk:sun:business-banking') {2689 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_091;cat=2014_004;ord=1;num=' + cachebuster + '?');2690 }2691 if(s.pageName == 'bk:sun:campaign:suncorp-bank-native-mobile-app') {2692 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_091;cat=2014_003;ord=1;num=' + cachebuster + '?');2693 }2694 if(s.pageName == 'bk:sun:savings:savings-accounts') {2695 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_091;cat=2014_001;ord=1;num=' + cachebuster + '?');2696 }2697 if(s.pageName == 'bk:sun:genuinealternative') {2698 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_091;cat=2014_005;ord=1;num=' + cachebuster + '?');2699 }2700 if(s.pageName == 'bk:sun:loans:car-loans:genuine-offer'){2701 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_497;cat=Perso0;ord=1;num=' + cachebuster + '?');2702 }2703 /** Suncorp Insurance Tags **/2704 if(s.pageName == 'in:sun:secapp:financialplanner_enquiry:form:form_started') {2705 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=trans957;cat=trans998;ord=1;num=' + cachebuster + '?');2706 }2707 if(s.pageName == 'in:sun:secapp:financialplanner_enquiry:form:form_completed') {2708 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=trans957;cat=trans231;ord=1;num=' + cachebuster + '?');2709 }2710 if(s.pageName == 'in:sun:sites:default:files:campaign:funeralplan:index') {2711 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_731;cat=funer226;ord=1;num=' + cachebuster + '?');2712 }2713 if(s.pageName == 'in:sun:insurance:life-insurance:funeral-plan') {2714 d.facebookTag('658553810846510');2715 }2716 if(s.pageName == 'in:sun:insurance:life-insurance:free-info-pack') {2717 d.downStreamTag("transaction","ev_SuncorpLifeInfoQStart=1","3342","3341","1589","pixel.everesttech.net");2718 d.facebookTag('658553810846510');2719 }2720 if(s.pageName == 'in:sun:insurance:life-insurance:free-info-pack:thank-you') {2721 d.downStreamTag("transaction","ev_SuncorpLifeInfoQEnd=1","3344","3343","1589","pixel.everesttech.net");2722 }2723 if(s.pageName == 'in:sun:insurance') {2724 d.downStreamTag("pageview", "", "2603", "2602", "1589");2725 d.gRemarketing('959521971','',window.google_tag_params,true);2726 }2727 if(s.pageName == 'in:sun:homepage') {2728 d.downStreamTag("pageview", "", "2601", "2600", "1589");2729 d.gRemarketing('959521971','',window.google_tag_params,true);2730 d.gRemarketing('1004226082','',window.google_tag_params,true);2731 d.facebookTag('658553810846510');2732 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=2014_0;cat=2014_0;ord=1;num=' + cachebuster + '?');2733 }2734 if(s.pageName == 'in:sun:insurance:secure:readersdigestrequestaquote') {2735 d.iframeTag('//fls.doubleclick.net/activityi;src=4080583;type=Sunco0;cat=Sunco00;ord=1;num=' + cachebuster + '?');2736 }2737 /* Tags released June 2013 */2738 if(s.pageName == 'in:sun:insurance:home') {2739 d.downStreamTag("pageview","","8585","","1589");2740 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=homepi13;cat=2013_121;ord=1;num=' + cachebuster + '?');2741 }2742 if(s.pageName == 'in:sun:insurance:home-contents') {2743 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=homepi13;cat=2013_205;ord=1;num=' + cachebuster + '?');2744 }2745 if(s.pageName == 'in:sun:insurance:home-building') {2746 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=homepi13;cat=2013_478;ord=1;num=' + cachebuster + '?');2747 }2748 if(s.pageName == 'in:sun:insurance:home:contents') {2749 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=homepi13;cat=2013_956;ord=1;num=' + cachebuster + '?');2750 }2751 if(s.pageName == 'in:sun:insurance:landlord') {2752 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=homepi13;cat=2013_515;ord=1;num=' + cachebuster + '?');2753 }2754 if(s.pageName == 'in:sun:insurance:car') {2755 d.downStreamTag("pageview","","8593","","1589");2756 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=motopi13;cat=2013_940;ord=1;num=' + cachebuster + '?');2757 }2758 if(s.pageName == 'in:sun:insurance:car:comprehensive') {2759 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=motopi13;cat=2013_255;ord=1;num=' + cachebuster + '?');2760 }2761 if(s.pageName == 'in:sun:insurance:car:third-party') {2762 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=motopi13;cat=2013_229;ord=1;num=' + cachebuster + '?');2763 }2764 /**/ 2765 if(s.pageName == 'in:sun:insurance:sites:default:files:fm:campaigns:choice:index_choice_popups.htm') {2766 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=motor841;cat=motor448;ord=1;num=' + cachebuster + '?');2767 }2768 if(s.pageName == 'in:sun:insurance:campaigns:must-have-home-insurance') {2769 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=homec285;cat=homei493;ord=1;num=' + cachebuster + '?');2770 }2771 if(s.pageName == 'in:sun:insurance') {2772 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=misce517;cat=sunco948;ord=' + cachebuster + '?');2773 d.facebookTag('658553810846510');2774 }2775 if(s.pageName == 'in:sun:sites:default:files:campaign:lifeprotect:index.html') { 2776 d.facebookTag('658553810846510');2777 }2778 /* Outdated tag2779 if(s.pageName == 'in:sun:insurance:car-insurance') {2780 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=carno953;cat=carin431;ord=' + cachebuster + '?');2781 }2782 */2783 if(s.pageName == 'in:sun:insurance:car-insurance:comprehensive-car-insurance') {2784 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=carno953;cat=carin481;ord=' + cachebuster + '?');2785 }2786 if(s.pageName == 'in:sun:insurance:car-insurance:comprehensive-car-insurance-detail') {2787 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=carno953;cat=carin721;ord=' + cachebuster + '?');2788 }2789 if(s.pageName == 'in:sun:insurance:ctp') {2790 d.downStreamTag("pageview","","8601","", "1589");2791 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=carno953;cat=ctpho286;ord=' + cachebuster + '?');2792 }2793 if(s.pageName == 'in:sun:insurance:car-insurance:third-party-damage-cover') {2794 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=carno953;cat=third173;ord=' + cachebuster + '?');2795 }2796 if(s.pageName == 'in:sun:insurance:car-insurance:third-party-damage-cover-detail') {2797 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=carno953;cat=third421;ord=' + cachebuster + '?');2798 }2799 if(s.pageName == 'in:sun:insurance:car-insurance:fire-theft-third-party-damage') {2800 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=carno953;cat=firet371;ord=' + cachebuster + '?');2801 }2802 if(s.pageName == 'in:sun:insurance:car-insurance:fire-theft-third-party-damage-detail') {2803 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=carno953;cat=firet355;ord=' + cachebuster + '?');2804 }2805 if(s.pageName == 'in:sun:suncorpmotor') {2806 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=carno953;cat=safer948;ord=' + cachebuster + '?');2807 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=misce517;cat=teaml760;ord=' + cachebuster + '?');2808 }2809 if(s.pageName == 'in:sun:insurance:lowestctp:index.html') {2810 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=sunco023;cat=ctpin259;ord=' + cachebuster + '?');2811 }2812 if(s.pageName == 'in:sun:insurance:landlord:index.html') {2813 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=sunco023;cat=sunco744;ord=' + cachebuster + '?');2814 }2815 /* Outdated tag2816 if(s.pageName == 'in:sun:insurance:boat-insurance') {2817 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=boatc644;cat=boati052;ord=' + cachebuster + '?');2818 }2819 */2820 if(s.pageName == 'in:sun:insurance:boat') {2821 d.downStreamTag("pageview","","3093","3092", "1589");2822 }2823 if(s.pageName == 'in:sun:insurance:boat-insurance:comprehensive-boat-insurance') {2824 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=boatc644;cat=boati419;ord=' + cachebuster + '?');2825 }2826 if(s.pageName == 'in:sun:insurance:boat-insurance:comprehensive-boat-insurance-detail') {2827 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=boatc644;cat=boati758;ord=' + cachebuster + '?');2828 }2829 if(s.pageName == 'in:sun:insurance:boat-insurance:essential-cover') {2830 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=boatc644;cat=boati365;ord=' + cachebuster + '?');2831 }2832 if(s.pageName == 'in:sun:insurance:boat-insurance:faqs') {2833 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=boatc644;cat=boati301;ord=' + cachebuster + '?');2834 }2835 if(s.pageName == 'in:sun:insurance:motorhome-caravan-trailer') {2836 d.downStreamTag("pageview","","3089","3088","1589");2837 }2838 /* Outdated tag2839 if(s.pageName == 'in:sun:insurance:motorcycle-insurance') {2840 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=motor205;cat=motor072;ord=' + cachebuster + '?');2841 }2842 */2843 if(s.pageName == 'in:sun:insurance:motorcycle-insurance:comprehensive-motorcycle-insurance') {2844 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=motor205;cat=motor899;ord=' + cachebuster + '?');2845 }2846 if(s.pageName == 'in:sun:insurance:motorcycle-insurance:comprehensive-motorcycle-insurance-detail') {2847 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=motor205;cat=motor807;ord=' + cachebuster + '?');2848 }2849 if(s.pageName == 'in:sun:insurance:motorcycle-insurance:fire-theft-third-party-damage') {2850 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=motor205;cat=motor864;ord=' + cachebuster + '?');2851 }2852 if(s.pageName == 'in:sun:insurance:motorcycle-insurance:fire-theft-third-party-damage-detail') {2853 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=motor205;cat=motor658;ord=' + cachebuster + '?');2854 }2855 if(s.pageName == 'in:sun:insurance:motorcycle-insurance:third-party-damage-cover') {2856 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=motor205;cat=motor355;ord=' + cachebuster + '?');2857 }2858 if(s.pageName == 'in:sun:insurance:motorcycle-insurance:third-party-damage-cover-detail') {2859 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=motor205;cat=motor528;ord=' + cachebuster + '?');2860 }2861 if(s.pageName == 'in:sun:insurance:motorcycle') {2862 d.downStreamTag("pageview","","3097","3096", "1589");2863 }2864 /* Outdated tag2865 if(s.pageName == 'in:sun:insurance:home-contents-insurance') {2866 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=homec285;cat=homei719;ord=' + cachebuster + '?');2867 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=gener465;cat=conte964;ord=' + cachebuster + '?');2868 }2869 if(s.pageName == 'in:sun:insurance:home-contents-insurance') {2870 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=homec285;cat=homei719;ord=' + cachebuster + '?');2871 }2872 */ 2873 /* Outdated tag2874 if(s.pageName == 'in:sun:insurance:home-contents-insurance:home-contents') {2875 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=homec285;cat=class304;ord=' + cachebuster + '?');2876 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=homec285;cat=unlim071;ord=' + cachebuster + '?');2877 }2878 */2879 if(s.pageName == 'in:sun:insurance:home-contents-insurance:home-summary') {2880 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=homec285;cat=summa806;ord=' + cachebuster + '?');2881 }2882 /* Outdated tag2883 if(s.pageName == 'in:sun:insurance:home-contents-insurance:investor') {2884 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=homec285;cat=inves808;ord=' + cachebuster + '?');2885 }2886 */ 2887 if(s.pageName == 'in:sun:insurance:home-contents-insurance:investor-summary') {2888 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=homec285;cat=summa865;ord=' + cachebuster + '?');2889 }2890 /* Outdated tag2891 if(s.pageName == 'in:sun:insurance:home-contents-insurance:platinum') {2892 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=homec285;cat=plati910;ord=' + cachebuster + '?');2893 }2894 */2895 if(s.pageName == 'in:sun:insurance:home-contents-insurance:55up') {2896 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=homec285;cat=55uph983;ord=' + cachebuster + '?');2897 }2898 if(s.pageName == 'in:sun:insurance:home-contents-insurance:55up-summary') {2899 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=homec285;cat=summa369;ord=' + cachebuster + '?');2900 }2901 if(s.pageName == 'in:sun:insurance:life-insurance') {2902 d.downStreamTag("pageview", "", "1977", "1976", "1589");2903 d.gRemarketing('959521971','',window.google_tag_params,true);2904 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=misce517;cat=lifei356;ord=' + cachebuster + '?');2905 d.facebookTag('658553810846510');2906 d.aInclude('//maxymiser.hs.llnwd.net/o36/suncorp/js/mmcore.js');2907 }2908 if(s.pageName == 'in:sun:insurance:life-insurance:life-protect-insurance') {2909 d.iframeTag('//fls.doubleclick.net/activityi;src=3608486;type=lifep968;cat=scsun221;ord=' + cachebuster + '?');2910 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=misce517;cat=lifei959;ord=' + cachebuster + '?');2911 d.facebookTag('658553810846510');2912 d.downStreamTag("pageview", "", "3084", "", "1589");2913 d.gRemarketing('959521971','',window.google_tag_params,true);2914 }2915 if(s.pageName == 'in:sun:insurance:life-insurance:funeral-plan') {2916 d.iframeTag('//fls.doubleclick.net/activityi;src=4080583;type=Sunco0;cat=Sunco0;ord=1;num=' + cachebuster + '?');2917 d.downStreamTag("pageview", "", "3103", "", "1589");2918 d.gRemarketing('959521971','',window.google_tag_params,true);2919 }2920 if(s.pageName == 'in:sun:insurance:life-insurance:accidental-injury-insurance') {2921 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=misce517;cat=accid626;ord=' + cachebuster + '?');2922 d.facebookTag('658553810846510');2923 d.downStreamTag("pageview", "", "3105", "", "1589");2924 d.gRemarketing('959521971','',window.google_tag_params,true);2925 }2926 if(s.pageName == 'in:sun:insurance:life-insurance:accidental-death') {2927 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=misce517;cat=accid003;ord=' + cachebuster + '?');2928 d.downStreamTag("pageview", "", "3107", "3106", "1589");2929 }2930 if(s.pageName == 'in:sun:insurance:life-insurance:lifeguard') {2931 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=misce517;cat=sunco263;ord=' + cachebuster + '?');2932 }2933 if(s.pageName == 'in:sun:insurance:life-insurance:life-cover') {2934 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=misce517;cat=lifec667;ord=' + cachebuster + '?');2935 d.facebookTag('658553810846510');2936 d.aInclude('//maxymiser.hs.llnwd.net/o36/suncorp/js/mmcore.js');2937 d.downStreamTag("pageview","","8569","","1589");2938 }2939 if(s.pageName == 'in:sun:insurance:life-insurance:life-insurance-resources') {2940 d.downStreamTag("pageview","","8577","","1589");2941 d.facebookTag('658553810846510');2942 }2943 if(s.pageName == 'in:sun:insurance:life-insurance:recovery-insurance') {2944 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=misce517;cat=traum006;ord=' + cachebuster + '?');2945 }2946 if(s.pageName == 'in:sun:insurance:life-insurance:recovery-insurance:sun-recovery') {2947 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=misce517;cat=sunco436;ord=' + cachebuster + '?');2948 }2949 if(s.pageName == 'in:sun:insurance:life-insurance:recovery-protect') {2950 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=misce517;cat=recov777;ord=' + cachebuster + '?');2951 }2952 if(s.pageName == 'in:sun:insurance:life-insurance:perm-disablement') {2953 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=misce517;cat=total531;ord=' + cachebuster + '?');2954 }2955 if(s.pageName == 'in:sun:insurance:life-insurance:income-protection') {2956 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=misce517;cat=incom630;ord=' + cachebuster + '?');2957 d.aInclude('//maxymiser.hs.llnwd.net/o36/suncorp/js/mmcore.js');2958 d.downStreamTag("pageview", "", "3101", "3100", "1589");2959 d.downStreamTag("pageview", "", "4678", "4677", "1589");2960 d.gRemarketing('959521971','',window.google_tag_params,true);2961 }2962 if(s.pageName == 'in:sun:insurance:life-insurance:income-protection:business-expenses') {2963 d.downStreamTag("pageview","","8617","", "1589");2964 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=misce517;cat=incom152;ord=' + cachebuster + '?');2965 }2966 if(s.pageName == 'in:sun:insurance:transit-storage-insurance') {2967 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=misce517;cat=trans022;ord=' + cachebuster + '?');2968 }2969 if(s.pageName == 'in:sun:insurance:travel-insurance') {2970 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=misce517;cat=trave696;ord=' + cachebuster + '?');2971 d.downStreamTag("pageview", "", "3110", "3109", "1589");2972 }2973 if(s.pageName == 'in:sun:insurance:life-insurance:financial-adviser') {2974 d.downStreamTag("pageview","","8609","","1589");2975 }2976 if(s.pageName == 'bk:sun:super') {2977 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=sunco016;cat=sunco473;ord=1;num=' + cachebuster + '?');2978 }if(s.pageName == 'bk:sun:super:what-we-offer:everyday-super-account') {2979 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=sunco016;cat=sunco142;ord=1;num=' + cachebuster + '?');2980 }2981 if(s.pageName == 'bk:sun:personal') {2982 d.downStreamTag("pageview", "", "3112", "3111", "1589");2983 }2984 if(s.pageName == 'bk:sun:everyday-super') {2985 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=sunco016;cat=sunco307;ord=1;num=' + cachebuster + '?');2986 d.downStreamTag("pageview", "", "5156", "5155", "1589");2987 }2988 if(s.pageName == 'sp:sun:secapp:sales:superonline:apply:account_type') {2989 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=sunco016;cat=sunco114;ord=1;num=' + cachebuster + '?');2990 d.downStreamTag("transaction", "ev_DirectSuperApplyStart=1", "", "", "1589");2991 }2992 if(s.pageName == 'bk:sun:secapp:eds:apply:application_started:eds_super') {2993 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=sunco016;cat=sunco333;ord=1;num=' + cachebuster + '?');2994 d.downStreamTag("transaction", "ev_DirectSuperNew1About=1", "5158", "5157", "1589");2995 }2996 if(s.pageName == 'sp:sun:secapp:sales:superonline:apply:review_details:everydaysuper_new') {2997 d.downStreamTag("transaction", "ev_DirectSuperNew2Review=1", "", "", "1589");2998 }2999 if(s.pageName == 'sp:sun:secapp:sales:superonline:apply:application_completed:everydaysuper_new') {3000 d.downStreamTag("transaction", "ev_DirectSuperNew3End=1", "5160", "5159", "1589");3001 }3002 if(s.pageName == 'bk:sun:personal:superannuation') {3003 d.downStreamTag("pageview", "", "5154", "5153", "1589");3004 }3005 if(s.pageName == 'sp:sun:secapp:sales:superonline:apply:application_started:everydaysuper_withib') {3006 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=sunco016;cat=sunco318;ord=1;num=' + cachebuster + '?');3007 d.downStreamTag("transaction", "ev_DirectSuperExistingStart=1", "", "", "1589");3008 }3009 if(s.pageName == 'sp:sun:secapp:sales:superonline:apply:application_started:everydaysuper_withoutib') {3010 d.iframeTag('//fls.doubleclick.net/activityi;src=1792027;type=sunco016;cat=sunco055;ord=1;num=' + cachebuster + '?');3011 var registerBtn = document.getElementById('logOnToIB');3012 registerBtn.onclick = function(e){3013 var target = e.target? e.target: e.srcElement;3014 d.imageTag("//pixel.everesttech.net/1589/t?ev_DirectSuperExistingRegister=1");3015 setTimeout("document.location = '" + target.href + "'", 800);3016 return false;3017 }3018 }3019 /* Outdated tag3020 if(s.pageName == 'in:sun:insurance:get-a-quote') {3021 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur183;cat=insur737;ord=' + cachebuster + '?');3022 }3023 */3024 if(s.pageName == 'in:sun:insurance:ctp:multiple-policy-discounts') {3025 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=misce517;cat=multi930;ord=' + cachebuster + '?');3026 }3027 if(document.URL.indexOf('suncorp.com.au/insurance/get-a-quote?node=1921') > -1) {3028 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur183;cat=carin840;ord=' + cachebuster + '?');3029 }3030 if(document.URL.indexOf('suncorp.com.au/insurance/get-a-quote?node=1969') > -1) {3031 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur183;cat=homec111;ord=' + cachebuster + '?');3032 }3033 if(s.pageName == 'in:sun:insurance:ctp:quote') {3034 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur183;cat=ctpin329;ord=' + cachebuster + '?');3035 d.downStreamTag("transaction", "ev_SunCTPQuote=1", "", "", "1589");3036 }3037 if(s.pageName == 'in:sun:insurance:caravan-trailer-insurance') {3038 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=boatc644;cat=carav002;ord=' + cachebuster + '?');3039 d.downStreamTag("pageview", "", "3089", "3088", "1589");3040 }3041 if(s.pageName == 'in:sun:insurance:caravan-trailer-insurance:quote') {3042 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur183;cat=carav403;ord=' + cachebuster + '?');3043 }3044 if(s.pageName == 'in:sun:insurance:boat-insurance:quote') {3045 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur183;cat=boati194;ord=' + cachebuster + '?');3046 d.downStreamTag("pageview", "", "3093", "3092", "1589");3047 }3048 if(s.pageName == 'in:sun:insurance:motorcycle-insurance:quote') {3049 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur183;cat=motor008;ord=' + cachebuster + '?');3050 d.downStreamTag("pageview", "", "3097", "3096", "1589");3051 }3052 if(s.pageName == 'in:sun:insurance:transit-storage-insurance:quote') {3053 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur183;cat=trans402;ord=' + cachebuster + '?');3054 }3055 if(s.pageName == 'in:sun:insurance:familyctp:index.html') {3056 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=sunco023;cat=ctpin231;ord=' + cachebuster + '?');3057 }3058 if(s.pageName == 'in:sun:suncorpmotor:community-grant-scheme') {3059 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=misce517;cat=qpssp332;ord=' + cachebuster + '?');3060 }3061 if(s.pageName == 'in:sun:suncorpmotor:youngcare-to-drive-change') {3062 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=misce517;cat=young903;ord=' + cachebuster + '?');3063 }3064 if(document.URL.indexOf('webapps.suncorp.com.au/eGI/index.jsp') > -1) {3065 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur879;cat=sunco755;ord=' + cachebuster + '?');3066 }3067 if(document.URL.indexOf('webapps.suncorp.com.au/eGI/jsp/findQuote.jsp') > -1) {3068 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur879;cat=sunco604;ord=' + cachebuster + '?');3069 }3070 if(document.URL.indexOf('webapps.suncorp.com.au/eGI/InitiateQuote.do?riskTypeCode=VSN') > -1) {3071 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur879;cat=motor382;ord=' + cachebuster + '?');3072 }3073 if(document.URL.indexOf('webapps.suncorp.com.au/eGI/MotorPersonalDetails.do?action=next') > -1) {3074 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur879;cat=motor848;ord=' + cachebuster + '?');3075 }3076 if(document.URL.indexOf('webapps.suncorp.com.au/eGI/MotorMiscellaneousDetails.do?action=next') > -1) {3077 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur879;cat=motor418;ord=1;num=' + cachebuster + '?');3078 }3079 if(document.URL.indexOf('webapps.suncorp.com.au/eGI/MotorPolicySummary.do?action=processApplication') > -1) {3080 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur879;cat=motor846;ord=' + cachebuster + '?');3081 }3082 if(document.URL.indexOf('webapps.suncorp.com.au/eGI/payment/invoice.jsp') > -1) {3083 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur879;cat=aqgxc790;ord=' + cachebuster + '?');3084 }3085 if(document.URL.indexOf('webapps.suncorp.com.au/eGI/HomeMiscellaneousDetails.do?action=next') > -1) {3086 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur879;cat=homec054;ord=' + cachebuster + '?');3087 }3088 if(document.URL.indexOf('webapps.suncorp.com.au/eGI/InitiateQuote.do?riskTypeCode=HOM&productType=I') > -1) {3089 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur879;cat=inves690;ord=' + cachebuster + '?');3090 }3091 if(document.URL.indexOf('webapps.suncorp.com.au/eGI/HomeMiscellaneousDetails.do?action=next') > -1) {3092 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur879;cat=inves467;ord=' + cachebuster + '?');3093 }3094 if(document.URL.indexOf('webapps.suncorp.com.au/eGI/InitiateQuote.do?riskTypeCode=HOM&productType=U') > -1) {3095 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur879;cat=55uph637;ord=' + cachebuster + '?');3096 }3097 if(document.URL.indexOf('webapps.suncorp.com.au/eGI/InitiateQuote.do?riskTypeCode=HOM&productType=P') > -1) {3098 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur879;cat=plati804;ord=' + cachebuster + '?');3099 }3100 if(s.pageName == 'in:sun:insurance:carquote') {3101 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur183;cat=carin028;ord=' + cachebuster + '?');3102 }3103 if(document.URL.indexOf('floodfacts.suncorp.com.au/#/intro') > -1) {3104 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=homec285;cat=flood570;ord=' + cachebuster + '?');3105 }3106 if(document.URL.indexOf('info.suncorp.com.au/insurance/familyctp/index.html') > -1) {3107 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=sunco023;cat=ctpin231;ord=' + cachebuster + '?');3108 }3109 if(s.pageName == 'in:sun:insurance:life-insurance:life-insurance-quotes') {3110 d.downStreamTag("transaction", "ev_SUNQuotePageStart=1", "3086", "3085", "1589");3111 }3112 if(s.pageName == 'in:sun:insurance:home:contents') {3113 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=sunco023;cat=conte394;ord=1;num=' + cachebuster + '?');3114 }3115 if(s.pageName == 'in:sun:insurance:landlord') {3116 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=sunco023;cat=sunco744;ord=1;num=' + cachebuster + '?');3117 }3118 if(s.pageName == 'in:sun:insurance:ctp') {3119 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=sunco023;cat=ctpcl464;ord=1;num=' + cachebuster + '?');3120 }3121 if(s.pageName == 'in:sun:sites:default:files:campaign:familyctp:index.html') {3122 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=sunco023;cat=ctpin149;ord=1;num=' + cachebuster + '?');3123 }3124 if(s.pageName == 'in:sun:lp:CTP Switch:Switch Landing Page') {3125 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=ctpap010;cat=ctpsw448;ord=1;num=' + cachebuster + '?');3126 }3127 if(s.pageName == 'in:sun:lp:CTP Switch:Confirm Page') {3128 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=ctpap010;cat=ctpsw412;ord=1;num=' + cachebuster + '?');3129 }3130 if(s.pageName == 'in:sun:lp:CTP Switch:Thank you') {3131 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=ctpap010;cat=ctpsw654;ord=1;num=' + cachebuster + '?');3132 d.downStreamTag('transaction','ev_SunCTPSwitch=1','','','1589','piexel.everesttech.net');3133 }3134 if(s.pageName == 'in:sun:insurance:safer-roads:community-grant-scheme') {3135 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=misce517;cat=qpssp332;ord=1;num=' + cachebuster + '?');3136 }3137 if(s.pageName == 'in:sun:insurance:safer-roads:youngcare-to-drive-change') {3138 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=misce517;cat=young903;ord=1;num=' + cachebuster + '?');3139 }3140 if(s.pageName == 'in:sun:insurance:safer-roads') {3141 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=misce517;cat=teaml760;ord=1;num=' + cachebuster + '?');3142 }3143 if(s.pageName == 'in:sun:insurance:life-insurance:bill-protect'){3144 d.downStreamTag("pageview", "", "5488", "5487", "1589");3145 }3146 /** Suncorp Quote Start **/3147 if(scEventExists('event8')) {3148 if(s.products.indexOf('car') > -1 || s.products.indexOf('motor') > -1) {3149 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur879;cat=motor382;ord=1;num=' + cachebuster + '?');3150 d.downStreamTag("transaction", "ev_SunMotorInsQuoteStart=1", "", "", "1589");3151 }3152 if(s.products.indexOf('car_ctp') > -1) {3153 d.downStreamTag("transaction", "ev_SunCTPGetAQuoteStart=1", "", "", "1589");3154 }3155 if(s.products.indexOf('home') > -1) {3156 d.downStreamTag("transaction", "ev_SunHomeInsQuoteStart=1", "", "", "1589");3157 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur879;cat=homec059;ord=1;num=' + cachebuster + '?');3158 d.bazaarvoiceTags('quote_start');3159 }3160 if(s.products.indexOf('travel') > -1) {3161 d.downStreamTag("transaction", "ev_SunTvlQuoteStart=1", "", "", "1589");3162 }3163 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=custo071;cat=quote131;u1=' + s.prop3 + ';u4=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');3164 } /** Suncorp Quote Complete **/3165 if(scEventExists('event9')) {3166 if(s.products.indexOf('car') > -1 || s.products.indexOf('motor') > -1) {3167 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur879;cat=motor418;ord=1;num=' + cachebuster + '?');3168 d.downStreamTag("transaction", "ev_SunMotorInsQuoteEnd=1&ev_SunMotorInsQuoteEndValue=" + d.getAmount('event14'), "", "", "1589");3169 }3170 if(s.products.indexOf('home') > -1) {3171 d.downStreamTag("transaction", "ev_SunHomeInsQuoteEnd=1&ev_SunHomeInsQuoteEndValue=" + d.getAmount('event14'), "", "", "1589");3172 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur879;cat=homec329;ord=1;num=' + cachebuster + '?');3173 d.bazaarvoiceTags('quote_completed');3174 }3175 if(s.products.indexOf('travel') > -1) {3176 d.downStreamTag("transaction", "ev_SunTvlQuoteEnd=1&ev_SunTvlQuoteRevenue=" + d.getAmount('event14'), "", "", "1589");3177 }3178 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=custo071;cat=quote889;u1=' + s.prop3 + ';u4=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');3179 } /** Suncorp Buy Start **/3180 if(scEventExists('event17')) {3181 if(((s.products.indexOf('car_comprehensive') > -1 || s.products.indexOf('car_platinum') > -1) && s.products.indexOf('branch') < 0) || s.products.indexOf('motor') > -1) {3182 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=motor111;cat=carin250;ord=1;num=' + cachebuster + '?');3183 d.downStreamTag("transaction", "ev_SunMotorInsAppStart=1", "", "", "1589");3184 }3185 if(s.products.indexOf('car_ctp') > -1) {3186 d.downStreamTag("transaction", "ev_SunCTPFormFirst=1", "", "", "1589");3187 }3188 if(s.products.indexOf('home') > -1) {3189 d.downStreamTag("transaction", "ev_SunHomeInsAppStart=1", "", "", "1589");3190 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur172;cat=homei380;ord=1;num=' + cachebuster + '?');3191 d.bazaarvoiceTags('buy_start');3192 }3193 if(s.products.indexOf('travel') > -1) {3194 d.downStreamTag("transaction", "ev_SunTvlAppStart=1", "", "", "1589");3195 }3196 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=custo071;cat=polic702;u1=' + s.prop3 + ';u4=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');3197 } /** Suncorp Buy Complete **/3198 if(scEventExists('event18')) {3199 if (s.products.indexOf('car_') > -1){3200 d.imageTag('//e.insurance-email.com.au/pub/cct?_ri_=X0Gzc2X%3DWQpglLjHJlYQGoLyyzcWfueuEXzfvzePv8HSEf&_ei_=EgSWf0UqF264ZI3R5QCgPJs&OrderID='+ s.eVar23 +'&ORDERTOTAL=' + d.getAmount('event19'));3201 }3202 if(s.products.indexOf('car_') > -1 && s.products.indexOf('car_ctp') == -1) {3203 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=motor111;cat=carin321;ord=1;num=' + cachebuster + '?');3204 d.downStreamTag("transaction", "ev_SunMotorInsAppEnd=1&ev_SunMotorInsAppEndValue=" + d.getAmount('event19'), "", "", "1589");3205 }3206 if(s.products.indexOf('car_ctp') > -1) {3207 d.downStreamTag("transaction", "ev_SunCTPFormThankYou=1", "", "", "1589");3208 }3209 if(s.products.indexOf('home') > -1) {3210 d.imageTag('//e.insurance-email.com.au/pub/sf/ResponseForm?_ri_=X0Gzc2X%3DWQpglLjHJlYQGhwKbhr7UafuEWfDGoWy5GzcIFtCeT13cNRVXMtX%3DWQpglLjHJlYQGiPzdD8p1phO56eOnGurggmeIFtCeT13cNR&_ei_=Es4vmW8bc5Mg2ZzNx91WMb0&OrderID='+ s.eVar23 +'&ORDERTOTAL=' + d.getAmount('event19'));3211 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur172;cat=homei233;ord=' + cachebuster + '?');3212 d.downStreamTag("transaction", "ev_SunHomeInsAppEnd=1&ev_SunHomeInsAppEndValue=" + d.getAmount('event19'), "", "", "1589");3213 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=insur172;cat=homei233;ord=1;num=' + cachebuster + '?');3214 d.bazaarvoiceTags('buy_completed');3215 }3216 if(s.products.indexOf('travel') > -1) {3217 d.downStreamTag("transaction", "ev_SunTvlAppPurchase=1&ev_SunTvlAppRevenue=" + d.getAmount('event19'), "", "", "1589");3218 }3219 if( s.products.indexOf('everydaysuper_viaib') > -1){3220 d.downStreamTag("transaction","ev_DS_ExistingAppEnd_IB=1&ev_transid="+ s.eVar27,"19001","","1589","pixel.everesttech.net");3221 d.gRemarketing("1004226082","window.google_tag_params",true);3222 }3223 if( s.products.indexOf('everydaysuper_withib') > -1){3224 d.downStreamTag("transaction","ev_DS_ExistingAppEnd_IB=1&ev_transid="+ s.eVar27,"19001","","1589","pixel.everesttech.net");3225 d.gRemarketing("1004226082","window.google_tag_params",true);3226 }3227 if( s.products.indexOf('everydaysuper_withoutib') > -1){3228 d.downStreamTag("transaction","ev_DS_ExistingAppEnd_NoIB=1&ev_transid="+ s.eVar27,"19009","","1589","pixel.everesttech.net");3229 d.gRemarketing("1004226082","window.google_tag_params",true);3230 }3231 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=custo071;cat=polic404;u1=' + s.prop3 + ';u4=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');3232 }3233 if(s.pageName.indexOf('in:sun:insurance:business-insurance') < 0 && s.pageName.indexOf('in:sun:insurance') > -1 && typeof d.protocol != 'undefined' && (d.protocol == 'http:' || s.pageName == 'in:sun:insurance:contactus:email')) {3234 d.downStreamTag("pageview", "", "2609", "2608", "1589");3235 }3236 if(s.eVar61) {3237 d.iframeTag('//fls.doubleclick.net/activityi;src=848893;type=custo071;cat=visit641;u5=' + s.eVar62 + ';u1=' + s.prop3 + ';u2=' + s.eVar61 + ';u3=' + escape(document.referrer) + ';u4=' + escape(document.location.href) + ';ord=1;num=' + cachebuster + '?');3238 }3239 }3240 /** CIL Tags **/3241 if(d.shouldFireAgencyTagsFor('suncil')) { /** Just Car Brochureware Tags **/3242 d.gRemarketing('1023122950','duJzCJLOrwUQhrzu5wM',window.google_tag_params,true);3243 if(s.pageName == 'in:cil:request-a-quote') {3244 if(s.getQueryParam('sid')) {3245 d.downStreamTag("transaction", "ev_CILQuoteSubmit=1", "", "", "2340");3246 } else {3247 d.iframeTag('//fls.doubleclick.net/activityi;src=3249960;type=carav890;cat=reque811;ord=1;num=' + cachebuster + '?');3248 }3249 }3250 if(s.pageName == 'in:cil:homepage') {3251 d.imageTag('//ad.au.doubleclick.net/activity;src=3249960;type=carav890;cat=cilho622;ord=1;num=' + cachebuster + '?');3252 }3253 if(s.pageName == 'in:cil:rv-insurance') {3254 d.imageTag('//ad.doubleclick.net/activity;src=3249960;type=carav890;cat=vehic706;ord=1;num=' + cachebuster + '?');3255 }3256 if(s.pageName == 'in:cil:rv-insurance:product-disclosure-statement') {3257 d.imageTag('//ad.doubleclick.net/activity;src=3249960;type=carav890;cat=pdswi394;ord=1;num=' + cachebuster + '?');3258 }3259 if(s.pageName == 'in:cil:request-a-quote-confirmation') {3260 d.imageTag('//ad.doubleclick.net/activity;src=3249960;type=carav890;cat=reque997;ord=1;num=' + cachebuster + '?');3261 d.imageTag('//pixel.everesttech.net/2340/t?ev_C2C=1');3262 }3263 }3264 /** Terri Scheer Tags **/3265 if(d.shouldFireAgencyTagsFor('sunterri')) {3266 d.gRemarketing('1033607546','0edtCKbfjAQQ-rLu7AM',window.google_tag_params,true);3267 d.downStreamTag("pageview", "", "2216", "2215", "2257");3268 }3269 /** Bizi Production Tags **/3270 if(d.shouldFireAgencyTagsFor('sunbizi')) {3271 //Engine Start3272 if(scEventExists('event3')) {3273 d.imageTag('//www.googleadservices.com/pagead/conversion/1000421404/?value=0&label=8r3sCNTksQMQnPCE3QM&guid=ON&script=0');3274 d.downStreamTag("transaction", "ev_BiziDiscoverStart=1", "4249", "4248", "1589");3275 }3276 //Engine Complete3277 if(s.pageName == 'sg:biz2:wizard:checklist') {3278 d.imageTag('//www.googleadservices.com/pagead/conversion/1000421404/?value=0&label=gGcvCMzlsQMQnPCE3QM&guid=ON&script=0');3279 d.downStreamTag("transaction", "ev_BiziChecklistEnd=1", "4251", "4250", "1589");3280 }3281 //Email Captured3282 if(scEventExists('event5') && scEventExists('event36')) {3283 d.imageTag('//www.googleadservices.com/pagead/conversion/1000421404/?value=0&label=3UnKCMTmsQMQnPCE3QM&guid=ON&script=0');3284 d.downStreamTag("transaction", "ev_BiziEmailToSelf=1", "4257", "4256", "1589");3285 }3286 //Default Remarketing3287 if(scEventExists('event31')) {3288 d.imageTag('//googleads.g.doubleclick.net/pagead/viewthroughconversion/999635245/?value=0&label=MZfyCJPYpwMQrfLU3AM&guid=ON&script=0');3289 }3290 //Insurance Remarketing3291 if(typeof bizline !== 'undefined' && bizline.toLowerCase() == 'insurance') {3292 d.imageTag('//googleads.g.doubleclick.net/pagead/viewthroughconversion/999635245/?value=0&label=6ZMPCIvZpwMQrfLU3AM&guid=ON&script=0');3293 }3294 //Banking Remarketing3295 if(typeof bizline !== 'undefined' && bizline.toLowerCase() == 'banking') {3296 d.imageTag('//googleads.g.doubleclick.net/pagead/viewthroughconversion/999635245/?value=0&label=ywuMCPvapwMQrfLU3AM&guid=ON&script=0');3297 }3298 if(s.pageName == 'sg:biz2:home') {3299 d.downStreamTag("pageview", "", "4243", "4242", "1589");3300 }3301 if(s.pageName == 'sg:biz2:learn') {3302 d.downStreamTag("pageview", "", "4245", "4244", "1589");3303 }3304 if(s.pageName == 'sg:biz2:wizard:checklist:continue') {3305 d.downStreamTag("transaction", "ev_BiziWhereToBuy=1", "4255", "4254", "1589");3306 }3307 }3308 /** Agency AD Tags **/3309 if(d.shouldFireAgencyTagsFor('suncontent')) {3310 if(s.pageName.indexOf('in:ami:carsguide-quote') > -1) {3311 d.imageTag('//ad.doubleclick.net/ad/N3197.125981.2410002385421/B7769710.108963499;sz=1x1;ord=' + cachebuster);3312 var btnEle = document.getElementById('btn-quote');3313 if (btnEle) {3314 btnEle.href = 'https://ad.doubleclick.net/ddm/clk/282171928;108963499;y?' + btnEle.href;3315 }3316 }3317 }3318 /** CP Direct Engine Tags **/3319 if(d.shouldFireAgencyTagsFor('suncpdirect')) {3320 /* CP Direct Engine Quote Start */3321 if(scEventExists('event8')) {3322 if(s.prop36 == "Bank_of_Queensland") {3323 // home3324 if(s.products.indexOf('home') > -1){3325 d.iframeTag('//fls.doubleclick.net/activityi;src=3749740;type=Insur0;cat=Insur00-;ord=' + cachebuster + '?');3326 }3327 // motor3328 else if(s.products.indexOf('motor') > -1 || s.products.indexOf('car') > -1) {3329 d.iframeTag('//fls.doubleclick.net/activityi;src=3749740;type=Insur0;cat=Insur008;ord=' + cachebuster + '?' );3330 }3331 // travel3332 else if (s.products.indexOf('travel') > -1) {3333 d.iframeTag('//fls.doubleclick.net/activityi;src=3749740;type=Insur0;cat=Insur00B;ord=' + cachebuster + '?' );3334 }3335 }3336 }3337 /* CP Direct Engine Quote Completed */3338 if(scEventExists('event9')) {3339 if(s.prop36 == "Bank_of_Queensland"){3340 //home3341 if(s.products.indexOf('home') > -1) {3342 d.iframeTag('//fls.doubleclick.net/activityi;src=3749740;type=Insur0;cat=Insur00A;ord=1;num=' + cachebuster + '?');3343 }3344 //motor3345 else if(s.products.indexOf('motor') > -1 || s.products.indexOf('car') > -1) {3346 d.iframeTag('//fls.doubleclick.net/activityi;src=3749740;type=Insur0;cat=Insur009;ord=1;num=' + cachebuster + '?');3347 }3348 //travel3349 else if (s.products.indexOf('travel') > -1) {3350 d.iframeTag('//fls.doubleclick.net/activityi;src=3749740;type=homel778;cat=Insur0;ord=1;num=' + cachebuster + '?');3351 }3352 }3353 /** CPdirect Bankwest quote complete**/3354 if (s.prop36 == 'BankWest') {3355 if (s.products.indexOf('car')) {3356 d.mediamindTag('491952', cachebuster);3357 } else if (s.products.indexOf('home')) {3358 d.mediamindTag('491954', cachebuster);3359 }3360 }3361 }3362 /* CP Direct Engine Buy Completed */3363 if(scEventExists('event18')) {3364 if (s.prop36 == "Bank_of_Queensland"){3365 //home3366 if(s.products.indexOf('home') > -1){3367 d.iframeTag('//fls.doubleclick.net/activityi;src=3749740;type=Insur00;cat=Insur001;qty=1;cost=' + d.getAmount('event19') + ';ord=' + s.eVar23 + '?');3368 }3369 //motor3370 else if(s.products.indexOf('motor') > -1 || s.products.indexOf('car') > -1) {3371 d.iframeTag('//fls.doubleclick.net/activityi;src=3749740;type=Insur00;cat=Insur000;qty=1;cost=' + d.getAmount('event19') + ';ord=' + s.eVar23 + '?');3372 }3373 //travel3374 else if (s.products.indexOf('travel') > -1) {3375 d.iframeTag('//fls.doubleclick.net/activityi;src=3749740;type=Insur00;cat=Insur002;qty=1;cost=' + d.getAmount('event19') + ';ord=' + s.eVar23 + '?');3376 }3377 //landlord3378 else if (s.products.indexOf('landlord') > -1 || s.products.indexof('renter_contents') > -1){3379 d.iframeTag('//fls.doubleclick.net/activityi;src=3749740;type=Insur00;cat=Insur003;qty=1;cost=' + d.getAmount('event19') + ';ord=' + s.eVar23 + '?');3380 }3381 }3382 /** CPdirect Bankwest buy complete**/3383 if (s.prop36 == 'BankWest') {3384 if (s.products.indexOf('car')) {3385 d.mediamindTag('491953', cachebuster);3386 } else if (s.products.indexOf('home')) {3387 d.mediamindTag('491955', cachebuster);3388 }3389 }3390 }3391 }3392 3393 /** asteron life **/3394 if(s.pageName == 'in:ast:homepage')3395 {3396 d.downStreamTag("pageview", "", "21361", "", "1589", "pixel.everesttech.net");3397 d.gRemarketing('966322701','',window.google_tag_params,true);3398 }3399 // include the DownStream tag aSync and set DownStream trigger function as callback.3400 if(!d.downStreamLoading) {3401 d.aInclude('//www.everestjs.net/static/st.js', d.downStreamTrigger);3402 }3403 d.downStreamLoading = true;3404 } catch(e) {3405 // to avoid tag is not being triggered3406 if(!d.downStreamLoading) d.aInclude('//www.everestjs.net/static/st.js', d.downStreamTrigger);3407 d.downStreamLoading = true;3408 }3409 3410 /* Fire Datacollector for MA tag */3411 if (d.maTagFired == false) {3412 // pageview dc tags3413 d.triggerDataCollectorAdserver(false, undefined, undefined, undefined);3414 }3415 3416 // changed back to current environment3417 setting.env = tmpenv;3418};3419d.buttonTags = function(){3420 //bingle3421 d.addButtonTag('in:bin','GLOBAL', 'global-makeaclaim', 'eVar36,events', 'event20', 'in:bin:global:makeaclaim', true);3422 d.addButtonTag('in:bin','GLOBAL', 'global-login', 'eVar36,events', 'event20', 'in:bin:global:login');3423 d.addButtonTag('in:bin','GLOBAL', 'global-renewpolicy', 'eVar36,events', 'event20', 'in:bin:global:renewpolicy');3424 d.addButtonTag('in:bin','in:bin:car_insurance:homepage', 'homepage-topquote', 'eVar36,events', 'event20', 'in:bin:car_insurance:homepage:topquotebutton');3425 d.addButtonTag('in:bin','in:bin:car_insurance:homepage', 'homepage-bottomquote', 'eVar36,events', 'event20', 'in:bin:car_insurance:homepage:bottomquotebutton'); 3426 d.addButtonTag('in:bin','in:bin:car_insurance:how-you-save', 'howyousave-rightquote', 'eVar36,events', 'event20', 'in:bin:car_insurance:how-you-save:rightquotebutton');3427 d.addButtonTag('in:bin','in:bin:car_insurance:how-you-save', 'howyousave-bottomquote', 'eVar36,events', 'event20', 'in:bin:car_insurance:how-you-save:bottomquotebutton');3428 d.addButtonTag('in:bin','in:bin:car_insurance:how-you-save', 'howyousave-findoutmore', 'eVar36,events', 'event20', 'in:bin:car_insurance:how-you-save:findoutmorebutton');3429 d.addButtonTag('in:bin','in:bin:car_insurance:claims-process', 'claimsprocess-tab1claim', 'eVar36,events', 'event20', 'in:bin:car_insurance:claims-process:tab1claimbutton', true);3430 d.addButtonTag('in:bin','in:bin:car_insurance:contact-us', 'edit-submit', 'eVar36,events', 'event20', 'in:bin:car_insurance:contact-us:sendbutton', true);3431 d.addButtonTag('in:bin','in:bin:car_insurance:claims', 'call-me-submit', 'eVar36,events', 'event20', 'in:bin:car_insurance:claims:callmebutton');3432 3433 // RHS "Need to make a claim?" Block 3434 d.addButtonTag('in:bin','GLOBAL', 'rhs-claim', 'eVar36,events', 'event20', 'in:bin:global:rightclaimbutton', true);3435 d.addButtonTag('in:bin','GLOBAL', 'rhs-quote', 'eVar36,events', 'event20', 'in:bin:global:rightquotebutton');3436 // Bottom "FAQ Link" Block 3437 d.addButtonTag('in:bin','GLOBAL', 'bottom-faq-link', 'eVar36,events', 'event20', 'in:bin:global:FAQslink');3438 // FAQ - Categories3439 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-tid-8', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQcategory:Top10');3440 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-tid-1', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQcategory:Buying');3441 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-tid-2', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQcategory:Cover');3442 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-tid-4', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQcategory:Claiming');3443 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-tid-3', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQcategory: Managing');3444 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-tid-9', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQcategory: Contacting');3445 3446 // FAQ - Questions3447 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-77', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Contact');3448 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-78', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:RentalCar');3449 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-79', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Windscreen');3450 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-80', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Updatepolicy');3451 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-81', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Changesonline');3452 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-82', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Renew');3453 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-83', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Noclaimbonus');3454 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-84', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Accident');3455 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-85', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Stolen');3456 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-87', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Howmuchcover');3457 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-88', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Calculatepremium');3458 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-89', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Onlinesecurity');3459 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-90', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Paymentoptions');3460 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-92', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Covernotes');3461 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-93', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Childscar');3462 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-94', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Additionalcar');3463 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-95', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Existingdamage');3464 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-96', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:NSWCTP');3465 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-97', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Australiawide');3466 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-98', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Learnerdrivers');3467 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-99', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Towing');3468 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-100', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Pregnant');3469 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-101', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Testdrive');3470 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-102', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Personalitems');3471 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-103', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Emergencycosts');3472 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-104', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Toolsoftrade');3473 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-105', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Offroad');3474 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-106', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Businessuse');3475 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-107', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Serviced');3476 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-108', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Internationallicence');3477 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-109', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Overseas');3478 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-110', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Legalliability');3479 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-111', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Privatelyimported');3480 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-112', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Modifiedcars');3481 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-113', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Trailer');3482 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-114', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Makeaclaim');3483 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-115', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Excesses');3484 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-117', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Drivernotinsured');3485 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-118', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Badlydamaged');3486 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-119', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Choiceofrepairer');3487 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-120', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Forgottenpassword');3488 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-121', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Cancelpolicy');3489 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-122', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Swapcar');3490 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-123', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Policyholder');3491 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-124', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Generalenquiry');3492 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-125', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Contactclaim');3493 d.addButtonTag('in:bin','in:bin:car_insurance:faqs', 'faq-nid-126', 'eVar36,events', 'event20', 'in:bin:car_insurance:faqs:FAQquestion:Complaint');3494 // PDF download3495 d.addButtonTag('in:bin','in:bin:car_insurance:whats-covered', 'whatscovered-toppds', 'eVar36,events', 'event20', 'in:bin:car_insurance:whats-covered:topPDSdownload');3496 d.addButtonTag('in:bin','in:bin:car_insurance:whats-covered', 'whatscovered-bottompds', 'eVar36,events', 'event20', 'in:bin:car_insurance:whats-covered:bottomPDSdownload');3497 d.addButtonTag('in:bin','in:bin:car_insurance:product-disclosure', 'productdisclosure-pds', 'eVar36,events', 'event20', 'in:bin:car_insurance:product-disclosure:PDSdownload');3498 d.addButtonTag('in:bin','in:bin:car_insurance:product-disclosure', 'productdisclosure-premiumexcess', 'eVar36,events', 'event20', 'in:bin:car_insurance:product-disclosure:premexcessclaimsguidedownload');3499 d.addButtonTag('in:bin','in:bin:car_insurance:product-disclosure', 'productdisclosure-pds-icon', 'eVar36,events', 'event20', 'in:bin:car_insurance:product-disclosure-icon:PDSdownload');3500 d.addButtonTag('in:bin','in:bin:car_insurance:product-disclosure', 'productdisclosure-premiumexcess-icon', 'eVar36,events', 'event20', 'in:bin:car_insurance:product-disclosure-icon:premexcessclaimsguidedownload');3501 // Quick tabs3502 d.addButtonTag('in:bin','in:bin:car_insurance:claims-process', 'tab-1', 'eVar36,events', 'event20', 'in:bin:car_insurance:claims-process:tab1');3503 d.addButtonTag('in:bin','in:bin:car_insurance:claims-process', 'tab-2', 'eVar36,events', 'event20', 'in:bin:car_insurance:claims-process:tab2');3504 d.addButtonTag('in:bin','in:bin:car_insurance:claims-process', 'tab-3', 'eVar36,events', 'event20', 'in:bin:car_insurance:claims-process:tab3');3505 d.addButtonTag('in:bin','in:bin:car_insurance:claims-process', 'tab-4', 'eVar36,events', 'event20', 'in:bin:car_insurance:claims-process:tab4');3506 d.addButtonTag('in:bin','in:bin:car_insurance:claims-process', 'tab-5', 'eVar36,events', 'event20', 'in:bin:car_insurance:claims-process:tab5');3507 //aami online service3508 d.addButtonTag('in:ami','in:ami:online-services', 'quicktabs-tab-online_services-0', 'eVar36,events', 'event20', 'in:ami:online-services:quick-tab_online-services');3509 d.addButtonTag('in:ami','in:ami:online-services', 'quicktabs-tab-online_services-1', 'eVar36,events', 'event20', 'in:ami:online-services:quick-tab_payments');3510 d.addButtonTag('in:ami','in:ami:online-services', 'quicktabs-tab-online_services-2', 'eVar36,events', 'event20', 'in:ami:online-services:quick-tab_claim-online');3511 d.addButtonTag('in:ami','in:ami:online-services', 'quicktabs-tab-online_services-3', 'eVar36,events', 'event20', 'in:ami:online-services:quick-tab_my-claim-manager');3512 d.addButtonTag('in:ami','in:ami:online-services', 'exist-customer-claim-manager', 'eVar36,events', 'event20', 'in:ami:online-services:exist-customer-claim-manager', true);3513 d.addButtonTag('in:ami','in:ami:online-services', 'exist-customer-payments', 'eVar36,events', 'event20', 'in:ami:online-services:exist-customer-payments', true);3514 d.addButtonTag('in:ami','in:ami:online-services', 'exist-customer-claim-online', 'eVar36,events', 'event20', 'in:ami:online-services:exist-customer-claim-online', true);3515 d.addButtonTag('in:ami','in:ami:online-services', 'exist-customer-mcme', 'eVar36,events', 'event20', 'in:ami:online-services:exist-customer-mcme', true); 3516 3517 //aami vehicle selection3518 d.addButtonEventByClassName("in:ami:secapp:motor:quote:quote_started", "FindYourCarButton_question", "carSearchButton", "span");3519 d.addButtonEventByClassName("in:ami:secapp:motor:quick_quote:quote_started","FindYourCarButton_question", "carSearchButton", "span"); 3520 d.addButtonsTag("in:ami", "in:ami:secapp:motor:quote:quote_started", "VehicleId", "prop37,prop38,events", "event70", "Motor Model Selected");3521 d.addButtonsTag("in:ami", "in:ami:secapp:motor:quick_quote:quote_started", "VehicleId", "prop37,prop38,events", "event70", "Motor Model Selected");3522 3523 //save a quote3524 d.addButtonTag('in:sun','in:sun:secapp:motor:quote:quote_completed','emailButton','eVar22,events,products','event72','Motor Email Quote');3525 d.addButtonTag('in:sun','in:sun:secapp:home_classic:quote:quote_completed','emailButton','eVar22,events,products','event72','Home Email Quote');3526 d.addButtonTag('in:sun','in:sun:secapp:home_extras:quote:quote_completed','emailButton','eVar22,events,products','event72','Home Email Quote');3527 d.addButtonTag('in:sun','in:sun:secapp:home_advantages:quote:quote_completed','emailButton','eVar22,events,products','event72','Home Email Quote'); 3528 3529 //GIO email quote3530 d.addButtonTag('in:gio','GLOBAL','emailButton','eVar22,events,products','event72','Email Quote');3531 //self service type3532 if(scEventExists('event18') && (s.siteID == "in:sun" || s.siteID == "in:ami") && (s.products.indexOf("home_") > -1 || s.products.indexOf("car_") > -1)) {3533 d.addButtonTag(s.un, s.pageName, 'registerEmailButton', 'eVar9, events', 'event1', 'Register now');3534 }3535};3536//Loads necessary events prior to loading html page3537function addLoadEvent(func) {3538 var oldonload = window.onload;3539 if (typeof window.onload != 'function') {3540 window.onload = func;3541 } else {3542 window.onload = function() {3543 oldonload();3544 func();3545 }3546 } 3547};3548//Adds the onClick event which calls the function to fire the EF pixel to the button based on list of predefined buttons3549function __ef_button_list() {3550 var efEvents = {3551 byPageName: {3552 // full page name, original codes3553 names: ["all"],3554 buttons: ["node-317", "close_action_spanid", "submit_spanid", "enabled_submit_span_id", "edit-submit", "edit-webform-ajax-submit-1018"]3555 },3556 byPageNamePrefix: {3557 // add AAMI, Suncorp here in the future3558 names: ["in:gio:secapp:sales:motor"],3559 buttons: ["callBackButton"],3560 tag: "//pixel.everesttech.net/1485/t?ev_motorcallback=1"3561 }3562 };3563 for (var condition in efEvents) {3564 for(var j = efEvents[condition].names.length; j--;) {3565 if ((condition == "byPageName" && efEvents[condition].names[j] == "all") ||3566 (condition == "byPageNamePrefix" && s.pageName.indexOf(efEvents[condition].names[j]) > -1)){3567 attachEfButtonEvents(efEvents[condition].buttons, efEvents[condition].tag);3568 }3569 }3570 }3571};3572function attachEfButtonEvents(buttons, tag) {3573 for (var i=0; i <buttons.length; i++) {3574 if(document.getElementById(buttons[i]) != null) {3575 if (typeof tag == "undefined") {3576 document.getElementById(buttons[i]).onclick = __ef_fire_pixel;3577 } else {3578 document.getElementById(buttons[i]).onclick = function() {3579 d.imageTag(tag);3580 }3581 }3582 } 3583 }3584};3585//Fires the EF conversion pixel3586function __ef_fire_pixel(event) {3587 if(s.pageName == 'in:apa:apia:mobile:caravan-insurance'){3588 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiam061;ord=1;num=' + cachebuster + '?'); 3589 }3590 if(s.pageName == 'in:apa:apia:mobile:car-insurance') {3591 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiam439;ord=1;num=' + cachebuster + '?');3592 }3593 if(s.pageName == 'in:apa:apia:mobile:home-insurance') {3594 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiah016;ord=1;num=' + cachebuster + '?');3595 }3596 if(s.pageName == 'in:apa:apia:mobile:comprehensive-boat-insurance') {3597 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiam028;ord=1;num=' + cachebuster + '?');3598 }3599 if(s.pageName == 'in:apa:apia:mobile:travel-insurance') {3600 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiam912;ord=1;num=' + cachebuster + '?');3601 }3602 if(s.pageName == 'in:apa:apia:mobile:get-a-quote') {3603 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiam585;ord=1;num=' + cachebuster + '?');3604 }3605 if(s.pageName == 'in:apa:apia:mobile:ctp-insurance') {3606 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiam267;ord=1;num=' + cachebuster + '?');3607 }3608 if(s.pageName == 'in:apa:apia:mobile:motorhome-insurance') {3609 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiam591;ord=1;num=' + cachebuster + '?');3610 }3611 if(s.pageName == 'in:apa:apia:mobile:funeral-insurance') {3612 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiam245;ord=1;num=' + cachebuster + '?');3613 }3614 if(s.pageName == 'in:apa:apia:mobile:renew-your-policy') {3615 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiam570;ord=1;num=' + cachebuster + '?');3616 }3617 if(s.pageName == 'in:apa:apia:mobile:contact-information') {3618 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiam765;ord=1;num=' + cachebuster + '?');3619 }3620 if(s.pageName == 'in:apa:apia:mobile:how-claim') {3621 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiam019;ord=1;num=' + cachebuster + '?');3622 }3623 if(s.pageName == 'in:apa:mobile:home') {3624 d.iframeTag('//fls.doubleclick.net/activityi;src=2417670;type=apiaf561;cat=apiam302;ord=1;num=' + cachebuster + '?');3625 }3626 if(s.pageName == 'in:sun:secapp:incomeprotection:quote:quote_page') {3627 d.downStreamTag("transaction","ev_SuncorpBPReferOcc=1","5412","5411","1589","pixel.everesttech.net");3628 }3629 if(s.pageName == 'in:sun:secapp:incomeprotection:buy:billprotect_offer') {3630 d.downStreamTag("transaction","ev_SuncorpBPAccept=1","","","1589","pixel.everesttech.net");3631 }3632 if(s.pageName == 'in:sun:insurance:life-insurance:life-insurance-quotes' && scEventExists('event65')) {3633 d.downStreamTag("transaction", "ev_SUNQuotePageEnd=1", "3087", "", "1589");3634 }3635 if(s.pageName == 'in:ami:secapp:incomeprotection:quote:quote_page') {3636 d.downStreamTag("transaction", "ev_AAMIBPReferOcc=1", "5408", "5407", "1589", "pixel.everesttech.net");3637 }3638};...
kernelRemoteTests.js
Source:kernelRemoteTests.js
1describe("kernelRemoteTest", function() {2 var serviceName = '_rpc_test';3 var container = null;4 var setupEventing = function() {5 Ozone.eventing.Container.init();6 container = Ozone.eventing.Container;7 };8 var setupWidget = function(url) {9 var widgetFrameId = null;10 var widget = null;11 var iframeTag = null;12 //this is a local test so use the same hostname13 //var altHostName = window.location.hostname;14 var altHostName = Ozone.config.alternateHostName ? Ozone.config.alternateHostName : '127.0.0.1';15 var port = window.location.port != '' ? ':' + window.location.port : '';16 widget = {17 id: guid.util.guid(),18 widgetGuid: guid.util.guid(),19 url: window.location.protocol + "//" + (altHostName + port20 + url).replace(/\/{2,}/, '/')21 };22 var widgetFrameIdObj = container.generateIframeId(widget.id);23 widgetFrameId = Ozone.util.formatWindowNameData(widgetFrameIdObj);24 iframeTag = "<iframe " + container.getIframeProperties(widget.url, widget.id, widget, 'desktop', 1) + " width=\"100%\" height=\"100%\" frameborder=\"0\" scrolling=\"auto\"></iframe>";25 widget.iframeTag = iframeTag;26 return widget;27 };28 var writeContainer = function(divId) {29 var testDiv = Ext.get(divId);30 if (testDiv == null) {31 testDiv = Ext.getBody().createChild({id:divId}, null, true);32 }33 var tpl = new Ext.XTemplate(34 '<h>Kernel Remote RPC Tests</h>',35 '<div style="border: 2px solid black;">',36 '<h>Container</h>',37 '<div id="message"></div>',38 '<div id="widget_container" style="border: 2px solid black;">',39 '</div>',40 '</div>'41 );42 tpl.overwrite(testDiv, {});43 };44 var writeWidget = function(divId, iframeTag) {45 var testDiv = Ext.get("widget_container");46 var tpl = new Ext.XTemplate(47 '{divId}',48 '<div id="{divId}">',49 iframeTag,50 '</div>'51 );52 tpl.append(testDiv, {divId:divId});53 };54 it('communicates between widget1 and widget2', function() {55 setupEventing();56 var counter = 0;57 container.registerHandler(serviceName, function(msg, success) {58 Ext.get('message').dom.innerHTML += 'received message: <b>' + msg + '</b><br/>';59 expect(success).toBe(true);60 counter++;61 });62 var widget1 = setupWidget('/test/test/js-test-driver/src-test/kernel/widget1.html');63 var widget2 = setupWidget('/test/test/js-test-driver/src-test/kernel/widget2.html');64 writeContainer('testDiv');65 //mock out list widgets to know about the widgets that are to be created66 gadgets.rpc.register("LIST_WIDGETS", owfdojo.hitch(this, function () {67 var returnValue = [];68 returnValue.push({69 id: widget1.id,70 name: 'widget1'71 });72 returnValue.push({73 id: widget2.id,74 name: 'widget2'75 });76 return returnValue;77 }));78 //to avoid timing issues we'll write widget1 out after waiting 1 sec79 var waitedToWriteWidget1 = false;80 writeWidget('widget2', widget2.iframeTag);81 setTimeout(function() {82 waitedToWriteWidget1 = true;83 }, 1000);84 waitsFor(function() {85 return waitedToWriteWidget1;86 }, "Waiting 1 second before writing Widget1 out", 10000);87 //wait 1 second before writing widget188 runs(function() {89 writeWidget('widget1', widget1.iframeTag);90 });91 waitsFor(function() {92 return counter == 2;93 }, "Widget1 only sent " + counter + " messages", 10000);94 });...
ContentItem.js
Source:ContentItem.js
...30 }31 linkThumbnail() {32 return this.imageTag(this.thumbnail)33 }34 iframeTag() {35 const {iframe} = this36 if (iframe) {37 const iframeTag = document.createElement('iframe')38 iframeTag.setAttribute('src', iframe.src)39 iframeTag.setAttribute('title', this.title || '')40 iframeTag.setAttribute('allowfullscreen', 'true')41 iframeTag.setAttribute('allow', iframeAllowances())42 if (iframe.width) {43 iframeTag.style.width = `${iframe.width}px`44 }45 if (iframe.height) {46 iframeTag.style.height = `${iframe.height}px`47 }48 return iframeTag.outerHTML...
Using AI Code Generation
1var wptools = require('wptools');2var options = {3};4wptools.iframeTag('Albert Einstein', options, function(err, resp) {5 if (err) {6 console.log(err);7 } else {8 console.log(resp);9 }10});11wptools.page('Albert Einstein', options, callback);12* `page` - The page title to get data for. (required)13* `options` - An object of options. (optional)14* `redirect` - Whether to follow redirects. (default: `true`)15* `extracts` - Whether to get page extracts. (default: `true`)16* `images` - Whether to get page images. (default: `true`)17* `coordinates` - Whether to get page coordinates. (default: `true`)18* `links` - Whether to get page links. (default: `true`)19* `langlinks` - Whether to get page language links. (default: `true`)20* `pageprops` - Whether to get page properties. (default: `true`)21* `revid` - The revision ID to get data for. (default: `null`)22* `redirects` - Whether to get redirects. (default: `true`)23* `convertTitles` - Whether to convert titles to the requested language. (default: `true`)24* `normalizeTitles` - Whether to normalize titles. (default: `true`)25* `language` - The language of the page to get data for. (default: `en`)26* `redirectsLimit` - The maximum number of redirects to follow. (default: `10`)27* `extractsLimit` - The maximum number of extracts to get. (default: `1`)28* `imagesLimit` - The maximum number of images to get. (default: `10`)
Using AI Code Generation
1var wptools = require('wptools');2var wiki = wptools.page('Eiffel Tower');3wiki.get(function(err, resp) {4 console.log(wiki.iframeTag());5});6var wptools = require('wptools');7var wiki = wptools.page('Eiffel Tower');8wiki.get(function(err, resp) {9 document.write(wiki.iframeTag());10});11require_once('wptools.php');12$wiki = new wptools('Eiffel Tower');13$wiki->get();14echo $wiki->iframeTag();15import wptools16wiki = wptools.page('Eiffel Tower')17wiki.get()18print wiki.iframeTag()19wiki = Wptools.page('Eiffel Tower')20var wptools = require('wptools');21var wiki = wptools.page('Eiffel Tower');22wiki.get(function(err, resp) {23 console.log(wiki.iframeTag());24});25var wptools = require('wptools');26var wiki = wptools.page('Eiffel Tower');27wiki.get(function(err, resp) {28 document.write(wiki.iframeTag());29});30require_once('wptools.php');31$wiki = new wptools('Eiffel Tower');32$wiki->get();33echo $wiki->iframeTag();34import wptools35wiki = wptools.page('Eiffel Tower')36wiki.get()37print wiki.iframeTag()38wiki = Wptools.page('Eiffel Tower')
Using AI Code Generation
1var wpt = require('webpagetest');2var test = wpt('www.webpagetest.org', 'A.3e8a2d2e2d9b2a2f8cb0f1b1e1e1f1b1');3 if (err) {4 console.log(err);5 } else {6 console.log(data);7 test.getTestResults(data.data.testId, function(err, data) {8 if (err) {9 console.log(err);10 } else {11 console.log(data);12 }13 });14 }15});16The API is the same as the API for the [webpagetest](
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!