/    Sign up×
Community /Pin to ProfileBookmark

Google Analytics without JavaScript?

Hi!

I’m new to this forums, I hope someone can help me.

I made a small webpage for a product of my company (as a landing page from a B2B website) and
the website doesn’t support any server-side code or javascript.

We currently use Google Analytics in our main website, and it works perfectly, but we want
to be able to track visits in the B2B webpage as well.

I’ve been looking on Google, and the only thing I can find is using a PHP backend code, and it
works, but it looses several information (all visits appear to be from the same country/ISP or
all impressions look as a different visit).

Anyway, I was hoping if anyone knows of a way of putting Google Analytics in a webpage without
javascript where the visits/pageviews stuff works correctly (as well as the country/ISP).

I’ve visited most of the results on google about this subject, and they all point to the same
codes that dont work correctly (and I can’t understand in the code why they dont work, since
they are just doing a file_get_contents to a file in google-analytics.com).

Any new clues? or I’m out of luck.

Greetings!!

to post a comment
Full-stack Developer

1 Comments(s)

Copy linkTweet thisAlerts:
@ak_beaterSep 16.2009 — try

[CODE]<img src="http://nojsstats.appspot.com/UA-123456/mywebsite.com" />[/CODE] check the documentation there..
×

Success!

Help @sony1024k spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.15,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...