-
Notifications
You must be signed in to change notification settings - Fork 57
feat(integration): add Pinterest _epik click ID capture #1126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jciafardone
wants to merge
5
commits into
mParticle:development
Choose a base branch
from
jciafardone:patch-1
base: development
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+125
−1
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add Pinterest _epik parameter mapping to integrationMappingExternal. - Maps _epik to Pinterest.click_id custom flag - Supports capture from URL query params, cookies, and localStorage - Follows standard priority: query params > localStorage > cookies - Outputs to CUSTOM_FLAGS (same as other click ID integrations) Reference: https://help.pinterest.com/en/business/article/add-event-codes Testing: - Verified extraction from URL, cookie, and localStorage sources - Confirmed priority resolution works correctly - Validated custom flag mapping to Pinterest.click_id
a790359 to
0ba2d13
Compare
905641c to
b16bdd2
Compare
Co-authored-by: Alex S <49695018+alexs-mparticle@users.noreply.github.com>
- Add epik parameter mapping in addition to _epik - Both epik and _epik map to Pinterest.click_id custom flag - Support capture from query params, cookies, and localStorage - Add comprehensive tests for both parameter variants - Reference: https://developers.pinterest.com/docs/track-conversions/track-conversions-in-the-api/
|
Member
|
@jciafardone - looks like @alexs-mparticle 's comment here still hasn't been updated- 2dfa771#r2607709893 is his docs link correct? If so, please update. |
Member
|
@jciafardone there's also some conflicts now, can you resolve, commit, and force push to this branch? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



Add Pinterest _epik parameter mapping to integrationMappingExternal.
_epikparameter mapping to capture Pinterest click IDsPinterest.click_idin custom flagsReference: https://help.pinterest.com/en/business/article/add-event-codes
Testing:
Background
_epikparameter to be captured and sent asPinterest.click_idcustom flag for Pinterest Conversions API (CAPI) integrationWhat Has Changed
_epikparameter mapping tointegrationMappingExternalinintegrationCapture.ts_epiktoPinterest.click_idcustom flagCUSTOM_FLAGS(consistent with other click ID integrations likegclid,fbclid,ttclid)fbclidwhich requires formatting)Screenshots/Video
Checklist
Additional Notes
Pinterest.click_idReference Issue (For employees only. Ignore if you are an outside contributor)