FROM CACHE - en_header

New Adwords Script HELP!

New Member
1 0 0


I am attempting to install the new adwords script but the tutorial uses something with var and does not look anything like what Google is telling me to install. Any ideas on how to edit this code to include the transaction-specific values and transaction ids? 

<!-- Event snippet for Purchase/Sale conversion page -->
  gtag('event', 'conversion', {
      'send_to': (Removed my code)
      'value': 1.0,
      'currency': 'USD',
      'transaction_id': ''

The old script looks like this: 

<!-- Google Code for new_code Conversion Page -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 1234567890;
var google_conversion_language = "en";
var google_conversion_format = "1";
var google_conversion_color = "ffffff";
var google_conversion_label = "Wk66CJYKwABCg6zc6wM";
var google_conversion_value = 1;
/* ]]> */
<script type="text/javascript" src="//">
<div style="display:inline;">

<img height="1" width="1" style="border-style:none;" alt="" src="//;label=&amp;guid=ON&amp;script=0"/>


Replies 0 (0)