PageSourceSearch

https://pause-please.com/js/google_adwords_trace.js?1642398196

js pause-please.com collected 2026-10-08 12:09:15 UTC 1,638 bytes, 58 lines download raw bytes

1var GOOGLE_ADWORDS_TRACE = function(){
2	var use_npay_count = false;
3	var payment_trace_id = '';
4	var Completepayment = function(trace_id, total_price, currency, order_no){
5		gtag('event', 'conversion', {
6			'send_to': trace_id,
7			'value': total_price,
8			'currency': currency,
9			'transaction_id': order_no
10		});
11	};
12	var EtcTrace = function(trace_id){ // 결제 완료 외 액션은 형식이 같고 전환 ID 만 다름
13		gtag('event', 'conversion', {
14			'send_to' : trace_id
15		});
16	};
17
18	var setUseNpayCount = function(flag,trace_id){
19		use_npay_count = (flag === true);
20		if(trace_id != '') payment_trace_id = trace_id;
21	};
22
23	var addNpayOrder = function(order_data){
24		if(!use_npay_count) return false;
25		if(typeof order_data == 'undefined') return false;
26		if(typeof order_data['list'] == 'undefined') return false;
27		if(payment_trace_id == '') return false;
28
29		var np_ga_data = {'order_no' : '', 'total_price' : 0};
30		for(var i = 0; i < order_data['list'].length; i++){
31			if(np_ga_data['order_no'] == ''){
32				np_ga_data['order_no'] = order_data['list'][i]['order_no'];
33			}
34		}
35		np_ga_data['total_price'] = order_data['total_price'];
36		Completepayment(payment_trace_id,String(np_ga_data['total_price']),'KRW',np_ga_data['order_no']);
37	};
38
39	return {
40		"Completepayment" : function(trace_id, total_price, currency, order_no){
41			Completepayment(trace_id, total_price, currency, order_no);
42		},
43		"EtcTrace" : function(trace_id){
44			EtcTrace(trace_id);
45		},
46		"setUseNpayCount" : function(flag,trace_id){
47			setUseNpayCount(flag,trace_id);
48		},
49		"addNpayOrder" : function(order_data){
50			addNpayOrder(order_data);
51		}
52	}
53}();
54
55
56
57
58

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.