Skip to main content

I’m currently implementing Amplitude into my project using the Ampli CLI and have gotten to a point where everything should be set up and ready to emit metrics. However, when I called one of the methods to emit a metric I don’t see any data on the Amplitude Data site for my project.

 

For example, if I have a metric called “Page Viewed” and in my code I run the method ampli.pageViewed(params), after running that method I check on the Amplitude Data website and see that nothing has changed.

 

In addition, when I try to log the event I get the following CORS message if that relates to this problem:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.amplitude.com/. (Reason: CORS request did not succeed). Status code: (null).

 

Any help would be appreciated!

Thanks for reaching out here @gsw1. I wanted to make sure that this post is on your radar as it might help. Keep us posted as you make progress! 

 


Thanks for the reply! I was able to figure it out on this thread:
 

 


Reply