Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1173983

    Undrumen
    Participant

    I have a custom thank-you page named “/takk-for-din-bestilling”. I want to track different values when different product are sold on my Woocommerce site.

    The pixel code is installed in my child theme and I have a Pixel code with the event “Purchase” in my thankyou-page within Cornerstone. The tracking works fine, but I cant set a dynamic value. I can set the price, but when customers are buying more than one iten, my data is getting wrong.

    Facebook says that Woocommerce get their total out from this code:
    {‘value’:'<?php echo $order_total ?>’}

    Shold I replace that Line instad of value?

    #1174403

    Lely
    Moderator

    Hi There,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    * When you said your data is getting wrong, are you referring to the price?

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1176421

    Undrumen
    Participant
    This reply has been marked as private.
    #1177297

    Rad
    Moderator

    Hi there,

    Thanks for writing in.

    How about this plugin https://wordpress.org/plugins/woocommerce-conversion-tracking/screenshots/

    You can add tracking code as global, or tracking code per product. Unfortunately, I’m not really familiar how tax works, the plugin author may help.

    Thanks!