By lulu ixixix
im trying to get analytics from a digitalocean app. i copy/pasted the code google gives me in my index.html page but i have this error : Cookie “_ga_myID” has been rejected for invalid domain. Cookie “_ga” has been rejected for invalid domain. the domain is like this : https://myapp-xxxxx.ondigitalocean.app/
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @,
I’m not sure what your APP is about but check this tutorial it says how you can add Google Analytics to a DigialOcean APP
https://www.digitalocean.com/community/tutorials/react-redux-beacon
Additionally, you can check this tutorial here, I think it will be quite useful for you:
Hello,
I would suggest adding your own custom domain name rather than the one automatically generated by the App Platform.
You can follow the steps on how to do that here:
https://docs.digitalocean.com/products/app-platform/how-to/manage-domains/
That way you will have full control over the domain name and would be able to verify it in your Google Analytics account.
If you do not have a domain name already, you can follow the steps here on how to get a free one:
Regards,
Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.