Browse Source

refactor: update event name in info_stats.sh

The commit updates the event name in the info_stats.sh file from "linuxgsm" to "pageview". This change ensures that the correct event is being tracked when sending data to the stats.linuxgsm.com API.
pull/4295/head
Daniel Gibbs 2 years ago
parent
commit
a88602b8ff
  1. 2
      lgsm/modules/info_stats.sh

2
lgsm/modules/info_stats.sh

@ -91,7 +91,7 @@ curl -X POST "https://www.google-analytics.com/mp/collect?api_secret=A-OzP02TSMW
curl -i -X POST https://stats.linuxgsm.com/api/event \ curl -i -X POST https://stats.linuxgsm.com/api/event \
-H 'User-Agent: curl' \ -H 'User-Agent: curl' \
-H 'Content-Type: application/json' \ -H 'Content-Type: application/json' \
--data "{\"name\":\"linuxgsm\", --data "{\"name\":\"pageview\",
\"url\":\"https://stats.linuxgsm.com\", \"url\":\"https://stats.linuxgsm.com\",
\"domain\":\"stats.linuxgsm.com\", \"domain\":\"stats.linuxgsm.com\",
\"cpuusedmhzroundup\": \"${cpuusedmhzroundup}MHz\", \"cpuusedmhzroundup\": \"${cpuusedmhzroundup}MHz\",

Loading…
Cancel
Save