This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title></title> | |
| <style> | |
| #padiact_overlay_div | |
| { } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript"> | |
| window.nrlskOnEvent = function(padiact) | |
| { | |
| if (padiact.type=='open') | |
| { | |
| // the code that needs to run when the PadiAct pop-up is displayed goes here | |
| // example: | |
| console.log ('PadiAct Showed Up'); | |
| // available vars: | |
| // padiact.id (padiact campaign ID) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dataLayer = [{ | |
| 'page': 'search', | |
| 'searchedKeyword': 'rc car', | |
| 'visitorType': 'high-value', | |
| 'nrDisplayedResults': '70', | |
| 'appliedFilters': [ 'price' : '<10' , 'color' : 'red' ], //applied filters | |
| 'nrAvailableFilters': '4', // number of available filters | |
| 'priceRanges': [ '0-10$' : '23' , '11$-49$' : '2' , '50$-99$' : '45' ], //pricing range of products | |
| 'searchCategory': 'boyToys', | |
| 'productReviews': [ '0 reviews' : '68' , 'positive reviews' : '0' , 'negative reviews' : '2' ] |
NewerOlder