-
Notifications
You must be signed in to change notification settings - Fork 40
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
Unable to customize pageview eventType #596
Comments
Also, how can I configure/change the |
Hi @alex-geopro, thanks for choosing Amplitude. Afaik, the SDK doesn't support customizing event name or event property name unfortunately. |
Hi @Mercy811 it definitely does, I have it working for the pageview event name. see attached: |
Other default tracking events are not supported to change event type except pageViews. Please refer to the typings here. |
Hi @alex-geopro, although there is no direct configurations over default events, you can customize it by a enrichment plugin. Please refer to the docs and an example here. Simply rewrite the event type there if the current event is a session event or other default events you want to rename. |
Hi, as I showed there is direct configuration over the default pageview
eventType, I showed the code to do it, and a screenshot of the result, and
its mentioned in your docs.
Thanks for the suggestion on rewriting the other eventTypes which don't
have this feature (I assume)
…On Tue, Oct 3, 2023 at 3:00 PM Xinyi Ye ***@***.***> wrote:
Hi @alex-geopro <https://github.com/alex-geopro>, although there is no
direct configurations over default events, you can customize it by a
enrichment plugin. Please refer to the docs
<https://www.docs.developers.amplitude.com/data/sdk-plugins/> and an
example here
<https://www.docs.developers.amplitude.com/data/sdks/browser-2/#enrichment-plugin>.
Simply rewrite the event type there if the current event is a session event
or other default events you want to rename.
—
Reply to this email directly, view it on GitHub
<#596 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BCPOX3RWTKFRZPP6AZJGI3TX5SDITAVCNFSM6AAAAAA5QG2WX2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBVG44TGNBXGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Expected Behavior
I expected the default tracking eventType for pageviews to change from the default
[Amplitude] Page Viewed
to the value i set.Current Behavior
It stayed at the default value.
Possible Solution
Not sure.
Steps to Reproduce
See: https://www.docs.developers.amplitude.com/data/sdks/browser-2/#tracking-default-events
Initialize it like this:
Environment
The text was updated successfully, but these errors were encountered: