APIs & Integrations

IAnalytics
メンバー

Problem to had custom properties with js api

解決

Hello everyone, I need a little help.
I'm working with Matomo, and I'd like to add a user via the Hsq code. The user is being created successfully, but only the email address is being filled in when I send the contact. However, I can clearly see the other information in the request:

IAnalytics_0-1741862869026.png

I have read a lot of post and test many things but don't see what I'm doing wrong. 

0 いいね!
1件の承認済みベストアンサー
nickdeckerdevs1
解決策
トップ投稿者 | Platinum Partner
トップ投稿者 | Platinum Partner

Problem to had custom properties with js api

解決

I wonder is this is the issue 

IMG_0697.png

元の投稿で解決策を見る

0 いいね!
8件の返信
nickdeckerdevs1
トップ投稿者 | Platinum Partner
トップ投稿者 | Platinum Partner

Problem to had custom properties with js api

解決

I think you are referring to the tracking code api for hubspot, and you are looking to use an email address for the user and identify them and push that data to HubSpot. I can't actually see what your code actually says.

code: https://gist.github.com/NickDeckerDevs/5eba5b70399ffcf3830257d7695d0a2d

This results in the same output you have (well just a bit differnet based upon what we sent)

 

i:
email=demo%40ianalytics.com&firstname=sample&lastname=code

When I log into my portal in HubSpot, this is what I see, a new contact created with the name and email address I used to identify.

nickdeckerdevs1_0-1741905206207.png

 

 

IAnalytics
メンバー

Problem to had custom properties with js api

解決

Hello Thank you for your response. Have you created your account before 2021 ? Perhaps we can't do this anymore with the tracking code.

0 いいね!
IAnalytics
メンバー

Problem to had custom properties with js api

解決

Hi thank you for your response. I was not sure it was possible to add properties anymore with all the test i do. So this is my code : 

IAnalytics_0-1741941736865.png

 

I don't know why I don't have the same result than you. I try a lot of things. Double quote, simple quote. 

0 いいね!
IAnalytics
メンバー

Problem to had custom properties with js api

解決

I think I know where is a problem. I try the same configuration than you and this is what I have : 

IAnalytics_1-1741942565142.png

 

The name is also the email. I don't know why because I check the user property internal label and i have the company , firstname and lastname

0 いいね!
nickdeckerdevs1
解決策
トップ投稿者 | Platinum Partner
トップ投稿者 | Platinum Partner

Problem to had custom properties with js api

解決

I wonder is this is the issue 

IMG_0697.png

0 いいね!
IAnalytics
メンバー

Problem to had custom properties with js api

解決

Yes but when they said updated properties, if they not created before it's a creation, not an update ? 

0 いいね!
nickdeckerdevs1
トップ投稿者 | Platinum Partner
トップ投稿者 | Platinum Partner

Problem to had custom properties with js api

解決

Is it possible the name is being overwritten?

 

if you click on all the properties then look at the property history, it will show you each time when it has been updated. 

0 いいね!
Jaycee_Lewis
コミュニティーマネージャー
コミュニティーマネージャー

Problem to had custom properties with js api

解決

Hi, @IAnalytics 👋 Welcome to our community. Thanks for your post. I wasn't able to find any related posts for your question. We'll leave this open in case other community members have any suggestions for you. Additionally, you might want to try over in the Matomo forums. — Jaycee


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !
0 いいね!