Git Product home page Git Product logo

Comments (10)

utsabc avatar utsabc commented on June 30, 2024 1

Got it looking into it

from rudder-transformer.

utsabc avatar utsabc commented on June 30, 2024

Hello @kishorekumarsingh we had to make this change in order to keep flexibility of choosing casing by customers not us. In order to mitigate this issue you can use userTransformation to transform your event names to lower case before sending tot Appsflyer.
We would be happy yo help you on that regard.

Regarding the second issue. Can you please clarify what is the exact issue here?

from rudder-transformer.

kishorekumarsingh avatar kishorekumarsingh commented on June 30, 2024

Sure, So appsflyer expects eventValue to be of this format

"eventValue": 
	"{
		\"af_revenue\": \"1006\",
		\"af_content_type\": \"wallets\",
		\"af_content_id\": \"15854\",
		\"af_quantity\" :\"1\"
   }"

But I can see in the control plane that Rudder is trying to send,

"eventValue": 
"{\"properties\":
	"{
		\"af_revenue\": \"1006\",
		\"af_content_type\": \"wallets\",
		\"af_content_id\": \"15854\",
		\"af_quantity\" :\"1\"
   }"
}"

from rudder-transformer.

yashasvibajpai avatar yashasvibajpai commented on June 30, 2024

@kishorekumarsingh Can you please provide some of your event payloads for us to verify on our end?

from rudder-transformer.

kishorekumarsingh avatar kishorekumarsingh commented on June 30, 2024

Hi @yashasvibajpai , Sure

[
    {
        "eventName": "TestEvent",
        "eventType": "track",
        "payload": {
            "anonymousId": "dkhjgdkjwiufnjskwhkr",
            "context": {
                "externalId": [
                    {
                        "id": "99999999-23432432",
                        "type": "appsflyerExternalId"
                    }
                ],
                "os": {
                    "name": "android",
                    "version": "8.1.0"
                }
            },
            "event": "TestEvent",
            "messageId": "e9b620fe-9a77-4f51-8dd2-121562cf42c0",
            "originalTimestamp": "2022-09-29T03:49:01.299Z",
            "properties": {
                "Currency": "INR",
                "FailureReason": "",
                "InsertId": "",
                "IsFirstAttempt": false,
                "Mode": "UPI",
                "ProcessingTime": 18,
                "SignupTag": "D753",
                "TransactionId": "",
                "advertisement_id": "",
                "af_currency": "INR",
                "af_events_api": true,
                "af_revenue": "50",
                "android_id": "",
                "app_version": "",
                "app_version_code": 0,
                "appsFlyerId": "9999999999-09999999999",
                "currency": "INR",
                "customer_user_id": "jkscnskdqsclsdfvff",
                "deposit_amount": 50,
                "eventCurrency": "INR",
                "event_uid": "a34bbd32-6081-4fef-859b-d080bfb8202f-8841",
                "instance_id": 0,
                "ip_address": "",
                "offer_applied": false,
                "offer_id": "",
                "offer_type": "Default",
                "payment_aggregator": "Juspay",
                "payment_gateway": "GOCASHFREE",
                "payment_instrument": "Phonepe",
                "payment_status": "Complete",
                "platform": "",
                "serial_number": "",
                "status": "Complete",
                "sub_mode": "INTENT",
                "user_id": "kgtnwkjnvwlrinwv",
                "vendor_id": "",
                "widevine_id": ""
            },
            "receivedAt": "2022-09-29T03:49:01.142Z",
            "request_ip": "10.16.1.8",
            "rudderId": "20b135ee-a76c-44f6-bf0c-e9277afeba5a",
            "sentAt": "2022-09-29T03:49:01.299Z",
            "timestamp": "2022-09-29T03:48:59.155Z",
            "type": "track",
            "userId": "kgtnwkjnvwlrinwv"
        }
    }
]

This should be sufficient I believe.

from rudder-transformer.

yashasvibajpai avatar yashasvibajpai commented on June 30, 2024

Thank you for your response @kishorekumarsingh. We investigated over this and seemingly with the above payload, we are getting a stringified object and some other attributes in the eventValue. It is present as shown here :-
"{\"properties\":{\"Currency\":\"INR\",\"FailureReason\":\"\",\"InsertId\":\"\",\"IsFirstAttempt\":false,\"Mode\":\"UPI\",\"ProcessingTime\":18,\"SignupTag\":\"D753\",\"TransactionId\":\"\",\"advertisement_id\":\"\",\"af_currency\":\"INR\",\"af_events_api\":true,\"af_revenue\":\"50\",\"android_id\":\"\",\"app_version\":\"\",\"app_version_code\":0,\"appsFlyerId\":\"9999999999-09999999999\",\"currency\":\"INR\",\"customer_user_id\":\"jkscnskdqsclsdfvff\",\"deposit_amount\":50,\"eventCurrency\":\"INR\",\"event_uid\":\"a34bbd32-6081-4fef-859b-d080bfb8202f-8841\",\"instance_id\":0,\"ip_address\":\"\",\"offer_applied\":false,\"offer_id\":\"\",\"offer_type\":\"Default\",\"payment_aggregator\":\"Juspay\",\"payment_gateway\":\"GOCASHFREE\",\"payment_instrument\":\"Phonepe\",\"payment_status\":\"Complete\",\"platform\":\"\",\"serial_number\":\"\",\"status\":\"Complete\",\"sub_mode\":\"INTENT\",\"user_id\":\"kgtnwkjnvwlrinwv\",\"vendor_id\":\"\",\"widevine_id\":\"\"},\"af_currency\":\"INR\"}

We wanted to confirm how is this nested object inside eventValue being treated on Appsflyer's end. Can you do a raw export of your report and share it with us? It will be better if we can connect over a call to discuss this over. Please let us know.

from rudder-transformer.

kishorekumarsingh avatar kishorekumarsingh commented on June 30, 2024

@yashasvibajpai sorry for the late response.
We can surely get on a call to discuss this.

from rudder-transformer.

yashasvibajpai avatar yashasvibajpai commented on June 30, 2024

@kishorekumarsingh can you please share your email? We can schedule a zoom meet

from rudder-transformer.

kishorekumarsingh avatar kishorekumarsingh commented on June 30, 2024

Sure, It's [email protected]

from rudder-transformer.

devops-github-rudderstack avatar devops-github-rudderstack commented on June 30, 2024

This issue is considered to be stale. It has been open for 30 days with no further activity thus it is going to be closed in 7 days. To avoid such a case please consider removing the stale label manually or add a comment to the issue.

from rudder-transformer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.