Some tags not populating
-
I recently upgraded WooCommerce to version 6.1.1 and noticed that the WooCommerce Conversion Tracking is no longer replacing some fields in a custom script.
The problem fields are {customer_first_name}, {customer_last_name}, and {customer_email}. {order_number} and {order_total} work as expected. An example of my script is below.
<script type="text/javascript"> window.rrSpace = ( rrSettingsConversion = { debug: "false", parameters: { firstname: "{customer_first_name}", lastname: "{customer_last_name}", email: "{customer_email}", externalidentifier: "{order_number}", amount: "{order_total}" } } ); (function (f, r, n, d, b, y) { b = f.createElement(r), y = f.getElementsByTagName(r)[0]; b.async = 1; b.src = n; b.id = 'RR_DIVID'; y.parentNode.insertBefore(b, y); })(document, 'script', '//example.referralrock.com/webpixel/beta/universalv03.js'); </script>
On ReferralRock these come through like this:
"ReceivingURLParams": { "firstname": "{customer_first_name}", "lastname": "{customer_last_name}", "email": "{customer_email}", "externalidentifier": "53855", "amount": "280.90" },
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Some tags not populating’ is closed to new replies.