# Facebook Analytics working but Google Analytics is not?

**URL:** <https://community.auth0.com/t/facebook-analytics-working-but-google-analytics-is-not/8193>\
**Category:** Get Help\
**Tags:** google, facebook, analytics, google-analytics\
**Created:** [September 15, 2017, 3:18am UTC](https://community.auth0.com/t/facebook-analytics-working-but-google-analytics-is-not/8193 "2017-09-15T03:18:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![admin29](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@admin29](https://community.auth0.com/u/admin29)\
**Post date:** [September 15, 2017, 3:18am UTC](https://community.auth0.com/t/facebook-analytics-working-but-google-analytics-is-not/8193/1 "2017-09-15T03:18:54Z")

</div>

I have been trying to capture Auth0 events to both Google Analytics and Facebook Analytics. I have used the instructions provided here:

[https://auth0.com/docs/analytics/integrations/google-analytics](https://auth0.com/docs/analytics/integrations/google-analytics)  
[https://auth0.com/docs/analytics/integrations/facebook-analytics](https://auth0.com/docs/analytics/integrations/facebook-analytics)

I have Facebook receiving Auth0 events with no problem, but I don’t see anything on the Google Analytics side. I have provided a quick copy and paste of my HTML below.

Does anyone have a good idea on how to debug my issue? I am not sure why one works and another doesn’t My sneaking suscpicion is that there is something to do with loading order, but I can’t seem to narrow it down.

Code Example:

> <https://gist.github.com/mstraughan86/eabb4aeadb59a6d93eec978f192c9061>

---

<div class="post-metadata">

**Author:** ![chrisaronchick](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@chrisaronchick](https://community.auth0.com/u/chrisaronchick)\
**Post date:** [October 17, 2017, 11:37am UTC](https://community.auth0.com/t/facebook-analytics-working-but-google-analytics-is-not/8193/2 "2017-10-17T11:37:57Z")

</div>

I finally got mine working, and I think it’s because you need to put the Google Analytics code after the Auth0 Analytics code. Good luck!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:56am UTC](https://community.auth0.com/t/facebook-analytics-working-but-google-analytics-is-not/8193/3 "2018-03-02T05:56:30Z")

</div>


