|
97 | 97 | configDefaultVendor = 'com.snowplowanalytics', |
98 | 98 |
|
99 | 99 | // The schema against which custom context arrays should be validated |
100 | | - configContextSchema = 'com.snowplowanalytics/contexts/json/1-0-0', |
| 100 | + configContextSchema = 'com.snowplowanalytics/contexts/jsonschema/1-0-0', |
101 | 101 |
|
102 | 102 | // The schema against which unstructured event envelopes should be validated |
103 | | - configUnstructEventSchema = 'com.snowplowanalytics/unstruct_event/json/1-0-0', |
| 103 | + configUnstructEventSchema = 'com.snowplowanalytics/unstruct_event/jsonschema/1-0-0', |
104 | 104 |
|
105 | 105 | // Platform defaults to web for this tracker |
106 | 106 | configPlatform = argmap.hasOwnProperty('platform') ? argmap.platform : 'web', |
|
770 | 770 | // See https://github.com/snowplow/snowplow/issues/75 |
771 | 771 | function logLink(targetUrl, elementId, elementClasses, elementTarget, context) { |
772 | 772 | var eventJson = { |
773 | | - schema: configDefaultVendor + '/link_click/json/1-0-0', |
| 773 | + schema: configDefaultVendor + '/link_click/jsonschema/1-0-0', |
774 | 774 | data: { |
775 | 775 | targetUrl: targetUrl, |
776 | 776 | elementId: elementId, |
|
1507 | 1507 | trackAdImpression: function(impressionId, costModel, cost, targetUrl, bannerId, zoneId, advertiserId, campaignId, context) { |
1508 | 1508 | trackCallback(function () { |
1509 | 1509 | var eventJson = { |
1510 | | - schema: configDefaultVendor + '/ad_impression/json/1-0-0', |
| 1510 | + schema: configDefaultVendor + '/ad_impression/jsonschema/1-0-0', |
1511 | 1511 | data: { |
1512 | 1512 | impressionId: impressionId, |
1513 | 1513 | costModel: costModel, |
|
1540 | 1540 | */ |
1541 | 1541 | trackAdClick: function(targetUrl, clickId, costModel, cost, bannerId, zoneId, impressionId, advertiserId, campaignId, context) { |
1542 | 1542 | var eventJson = { |
1543 | | - schema: configDefaultVendor + '/ad_click/json/1-0-0', |
| 1543 | + schema: configDefaultVendor + '/ad_click/jsonschema/1-0-0', |
1544 | 1544 | data: { |
1545 | 1545 | targetUrl: targetUrl, |
1546 | 1546 | clickId: clickId, |
|
1573 | 1573 | */ |
1574 | 1574 | trackAdConversion: function(conversionId, costModel, cost, category, action, property, initialValue, advertiserId, campaignId, context) { |
1575 | 1575 | var eventJson = { |
1576 | | - schema: configDefaultVendor + '/ad_conversion/json/1-0-0', |
| 1576 | + schema: configDefaultVendor + '/ad_conversion/jsonschema/1-0-0', |
1577 | 1577 | data: { |
1578 | 1578 | conversionId: conversionId, |
1579 | 1579 | costModel: costModel, |
|
0 commit comments