Skip to content

url parameter in trackItemDetailLoad function is getting encoded #263

@chennareddy-konda

Description

@chennareddy-konda

Hi,

When we call trackItemDetailLoad function with values from TrackItemDetailLoadData, url value not getting encoded which is not expected.
struct TrackItemDetailLoadData {
let itemName: String
let customerID: String
let sectionName: String?
let variationID: String?
let url: String?
}

// MARK: - Track Product details
func trackItemDetailLoad(with trackItemDetailLoadData: TrackItemDetailLoadData) {
constructorIO?.trackItemDetailLoad(customerID: trackItemDetailLoadData.customerID, itemName: trackItemDetailLoadData.itemName, variationID: trackItemDetailLoadData.variationID, sectionName: trackItemDetailLoadData.sectionName, url: trackItemDetailLoadData.url)
}

Actual value passed from the app : \product\no-7-bonding-oil-pppp
value reported from the SDK: /product/no-7-bonding-oil-pppp

Image

**It's replacing backward slash with with backward slash followed by forward slash.
Can you please check this and let me know the workaround ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions