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 Marc Messer,
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.prototype[t]=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){e[t]=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,m[t],!1);for(var r=0;r<y.length;r++)o(e,y[r],!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,p[l]);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,v[f]);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._iq[e]),r._iq[e]},e.amplitude=r}}(window,document)}();
amplitude.init("REMOVED API KEY FOR POST", { pageViewTracking: true});
Thanks tsegalla and Marc Messer, I’ve just sent this to our support team for further review.
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 Marc Messer happy to help!
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/
https://www.advancedbionutritionals.com
Sorry about the delayed response.
Hi Marc Messer Thanks for circling back. Do you need additional support?
Yeah, I have solved nothing. I’m currently in talks with sales to buy this product. But this has me dead in the water.
I tried all of this before I posted to the forum.
Thanks for following up Marc Messer I’ll make sure to loop in our support team, and tagging my colleague Esther Trapadoux as well.
Hi, I set integration between Amplitude and Appsflyer(V1) - I see that integration is active but when I'm trying to check this integration in Amplitude section “Connect AppsFlyer” on the second step I see “Listening..” and nothing happend. Does this second step show any activity only if I begin sending events from…
I want to be able to identify and track the users that are hitting a specific page (feature) that is limited by our product tiering in our multi-tenant SaaS app. Our customer businesses have their own segmented dashboard based on the subdomain of the app url (somebusiness.ourapp.com), and I have figured out how to capture…
Hi there, I'm trying to integrate the surveys for react native feature to our app. I've followed the guide and I verify the plugin is "booted" correctly (right user id and device id) but when opening a link, while the linking handlers are correctly triggered, the call to handleURL is returning false - I've verified the url…
Hey there I've been playing around for a couple of hours with the guide and analytics which fires properly on the UI but wouldn't give me any analytics. I read that there is another script that should be installed for the analytics part of things. Would anyone be able to guide me towards the potential script or some…
How do I transfer data from one amplitude account to another? It seems all the community chats about this have completely broken links. Easy to export, no way to import, very frustrating. :(