CleverTap / clevertap-web-sdk

CleverTap Web SDK
https://clevertap.com/
MIT License
14 stars 18 forks source link

Using Clevertap through Partytown #55

Closed abhushanaj closed 1 year ago

abhushanaj commented 2 years ago

Hi @akashvercetti. We use the clever tap as our analytics tool at our organization and recently have been trying to port all our third-party libraries through Partytown and wanted to know if you plan our adding support (docs on party town) for it as well?

Although Partytown runs with almost zero configuration, depending upon the library we are using we need to set up the correct event forwarding and proxies.

Just wanted to know if a clever tap can be used via Partytown or not?

Would love to help write docs and examples with setting it up if it's possible (since I'm not very well aware of clever tap internals) and bring it to the official list here

Plus the option to alter type of script is some config would be great so we can run it through PT.

    <Partytown
        debug
        forward={[
            'clevertap',
            'clevertap.account',
            'clevertap.clear',
            'clevertap.event.push',
            'clevertap.event.getDetails',
            'clevertap.getClevertapID',
            'clevertap.logout',
            'clevertap.notifications.push',
            'clevertap.onUserLogin.push',
            'clevertap.privacy.push',
            'clevertap.profile.push',
            'clevertap.profile.getAttribute',
            'clevertap.session.getPageCount',
            'clevertap.session.getTimeElapsed',
            'clevertap.user.getLastVisit',
            'clevertap.user.getTotalVisits'
        ]}
        resolveUrl={()=>{
        // setup reverse proxies if needed
        }}
    />
abhushanaj commented 2 years ago

@akashvercetti just wanted to sync again regarding your thoughts on this?

KambleSonam commented 1 year ago

@abhu-A-J Closing this ticket. Kindly create new issue if issue still persist.