Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6778831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:18:47+00:00 2026-05-26T16:18:47+00:00

With google analytics you can track ecommerce events, http://code.google.com/apis/analytics/docs/tracking/gaTrackingEcommerce.html I was wondering if this

  • 0

With google analytics you can track ecommerce events,

http://code.google.com/apis/analytics/docs/tracking/gaTrackingEcommerce.html

I was wondering if this is a safe and dependable way of keeping track of these transactions.

The problem I see with this is that an attacker can add new events, so if this is your way of storing financial transactions, they can be changed by anyone seeing your javascript code.

Here is the scenario in which this code can be abused.

You have a client named Client C, he goes to the website and buys product P, then you store the transaction using this tool. Then an attacker goes to your website and modifies your javascript and tracks 10 other purchases, this way your data shows that Client C has bought 10 Ps, and when you invoice client C, he will be mad at you.

This way an attacker can basically attack your clients, and damage your reputation.

Am I wrong in saying this? Is there a way you could fix this? It seems to me tracking anything with Javascript can be prone to these kind of attacks, or there could be any ways of making them secure or not. I don’t know if they can be called a request forgery attack or not. What do you think?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T16:18:48+00:00Added an answer on May 26, 2026 at 4:18 pm

    Woah! I would never use analytics as an aid to invoicing a client for the exact reasons you’ve just stated! It’s great if you want to keep an eye on transactions and maybe do some reporting on those transactions, but the data should never been taking 100% literally because there are plenty of reasons why some transactions might not track, and others might be slightly wrong/duplicated. You should have a system in place that stores transactions and builds invoices from that stored securely on a server.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was wondering if you know if Google Analytics can track not just where
The Google Analytics setup instructions state: This tracking code snippet should be included in
I'm using Google Analytics to track eCommerce. The checkout page is is dynamic with
I have set up a way to track events in google analytics from my
I'm having trouble getting Google Analytics to track transactions for commerce. Here's the code
After upgrading from 1.4.2 to 1.5.1 my google analytics ecommerce tracking isnt working. Google
So Google Analytics does not have an API that we can use to get
I'm including the Google Analytics Script divided into 2 pierces of Javascript code: google-analytics.js:
Is there any Google Analytics testing/sandbox environment for testing your JS custom code before
Currently using Google Analytics as a supplement to our paid tracking software, but neither

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.