I’ve integrated Amplitude via the Marketing Browser JS SDK on the website.
I also turned on the default tracking events.
But I can’t seem to see any data on amplitude. Meanwhile, the ingestion debugger looks fine
Any thoughts?
I’ve integrated Amplitude via the Marketing Browser JS SDK on the website.
I also turned on the default tracking events.
But I can’t seem to see any data on amplitude. Meanwhile, the ingestion debugger looks fine
Any thoughts?
Hi
It looks like the Identify calls with user properties are coming in fine, but I’m not seeing any Events get sent. If you look at the chart on the right side, the blue bars that would show “Events” are missing. While we are receiving the User Property calls, the User Property data needs an Event to attach itself to first for it to be available for queries in charts.
Can you please try double-checking the instrumentation of the default event tracking with the SDK and make sure it matches with our documentation? It may also be worth double-checking to make sure the correct API key for your project is being used.
Please let us know if you’ve already checked this and we’ll find another way to look into this with you. Thanks!
I believe it is setup correctly.
I have tried both pageViewTracking: true and defaultEvents: true
<script type="text/javascript">
!function(){"use strict";!function(e,t){var r=e.amplitude||{_q::],_iq::]};if(r.invoked)e.console&&console.error&&console.error("Amplitude snippet has been loaded.");else{var n=function(e,t){e.prototypeet]=function(){return this._q.push({name:t,args:Array.prototype.slice.call(arguments,0)}),this}},s=function(e,t,r){return function(n){e._q.push({name:t,args:Array.prototype.slice.call(r,0),resolve:n})}},o=function(e,t,r){eet]=function(){if(r)return{promise:new Promise(s(e,t,Array.prototype.slice.call(arguments)))}}},i=function(e){for(var t=0;t<m.length;t++)o(e,mmt],!1);for(var r=0;r<y.length;r++)o(e,yyr],!0)};r.invoked=!0;var a=t.createElement("script");a.type="text/javascript",a.integrity="sha384-PPfHw98myKtJkA9OdPBMQ6n8yvUaYk0EyUQccFSIQGmB05K6aAMZwvv8z50a5hT2",a.crossOrigin="anonymous",a.async=!0,a.src="https://cdn.amplitude.com/libs/marketing-analytics-browser-0.3.2-min.js.gz",a.onload=function(){e.amplitude.runQueuedFunctions||console.log(""Amplitude] Error: could not load SDK")};var c=t.getElementsByTagName("script"))0];c.parentNode.insertBefore(a,c);for(var u=function(){return this._q==],this},p=="add","append","clearAll","prepend","set","setOnce","unset","preInsert","postInsert","remove","getUserProperties"],l=0;l<p.length;l++)n(u,ppl]);r.Identify=u;for(var d=function(){return this._q==],this},v=="getEventProperties","setProductId","setQuantity","setPrice","setRevenue","setRevenueType","setEventProperties"],f=0;f<v.length;f++)n(d,vvf]);r.Revenue=d;var m=="getDeviceId","setDeviceId","getSessionId","setSessionId","getUserId","setUserId","setOptOut","setTransport","reset"],y=="init","add","remove","track","logEvent","identify","groupIdentify","setGroup","revenue","flush"];i(r),r.createInstance=function(){var e=r._iq.push({_q::]})-1;return i(r._iqqe]),r._iqqe]},e.amplitude=r}}(window,document)}();
amplitude.init("REMOVED API KEY FOR POST", {
pageViewTracking: true
});
Thanks
I also went back and took a look at the amplitude extension. It looks like the config settings might be getting pushed to the optional user id.
I’ve tested both
amplitude.init("REMOVED API KEY FOR POST", ‘’, {
defaultEvents: true
});
amplitude.init("REMOVED API KEY FOR POST", null, {
defaultEvents: true
});
But no such luck.
Hello
Would you be so kind as to sharing a link to where the SDK has been implemented, please?
Hi there! Have you tried using the User Lookup feature in Amplitude to see if any events are being captured? If not, I would recommend trying that. Additionally, make sure you have cleared your cache and cookies and that your browser is up-to-date. If none of these solutions work, feel free to reach out with your URL, Org ID, Project ID, and email address for the Amplitude Org so we can take a closer look.
Ref:
https://www.docs.developers.amplitude.com/data/debugger/
Hello
Would you be so kind as to sharing a link to where the SDK has been implemented, please?
https://www.advancedbionutritionals.com
Sorry about the delayed response.
Hi
Yeah, I have solved nothing. I’m currently in talks with sales to buy this product. But this has me dead in the water.
Hi there! Have you tried using the User Lookup feature in Amplitude to see if any events are being captured? If not, I would recommend trying that. Additionally, make sure you have cleared your cache and cookies and that your browser is up-to-date. If none of these solutions work, feel free to reach out with your URL, Org ID, Project ID, and email address for the Amplitude Org so we can take a closer look.
Ref:
I tried all of this before I posted to the forum.
Thanks for following up
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. You can also create a Guest account below!
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. Want to sign up as a guest? Create a Community account.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.