OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – Programming Questions How can I insert a not float value on tracking event?

This topic contains 1 reply, has 1 voice, and was last updated by  Rodolfo 8 years, 1 month ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #34115

    Rodolfo
    Participant

    Oro tracking requires a float/integer to set a “value”. In order to save a custom variable (string), I created the field “userstring” using Entity Management. Now I’m trying to customize the tracking script in order to pass it into Oro.

    On my tracking.php post request, I can see the new parameter being added:
    _cvar: "{"1":["userstring","example@example.org"]}"

    So, how can I insert a not float value on tracking event?

    Thank you.

    Reference:
    http://developer.piwik.org/guides/tracking-javascript-guide#custom-variables

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #34116

    Rodolfo
    Participant

    Overriding the parameter: oro_tracking.importexport.data_converter.data.class with my own DataConverter and adding _cvar worked.

    Thanks

Viewing 1 replies (of 1 total)

The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.

Back to top