Skip to main content

Google Analytics script is missing

Comments

3 comments

  • Adi Mizrahi

    Hi Iheanacho Amarachi Sharon
    We don’t have an example for Nuxt specifically, but the most likely reasons for a failure are either including the video player before the analytics code or using the player without including the Google Analytics code.
    Did you trying following the code example in the following link:
    https://cloudinary.github.io/cloudinary-video-player/analytics.html
    It shows an example of how to use Google Analytics with the Video Player
    Let me know if you need any further assistance
    Regards
    Adi

    0
  • Iheanacho Amarachi Sharon

    Hey Adi,

    I added the script tag in the head section of my code before adding the player, also when i tried to used the google analytics package i still get the error, the error only goes when i remove the 

     analytics: {

              events: [

                'play',

                'pause',

                'ended'

      ]
    }
    feature but i need that feature to track events like play, pause, stop
    0
  • Raz Ziv

    Hey Iheanacho Amarachi Sharon,

    Can you please open a direct ticket via  https://support.cloudinary.com/hc/en-us/requests/new and give us access to the page you test this on so that we can take a deeper look into the page code?

    0

Post is closed for comments.