Skip to content

Conversation

@alexs-mparticle
Copy link
Collaborator

Summary

  • Decouple's Integration Builder boilerplate from Rokt Kit

Testing Plan

  • Load Rokt Kit into a sample app and verify placements load

package.json Outdated
"name": "@mparticle/web-rokt-wsdk-kit",
"version": "0.0.2",
"main": "dist/RoktWsdk-Kit.common.js",
"description": "mParticle integration sdk for Rokt",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"description": "mParticle integration sdk for Rokt",
"description": "mParticle integration kit for Rokt",

package.json Outdated
"main": "dist/Rokt-Kit.common.js",
"files": [
"dist/RoktWsdk-Kit.common.js"
"dist/Rokt-Kit.common.js"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"dist/Rokt-Kit.common.js"
"dist/Rokt-Kit.common.js",
"dist/Rokt-Kit.iife.js"

package.json Outdated
@@ -1,26 +1,25 @@
{
"name": "@mparticle/web-rokt-wsdk-kit",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'd proposing dropping the wsdk, as this aligns with our other kits

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

src/Rokt-Kit.js Outdated
}

function register(config) {
var forwarderNameWithSuffix = [name, suffix].join('-');
Copy link
Collaborator

@rmi22186 rmi22186 Mar 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'd get rid of any information regarding suffix since suffix doesn't exist. braze is in a special category. you can pull code in this register section from anther pre-integration builder that doesn't have suffix, like amplitude

Copy link
Collaborator

@rmi22186 rmi22186 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left some fairly simple comments

@alexs-mparticle alexs-mparticle merged commit 25fa813 into development Mar 14, 2025
3 of 4 checks passed
crisryantan added a commit that referenced this pull request Mar 31, 2025
…ion-name

* development:
  feat: Add User Filtering to Kit (#9)
  fix: Add Test Framework (#11)
  feat: replace sandboxMode check with mParticle.getEnvironment() (#12)
  chore(build): Generate latest bundle [skip ci]
  fix: Reduce Rokt Kit Bundle Size (#7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants