Viewing 1 replies (of 1 total)
  • it’s probably minor, but this will also fail in google analytics due to default for number_format outputting the thousand separator as comma which GA will interpret as a period. 1,234.56 will get interpreted as 1.23:
    number_format( $Purchase->total, 2 )

    Google analytics would prefer:
    number_format( $Purchase->total, 2, '.', '')

    who is using this to make thousand dollar purchases, probably not many, but still.

Viewing 1 replies (of 1 total)
  • The topic ‘code error’ is closed to new replies.